How mevander88/urprojects works
This repository contains three streaming-catalog prototypes—anime, Chinese drama, and Korean drama—plus a small projects landing site. Their user flows cover catalog discovery, title and episode browsing, and playback; the anime prototype also exposes bookmarks and viewing history. Each content prototype pairs a Next.js frontend with a Go scraper API. Sampled code confirms selected API and media-proxy behavior, but not most page-to-API wiring, so those links are omitted.
Main entry points: api/main.go API startup · scraper Anime scraper · api/main.go API startup · api/main.go API startup
Components 28
Projects site
- Project landing
urprojects/app/page.tsx - Project data
urprojects/lib/projects.ts
Anime prototype
- Anime pages
uranime-prototype/app - Episode data route
uranime-prototype/app/episode-data/[slug]/route.ts - API client
uranime-prototype/lib/api.ts - Stream proxy
uranime-prototype/app/stream/route.ts - Image proxy
uranime-prototype/app/media/route.ts - API startup
uranime-prototype/uranime-api/cmd/api/main.go - API routes
uranime-prototype/uranime-api/internal/router/router.go - Search handler
uranime-prototype/uranime-api/internal/handler/search_handler.go - Anime scraper
uranime-prototype/uranime-api/internal/scraper
Chinese drama
- Drama pages
urdrachin-prototype/app - API forwarding route
urdrachin-prototype/app/api/urdrachin/[...path]/route.ts - Media proxy
urdrachin-prototype/app/api/media-proxy/route.ts - API startup
urdrachin-prototype/urdrachin-api/cmd/api/main.go - API routes
urdrachin-prototype/urdrachin-api/internal/router/router.go - Scraper client
urdrachin-prototype/urdrachin-api/internal/scraper/client.go
Korean drama
- Drama pages
ursarang-prototype/app - Stream route
ursarang-prototype/app/api/stream/[slug]/[episode]/route.ts - API client
ursarang-prototype/lib/api.ts - Media proxy
ursarang-prototype/app/api/media-proxy/route.ts - API startup
ursarang-prototype/ursarang-api/cmd/api/main.go - API routes
ursarang-prototype/ursarang-api/internal/router/router.go - Drama scraper
ursarang-prototype/ursarang-api/internal/scraper
Other components
- Visitor
- Anime source
- Drama source
- Drama source
Connections 22
- Visitor → Project landing: browses
- Project landing → Project data: reads
- Visitor → Anime pages: browses
- Episode data route → API client: calls
- API startup → API routes: registers
- API startup → Anime scraper: creates client
- Search handler → Anime scraper: searches
- Anime scraper → Anime source: fetches
- Stream proxy → Anime source: proxies media
- Image proxy → Anime source: fetches images
- Visitor → Drama pages: browses
- API forwarding route → API startup: forwards API
- API startup → API routes: registers
- API startup → Scraper client: creates client
- Scraper client → Drama source: fetches
- Media proxy → Drama source: proxies media
- Visitor → Drama pages: browses
- Stream route → API client: calls
- API startup → API routes: registers
- API startup → Drama scraper: creates client
- Drama scraper → Drama source: fetches
- Media proxy → Drama source: proxies media