Fool's gold
Go to file
2024-11-12 13:49:35 -05:00
static added player control buttons 2024-11-12 13:49:35 -05:00
templates added player control buttons 2024-11-12 13:49:35 -05:00
.gitignore first commit 2024-10-29 10:53:46 -04:00
buckler_fastapi.py first commit 2024-10-29 10:53:46 -04:00
config.py.template first commit 2024-10-29 10:53:46 -04:00
LICENSE first commit 2024-10-29 10:53:46 -04:00
pyrite.py added player control buttons 2024-11-12 13:49:35 -05:00
README.md first commit 2024-10-29 10:53:46 -04:00

Pyrite

A naturally occurring iron disulfide mineral. The name comes from the Greek word pyr, “fire,” because pyrite emits sparks when struck by metal. Pyrite is called fool's gold; to the novice its colour is deceptively similar to that of a gold nugget.

Requirements

Python 3.12+ Python packages: fastapi uvicorn[standard] httpx jinja2 asyncpg mutagen

Install

$ psql
postgres=# CREATE DATABASE "pyrite";
postgres=# CREATE USER "pyrite" WITH PASSWORD 'password';
postgres=# GRANT ALL PRIVILEGES ON DATABASE "pyrite" TO "pyrite";
postgres=# \q
  1. Get on the floor
  2. Walk the dinosaur

Usage

uvicorn pyrite:app --host localhost --port 5650