Posts ISO7010 pictograms into the Fediverse https://hacksrus.xyz/iso7010
Go to file
Sam W 49eef28056 Format and fix clippy warnings 2022-09-13 19:14:04 +01:00
src Format and fix clippy warnings 2022-09-13 19:14:04 +01:00
.envrc Update flake with better devshell, remove default.nix 2022-09-01 14:07:57 +01:00
.gitignore Update flake with better devshell, remove default.nix 2022-09-01 14:07:57 +01:00
Cargo.lock Add attribution of tweets, scraping cmds and dry run 2022-09-13 16:36:19 +01:00
Cargo.toml Add attribution of tweets, scraping cmds and dry run 2022-09-13 16:36:19 +01:00
flake.lock flake: Switch to rust-analyzer over rls 2022-09-13 16:44:00 +01:00
flake.nix flake: Switch to rust-analyzer over rls 2022-09-13 16:44:00 +01:00
logo.afdesign add logo 2022-04-11 13:37:44 +01:00
logo.png add logo 2022-04-11 13:37:44 +01:00
readme.md Add readme 2022-09-13 17:21:04 +01:00

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!