electric-sheep Svelte Themes

Electric Sheep

Voight-Kampff meets ChatGPT. Interview an android and make your verdict.

Does ChatGPT dream of electric sheep?

Voight-Kampff meets ChatGPT. A game where you interview an android and make your verdict on whether or not they are dangerous.

Inspired by Philip K. Dick's novel Do Androids Dream of Electric Sheep? and the board game Inhuman Condition.

Play It Now

Development

  • Copy .devcontainer/.env.example to .devcontainer/.env and provide an OpenAI API key
  • Open vscode dev container
  • cargo run
  • cd site && npm run watch to rebuild static site

Database Migration / Seeding

  • diesel migration run or diesel migration redo

To run the migration to fly.io

  • Proxy to the db using fly proxy 5432 -a electric-sheep-db
  • Run the command migration command from inside the dev container: env DATABASE_URL=postgres://electric_sheep:<password>@host.docker.internal:5432/electric_sheep diesel migration run

Schema

  • Regenerate with diesel print-schema > src/schema.rs

Images

Avatars are generated with Stable Diffusion prompt android, portrait, simple shapes, vector art, cyberpunk, blade runner, papers please, cultist simulator.

Top categories

Loading Svelte Themes