How sepuri-sai-krishna/hackathon-radar works
Hackathon Radar aggregates listings from five platforms into a searchable, normalized dataset, then lets visitors discover events, open shareable event pages, inspect source health, and track participation. The scrape workflow runs registered source adapters through fetching, enrichment and deduplication before publishing data. In the web app, App coordinates routing, filtering and views; tracker state can remain in localStorage or sync through the API to Cloudflare D1. README documents major capabilities and deployment relationships; some function and scraper internals were not excerpted, so those links use documented evidence rather than claims of source inspection.
Main entry points: App.tsx App coordinator · index.ts Scrape runner · sources Source adapters · HackathonDetail.tsx Event detail view
Components 26
Collection and publishing
- Scrape runner
scrapers/index.ts - Source adapters
scrapers/sources - HTTP and pagination
scrapers/lib/http.ts - Normalize and enrich
scrapers/lib/enrich.ts - Event deduplication
scrapers/lib/dedupe.ts - Schema.org parsing
scrapers/lib/schemaorg.ts - Shared event model
shared/types.ts - Published dataset
public/data/hackathons.json - Event sitemap
public/sitemap.xml
Discovery and tracking
- App coordinator
src/App.tsx - Client routing
src/lib/router.ts - Discovery filters
src/components/Filters.tsx - Filter logic
src/lib/filters.ts - Hackathon cards
src/components/HackathonCard.tsx - Event detail view
src/components/HackathonDetail.tsx - Source health view
src/components/SourceHealth.tsx - Display formatting
src/lib/format.ts - Tracker client
src/lib/tracker.ts - Browser localStorage
Pages and persistence
- Shareable event renderer
functions/h/[slug].ts - Image proxy
functions/api/image.ts - Tracker API
functions/api/tracker.ts - Cloudflare D1
schema.sql
Other components
- Hackathon seeker
- Hackathon platforms
- External image hosts
Connections 30
- Scrape runner → Source adapters: runs concurrently
README.md - Source adapters → HTTP and pagination: fetches through
scrapers/sources/devpost.ts - Source adapters → Schema.org parsing: parses markup
scrapers/sources/generic.ts - Hackathon platforms → Source adapters: provides listings
README.md - Source adapters → Normalize and enrich: maps event data
scrapers/sources/devpost.ts - Scrape runner → Normalize and enrich: derives fields
README.md - Scrape runner → Event deduplication: deduplicates events
scrapers/index.ts - Scrape runner → Published dataset: writes dataset
README.md - Scrape runner → Event sitemap: writes sitemap
scrapers/index.ts - Source adapters → Shared event model: returns raw events
scrapers/sources/devpost.ts - Scrape runner → Shared event model: produces dataset shape
README.md - Hackathon seeker → App coordinator: browses
README.md - App coordinator → Published dataset: loads dataset
src/App.tsx - App coordinator → Client routing: reads route
src/App.tsx - App coordinator → Discovery filters: renders filters
src/App.tsx - Discovery filters → Filter logic: applies criteria
src/components/Filters.tsx - App coordinator → Filter logic: filters listings
src/App.tsx - App coordinator → Hackathon cards: renders results
src/App.tsx - App coordinator → Event detail view: renders selected event
src/App.tsx - App coordinator → Source health view: renders health report
src/App.tsx - Event detail view → Display formatting: formats event fields
src/components/HackathonDetail.tsx - App coordinator → Tracker client: loads and saves tracking
src/App.tsx - Tracker client → Browser localStorage: mirrors tracker state
src/lib/tracker.ts - Tracker client → Tracker API: syncs over HTTP
src/lib/tracker.ts - Tracker API → Cloudflare D1: reads and writes
README.md - Hackathon seeker → Shareable event renderer: opens event URL
README.md - Shareable event renderer → Published dataset: loads event data
README.md - Hackathon cards → Image proxy: requests event image
- Event detail view → Image proxy: requests event image
- Image proxy → External image hosts: fetches approved images
README.md