code.pablomurad.com

prami-pet

Community virtual pet that lives as a Mastodon account

git clone https://code.pablomurad.com/prami-pet.git

Recent commits

  1. 10fffdf
    first commit
    
  2. 437db1d
    first commit
    
  3. f5312ee
    first commit
    

Full log →

Readme

Prami

A federated community virtual pet that lives as a Mastodon account. It polls for mentions, replies to commands, drifts its state over time, and posts on its own now and then.

Run

cp .env.example .env
# set MASTODON_BASE_URL, MASTODON_ACCESS_TOKEN and BOT_ACCOUNT_ACCT
docker compose up -d
docker compose logs -f prami

Stop with docker compose stop. Reset the database with docker compose down -v.

python -m prami.cli status
python -m prami.cli feed --user @alice@example.com
python -m prami.cli shell