Posts ISO7010 pictograms into the Fediverse
https://hacksrus.xyz/iso7010
Sam W b1753d8775 | ||
---|---|---|
src | ||
.envrc | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
flake.lock | ||
flake.nix | ||
logo.afdesign | ||
logo.png | ||
readme.md |
readme.md
ISO7010 a Day
A silly twitter bot that posts a random ISO7010 safety sign every day. You can follow it @iso_7010.
How it works
- Scrape the wikipedia page for ISO7010, picking out all the files in the gallery and their associated caption
- Pick a random one
- Lookup the file using Wikimedia's API to get license metadata
- Download the SVG file
- Render it to a PNG
- Tweet it!