A game where you have to convince AI to get into debt, or have to convince AI to put you out of debt.
  • Python 50.9%
  • Jinja 48%
  • Dockerfile 1.1%
Find a file
csd4ni3l f0e7134842
All checks were successful
ci / build (push) Successful in 4m18s
Maybe tags are correct now?
2026-06-06 16:00:54 +02:00
.forgejo/workflows Maybe tags are correct now? 2026-06-06 16:00:54 +02:00
templates Add boostrap icons css. make achievements icons look better 2025-10-05 13:41:57 +02:00
.dockerignore Fix CREDITS to be actual credits to this and not another project 2025-10-04 19:09:37 +02:00
.env.example Add login/register system and database and also offensive mode. 2025-10-02 19:04:45 +02:00
.gitignore Add login/register system and database and also offensive mode. 2025-10-02 19:04:45 +02:00
.python-version Basic working version with only Hackclub AI support, starting UI and offensive mode(convince to get into debt) 2025-10-02 16:38:12 +02:00
app.py fix XSS 2025-10-24 18:05:42 +02:00
constants.py Fix defensive prompt to say it must write around the user input even if it's stupid 2025-10-05 10:09:16 +02:00
CREDITS remove rate limit, add $ to debt amount info in profile page 2025-10-04 20:00:54 +02:00
docker-compose.yml Update for Forgejo Actions/Forgejo/Forgejo Packages 2026-06-06 13:44:20 +02:00
Dockerfile Add docker support and automatic docker build 2025-10-04 10:00:07 +02:00
LICENSE Basic working version with only Hackclub AI support, starting UI and offensive mode(convince to get into debt) 2025-10-02 16:38:12 +02:00
pyproject.toml Update libraries to newest version 2026-05-16 22:44:53 +02:00
README.md Improve README and index page, fix defensive mode ai prompt, add logout route, fix ai not displaying convinced True anytime due to const 2025-10-04 13:39:25 +02:00
requirements.txt Update libraries to newest version 2026-05-16 22:44:53 +02:00
uv.lock Update libraries to newest version 2026-05-16 22:44:53 +02:00

Debt by AI is a game where you have to convince an AI to get into debt, or to get you out of it.

The 2 modes are:

  • Offensive: You have to convince it to get into debt.
  • Defensive: You have to convince ai with a solution to get out of debt.

The game was inspired by Death by AI, a game on Discord, but this game has no affiliation with Discord or any subsidiaries.

How to run:

Manual

  • Download the code
  • install the modules into a venv using pip install -r requirements.txt or use uv sync to automatically do it for you
  • run app.py.

Docker Compose

  • Download the code, or just the compose file
  • Run docker compose up -d in this directory

Docker CLI

  • Run using docker run --name debt-by-ai -p 8080:8080 -e HOST=0.0.0.0 -e PORT=8080 -e DEBUG_MODE=false -e USE_HACKCLUB_AI=false -e GEMINI_API_KEY=changeme -e FLASK_SECRET_KEY=changeme -e DB_FILE=/app/data.db -v ./data.db:/app/data.db --restart unless-stopped csd4ni3lofficial/debt-by-ai:latest