Management UI for px0, the Open Source Prompt Infrastructure.
px0 console is a Next.js web app that connects to the px0 Go API. It lets you create and version prompts, organize them into collections, and manage API keys without touching any application code.
Make sure you have Node.js 22+ installed. The console communicates with the px0 Go server, which you should start first (see px0/README.md).
First, install dependencies:
npm installStart the dev server:
npm run devThe site will be available at http://localhost:3001. The dev server runs on port 3001 to avoid conflicting with Grafana, which the px0 stack starts on port 3000. The dev server supports hot reload, so changes to components and styles reflect instantly.
| Variable | Default | Description |
|---|---|---|
NEXT_PUBLIC_API_URL |
http://localhost:8000 |
Base URL of the px0 Go API |
npm run buildOutput is written to .next/. Preview the production build locally with:
npm run startsrc/
app/ # Next.js App Router (pages, layouts, auth/dashboard routes)
components/ # Shared UI components (auth, layout, ui primitives)
contexts/ # React Contexts (AuthContext for session state)
lib/ # Shared utilities (typed fetch wrapper, types, class mergers)
- Next.js 15 - React framework (App Router, TypeScript)
- Tailwind CSS v3 - utility-first CSS framework
- Lucide React - icon library
src/lib/api.ts- typed fetch wrapper around the px0 Go API
This project is licensed under the MIT License.