Self-hosting guide

Run Anspectra locally.

The control plane uses Next.js, PostgreSQL, ClickHouse, Redis, and BullMQ. Official-Web samples are collected by a local Camoufox runner with persistent provider profiles.

Requirements

  • macOS or Windows
  • Node.js 20 or newer and pnpm 10
  • Docker Desktop
  • Python 3.12 for the pinned Camoufox runtime

Install

git clone https://github.com/MYZ8088/anspectra.git
cd anspectra
cp .env.example .env
pnpm install
pnpm camoufox:setup
pnpm camoufox:doctor
pnpm local:background

Open http://localhost:3000, create a workspace, and connect the providers you want to measure.

Model configuration

Structured analysis accepts an OpenAI-compatible endpoint. Configure it at the deployment level:

LLM_BASE_URL=https://your-endpoint.example/v1
LLM_API_KEY=your-key
LLM_MODEL=your-model-name

The configured model analyses captured answers. It is never used as a substitute for official-Web samples.

Provider sessions

Connect Providers opens a visible browser for login. Formal collection uses the same persistent profile, creates a fresh conversation for every prompt, and stores cookies only on the collector machine.