Ghosted.exe is a Gen-Z style AI-powered reply probability calculator for decoding whether a conversation is likely to get a reply, a response, or a full emotional disappear-a-rama.
- Accepts conversation context from a short form interface.
- Scores the likelihood of a reply with a generated result card.
- Provides a shareable image export and local history behavior.
- Stores only anonymous analytics when PostgreSQL is configured.
- Next.js App Router
- React + TypeScript
- Tailwind CSS
- shadcn-style local UI components
- Framer Motion
- Next.js API routes
- Prisma ORM + PostgreSQL analytics
- Ollama/OpenAI-compatible inference endpoint
- Node.js 20+
- npm
- An Ollama-compatible API host, or a public/fallback inference route
npm install
cp .env.example .env
npm run prisma:generate
npm run devOpen the app at http://localhost:3000.
Copy .env.example to .env and fill the variables.
OLLAMA_BASE_URL="https://ollama.h4sib.pro/v1"
OLLAMA_MODEL="qwen2.5:7b"
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ghosted?schema=public"DATABASE_URL is optional for local UI testing. If it is omitted, Ghosted.exe can still analyze conversation inputs and skip analytics writes.
A Prisma schema is present for optional anonymous analytics writes.
npm run prisma:migrateThe database stores these fields only:
ghostScorereplyProbability- selected input options
- source (
ollamaorfallback) - timestamp
The database never stores conversation text or account records.
/— landing page/analyze— calculator experience/result— result display and local history/api/analyze— Ollama-backed analyze API/api/analytics— aggregate analytics API
npm run typecheck
npm run lint
npm run build
npm run prisma:generate
npm run prisma:migrateThis repository is compatible with Vercel's Next.js hosting model. The Vercel adapter is not special-cased in code, so standard Next.js App Router builds can be deployed directly after seeding environment variables.
The UI does not send conversation content to analytics. The only persisted result data outside the browser is the analytics payload defined in the Prisma schema.
Please read CONTRIBUTING.md before opening an issue or pull request.
Please follow the standards in CODE_OF_CONDUCT.md.
This project is licensed under the MIT License. See LICENSE.