About rules.city
What this is
rules.city is an English-language civic information portal about cities worldwide. Every city lives on a clean URL ({country}.rules.city/{city}, or a dedicated subdomain once coverage is mature) and covers the things residents and visitors actually need: parking, public transport, city hall services, events, press releases and more.
How the content is built
An hourly pipeline crawls official sources — municipality websites, transit operators, parking authorities, airport sites — and uses the dashiro-ai API (Llama 3.1 8B + Llama 3.2 Vision) to translate them to English, structure them into fees / institutions / required documents / routes / events, and write them to a small SQLite database running at the edge on Cloudflare.
Is this official?
No. rules.city is an independent project. We always link to the original source and show the date the page was last verified. For anything legally binding, double-check on the official source before acting.
Stack
- Astro on Cloudflare Pages, hybrid SSR + static MDX guides
- D1 (SQLite) for structured records, R2 for scraped PDFs, KV for cache
- A scheduled Cloudflare Worker for the content pipeline (
dashiro /crawl,/chat,/rewrite)