npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

milhouse

v1.0.4

Published

Milhouse Van Houten - Local CLI + web UI for running autonomous Codex AI agent loops

Downloads

29

Readme

Milhouse Van Houten

Milhouse

milhouse on npm

Milhouse Van Houten is a chad pair programmer that provides a lightweight web UI for running Codex threads, starting with a quick planning phase and iterating through builds until the job is done. Inspired by a Ralph Wiggum-style autonomous loop, Milhouse focuses on simplicity, approachability, and making experimentation fun and easy to modify.

This repository contains the bare-bones version of Milhouse. It represents the core foundation, with many new features, experiments, and feedback loops currently in the pipeline.

Features

  • Web UI for managing Codex runs
  • Ralph Wiggum-style autonomous loop system: plan once, then iterate builds until done
  • Live logs via Server-Sent Events (SSE)
  • Session history with status tracking
  • Cross-platform folder picker (Windows, macOS, Linux)

Prerequisites

  • Node.js 18+
  • CODEX_API_KEY set in your environment (optional if your Codex CLI is already authenticated)

Install

npm install -g milhouse

Quick Start

  1. Authenticate Codex (either works):

    • Set CODEX_API_KEY, or
    • Use local Codex auth if your Codex CLI is already authenticated.

    Example (PowerShell):

    $env:CODEX_API_KEY="..."
  2. Launch the UI:

milhouse ui

Usage

Start the Web UI:

milhouse ui

This opens a local web panel at http://127.0.0.1:4173 (falls back to a free port if busy).

CLI Options

milhouse ui [OPTIONS]

Options:
  --host <ip>           Server host (default: 127.0.0.1)
  --port <n>, -p <n>    Server port (default: 4173)
  --workdir <path>, -w  Working directory for Codex (default: current directory)
  --state-dir <path>    State/logs directory (default: OS user data directory)
  --no-open             Don't auto-open browser
  --help, -h            Show help

Note: the UI's folder picker is best-effort. If it fails, you can always paste a path into the Workdir field.

Examples

# Start with default settings
milhouse ui

# Specify a project directory
milhouse ui --workdir /path/to/project

# Use a custom port
milhouse ui --port 8080

# Don't auto-open browser
milhouse ui --no-open

How It Works

  1. Plan Phase: Enter a goal in the Web UI. Milhouse generates an IMPLEMENTATION_PLAN.md with prioritized tasks.
  2. Build Loop: Milhouse iteratively executes tasks from the plan, updating progress after each iteration.
  3. Completion: When all tasks are done, the plan is marked STATUS: DONE and the loop exits.

Web UI Features

  • Hero Status: Shows current run status and thread ID
  • Controls: Start/stop runs, set goals and max iterations
  • Live Logs: Real-time log streaming with auto-scroll
  • Artifacts: View plan output, build logs, and implementation plan
  • Sessions: History of all runs with status, timestamps, and durations

Development

# Clone the repository
git clone https://github.com/ordinalOS/Milhouse-Van-Houten.git
cd Milhouse-Van-Houten

# Install dependencies
npm install

# Run in development mode
npm run dev -- ui

# Build for production
npm run build

# Run built version
npm run ui

Environment Variables

  • CODEX_API_KEY: OpenAI Codex API key (optional if using local Codex auth)
  • MILHOUSE_STATE_DIR: Override default state directory
  • MILHOUSE_DEFAULT_WORKDIR: Override default working directory

(Legacy env vars MILLHOUSE_STATE_DIR / MILLHOUSE_DEFAULT_WORKDIR are still supported.)

How to Contribute

Thank you for considering contributing to Milhouse! This repository is intentionally open-ended, and we welcome contributions of all kinds — including bug fixes, enhancements, documentation improvements, new loops, unconventional experiments, and wild ideas.

If you have something you want to try, this is the place to do it. Fork the repository, explore freely, and open a pull request when you’re ready. No idea is a bad idea. Creativity encouraged.

MIT License — see LICENSE for details.