How vikiboss/60s works
60s API is a multi-runtime HTTP API platform. A request enters the Oak application, passes shared middleware, and is dispatched by the versioned router to domain handlers that return data or transformed responses. The README highlights daily news as the flagship capability, alongside a broad catalog of information and utility APIs. The graph groups related handlers to keep that catalog legible; unsampled route and handler details are represented only where the router’s reference list or README supports them.
Main entry points: router.ts API router · common.ts Shared helpers · app.ts Oak application · 60s.module.ts Daily news
Components 18
HTTP runtime
- Oak application
src/app.ts - Request middleware
src/middlewares - API router
src/router.ts - Shared helpers
src/common.ts
News and feeds
- Daily news
src/modules/60s.module.ts - RSS and AI news
src/modules - News feeds
src/modules
Information APIs
- Search trends
src/modules/baidu.module.ts - Weather
src/modules/weather.module.ts - Calendar and holidays
src/modules/lunar/lunar.module.ts - Rates and prices
src/modules - Media services
src/modules/maoyan/maoyan.module.ts
Utility APIs
- Translation
src/modules/fanyi/fanyi.module.ts - Color tools
src/modules/color.module.ts - Network utilities
src/modules/ip.module.ts - Content utilities
src/modules - Health and status
src/modules/health.module.ts
Other components
- API client
Connections 22
- API client → Oak application: sends requests
- Oak application → Request middleware: applies middleware
src/app.ts - Oak application → API router: registers routes
src/app.ts - API router → Daily news: dispatches daily news
src/router.ts - API router → RSS and AI news: dispatches feeds
src/router.ts - API router → News feeds: dispatches news
src/router.ts - API router → Search trends: dispatches searches
src/router.ts - API router → Weather: dispatches forecasts
src/router.ts - API router → Calendar and holidays: dispatches calendar
src/router.ts - API router → Rates and prices: dispatches prices
src/router.ts - API router → Media services: dispatches media
src/router.ts - API router → Translation: dispatches translation
src/router.ts - API router → Color tools: dispatches color tools
src/router.ts - API router → Network utilities: dispatches network tools
src/router.ts - API router → Content utilities: dispatches utilities
src/router.ts - API router → Health and status: dispatches health
src/router.ts - API router → Shared helpers: uses API metadata
src/router.ts - Daily news → Shared helpers: uses helpers
src/modules/60s.module.ts - Weather → Shared helpers: uses helpers
src/modules/weather.module.ts - Calendar and holidays → Shared helpers: uses helpers
src/modules/lunar/lunar.module.ts - Translation → Shared helpers: uses helpers
src/modules/fanyi/fanyi.module.ts - Color tools → Shared helpers: uses helpers
src/modules/color.module.ts