Skip to content

About

A local debate room for writers and AI roles.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Face to Face

Face to Face is a local web app for writers who want to test ideas through a small room of AI roles. It behaves like a lightweight group chat: you can speak as yourself, ask a configured AI role to respond, speak on behalf of a role, and edit earlier messages so later model calls use the revised conversation history.

Features

  • Chat-style room with user and AI role messages.
  • Three default roles: skeptic, editor, and Socratic questioner.
  • Per-role configuration for persona prompt, avatar color, API base URL, API key, model name, and enabled state.
  • OpenAI-compatible Chat Completions proxy through a local Next.js API route.
  • Streaming model responses.
  • Editable message history.
  • Browser localStorage persistence for roles, API keys, selected role, and current chat.

Requirements

  • Node.js 20 or newer.
  • An OpenAI-compatible model provider API key.

Getting Started

Install dependencies:

npm install

Start the development server:

npm run dev

Open http://localhost:3000.

In settings, fill in an API key for each AI role you want to use. The default API base URL is https://api.deepseek.com, and the default model is deepseek-v4-pro.

Scripts

npm run dev
npm run build
npm run start
npm run lint

Privacy

Role configuration, API keys, selected role, and chat history are stored in the current browser's localStorage. The local API route receives the selected role's API key only to forward the current request to the configured model provider; the app does not write API keys to disk.

License

MIT

About

A local debate room for writers and AI roles.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages