A Fediverse robot account that posts the latest public records requests filed and completed at muckrock.com
https://mastodon.palewi.re/@muckrockbot โ// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 93/100 with only 18 stars
- Around since 2019 and still shipping
// how to help
// readme
A Fediverse robot account that posts the latest public records requests filed at muckrock.com at mastodon.palewi.re/@muckrockbot. It also saves completed-request snapshots, but does not post them.
Development
This project uses Python 3.11 or newer and uv for dependencies.
make install-dev
make check
make test
Use make fix to apply safe lint and formatting changes. Tests use fake API
responses and temporary data directories. They never call MuckRock or post to
social accounts.
Restore authenticated downloads
API v1 remains available with a legacy API token. The bot intentionally uses
python-muckrock==0.1.1 to preserve its request filters, author credits and
links. Obtain your token from MuckRock through a secure channel and save it
as the MUCKROCK_API_TOKEN GitHub Actions secret. Do not put tokens in files,
command arguments, logs or commits.
For local use, supply the same environment variable through your secret manager. Then check authentication and both response shapes without saving anything or posting:
uv run python -m muckrockbot.download --check