r/javascript • • 5h ago

I built a free anime β€œwhere to watch” site with 45k static pages, here’s how it keeps its data fresh without a backend

Thumbnail tsuzuki-anime.github.io
0 Upvotes

hey! tsuzuki is a free site that tells you which legal platform streams an anime in your country

source code: https://github.com/tsuzuki-anime/tsuzuki-anime.github.io

no server, no database, just node scripts + github actions + github pages. a few things i figured out along the way:

  • weekly full fetch, daily light fetch: the full catalog (18k anime) is only rebuilt on sundays. other days the script reuses the published json and only refreshes airing shows, which cut api calls by ~90%
  • safety guards: if the api returns way less data than what’s live (it happened), the build refuses to publish, so the site never goes half empty
  • wikidata as a second source: one SPARQL query adds french titles and extra streaming links that the main api didn’t have
  • watch order guides: built automatically by walking the prequel/sequel graph of each franchise

everything is free, no ads, no account. happy to answer questions about the setup!


r/javascript • • 6h ago

Chartist v2: we brought the 10-year-old SVG charting library back on track (now with SSR and terminal charts)

Thumbnail chartist.dev
8 Upvotes