Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kleinesfilmroellchen/request-fedi-comments
Fediverse bot that posts IETF RFCs
https://github.com/kleinesfilmroellchen/request-fedi-comments
Last synced: 25 days ago
JSON representation
Fediverse bot that posts IETF RFCs
- Host: GitHub
- URL: https://github.com/kleinesfilmroellchen/request-fedi-comments
- Owner: kleinesfilmroellchen
- License: mit
- Created: 2023-07-26T19:10:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-19T13:00:33.000Z (3 months ago)
- Last Synced: 2024-08-19T14:37:29.412Z (3 months ago)
- Language: Rust
- Size: 85.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# request fedi comments (Fediverse RFC Bot)
A fediverse bot that posts a random [Request for Comments (RFC) from the IETF](https://www.rfc-editor.org/) in regular intervals.
Written in Rust, because of course.
Publicly deployed here.
## Development
`cargo build`, `cargo run`, `cargo test` etc. for the basics.
A `.env` file must be filled with the following data:
```shell
# Set this to your instance's base URL
instance_url=https://mastodon.example
# Obtained when creating your OAuth2 application, see https://docs.joinmastodon.org/client/token/#app
client_id=...
client_secret=...
# Not strictly necessary, but keep it around anyways
vapid_key=...
# Obtained when authorizing the application with your account, see https://docs.joinmastodon.org/client/authorized/
account_authorization_code=...
access_token=...
# Can apparently not be retrieved via API
character_limit=500
# Configure logging (see https://docs.rs/env_logger/latest/env_logger/#enabling-logging)
RUST_LOG=debug,yaserde::de=warn,yaserde_derive=warn
```Running in release mode is recommended, since XML parsing takes very long otherwise.