https://github.com/iliana/mutual-gf
Fediverse display name moon phase updater
https://github.com/iliana/mutual-gf
Last synced: 5 months ago
JSON representation
Fediverse display name moon phase updater
- Host: GitHub
- URL: https://github.com/iliana/mutual-gf
- Owner: iliana
- License: mit-0
- Created: 2020-04-23T17:55:24.000Z (about 5 years ago)
- Default Branch: mustard
- Last Pushed: 2022-06-23T02:47:34.000Z (almost 3 years ago)
- Last Synced: 2024-05-01T19:33:52.153Z (about 1 year ago)
- Language: Rust
- Size: 21.5 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This code updates a fediverse user's display name using the Mastodon API with the current phase of the moon, our mutual girlfriend.
It implements the [AWS Lambda Runtime Interface](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html).While this code is very particular to a specific task, it demonstrates a few things:
* ~~A simple (and deliberately incomplete) Runtime Interface implementation, including abusing the `Date` header in the response to get the current time~~ Moved into [minlambda](https://docs.rs/minlambda)
* A simple (and deliberately incomplete) tzdata binary format (TZif) parser