Skip to content

nkpz/ghostpad2

Repository files navigation

Ghostpad

An OpenAI API compatible text generation frontend with a powerful tools API.

Quick Start

On Mac or Linux, you will need to install Python and Node (Recommended instructions: https://chatgpt.com/s/t_68ba0bb0203c8191ac1c26a4ce4eb395).

On Windows, the start script will install these automatically if they aren't present.

Simply run:

./start.sh

or on Windows:

start.cmd

This will automatically:

  • Install uv (via pip if not available)
  • Create a virtual environment
  • Install Python dependencies
  • Build the React frontend (if needed)
  • Start the server at http://127.0.0.1:8000

Architecture

  • FastAPI Backend: Serves API routes under /api/ prefix
  • React Frontend: Built with Vite, served from root route
  • Single Server: FastAPI serves both API and static files

Demos

System Prompt Construction

sys_prompt_edit.mp4

Prompt Editing

Kapture.2025-09-04.at.23.09.05.mp4

Web Browser Simulator Tool

Kapture.2025-09-04.at.21.19.59.mp4

Private Messages Tool

Kapture.2025-09-04.at.22.21.58.mp4

Combat Tool: Fighting The Assistant

Kapture.2025-09-04.at.21.30.43.mp4

Combat Tool: Fighting A Spawned Enemy

Kapture.2025-09-04.at.21.26.53.mp4

About

A frontend to turn an OpenAI server into a stateful interactive experience

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published