Find a file
KipJayChou 985d59de34
Some checks failed
tox / build (3.14) (push) Has been cancelled
update arrays.py .gitignore
2026-03-10 15:48:15 +08:00
.github Enable pip caching in workflow, update action versions (#273) 2026-02-28 18:25:34 +01:00
.gitignore update arrays.py .gitignore 2026-03-10 15:48:15 +08:00
AI.md Create initial draft text for AI.md (#239) 2026-01-14 12:36:56 +00:00
arrays.py update arrays.py .gitignore 2026-03-10 15:48:15 +08:00
arrays_test.py Add cursed duplicate checker (#24) 2024-03-08 21:17:21 +00:00
config.example.py Move THREAT_PROBABILITY to config (with fallback) 2025-12-16 15:05:15 +00:00
CONTRIBUTING.md Create initial draft text for AI.md (#239) 2026-01-14 12:36:56 +00:00
gen.py oops 2026-01-09 20:44:42 +00:00
LICENSE Create LICENSE 2024-03-06 19:51:30 +00:00
README.md "Most interacted with" feature (#236) 2026-01-05 10:57:27 +00:00
requirements.txt Bump tox from 4.23.2 to 4.44.0 (#268) 2026-02-28 18:43:23 +01:00
TODO.md Move THREAT_PROBABILITY to config (with fallback) 2025-12-16 15:05:15 +00:00
tox.ini Test with Python 3.14 only, set versions in tox.ini 2026-01-14 11:41:53 +00:00

You can have a README, as a treat

What is?

It's a silly fedi bot (currently at https://fox.nexus/@treats).

Possible combinations

An up-to-date calculation of the possible combinations can be found in the bot's bio on fedi.

Options

usage: gen.py [-h] [-d] [-c] [--most-interacted COUNT] [--status-count] [-u] [--visibility {private,direct,unlisted,public}] [--no-log] [-v]

Generate a string in the format "{folx} can have {treats}, as a treat" and post it to fedi

options:
  -h, --help            show this help message and exit
  -d, --dry-run         Generate output, but do not post it
  -c, --count           Count the number of possible outputs and exit
  --most-interacted COUNT
                        Find the most interacted with post in the last COUNT statuses, save to a file, and exit
  --status-count        Return the total number of statuses posted by the bot and exit
  -u, --update-bio      Update the bot's bio with the number of possible combinations
  --visibility {private,direct,unlisted,public}
  --no-log              Disable logging
  -v, --verbose         Enable verbose **logging**

Contributing

See CONTRIBUTING.md for details on setting up a development environment and contributing new treats/folx.