Roadmap & Improvements
Suggested improvements, planned features, and work in progress for Hanta News.
| Category | Improvement | Status |
|---|---|---|
| feature | Interactive disease map Interactive map with regional disease surveillance data, hierarchical geographic regions, and news-derived regional stats. |
In Progress |
| refactor | Monolith splitting — templates.ts Split the 800-line template file into separate page renderers for maintainability. |
Planned |
| refactor | Monolith splitting — index.ts Split the 1200-line request handler into separate route modules. |
Planned |
| refactor | Monolith splitting — db.ts Split the 800-line database module into schema, queries, and migrations. |
Planned |
| security | CSRF nonce for inline scripts Replace unsafe-inline CSP with a nonce-based strategy for script tags. |
Suggested |
| security | Rate-limit /api/fetch endpoint Prevent brute-force pipeline execution even with valid auth tokens. |
Completed |
| enhancement | Translation rate-limit and MyMemory quota tracking Track daily MyMemory API usage and pause translation when quota is exhausted. |
Completed |
| enhancement | Structured logging with machine-parseable output Replace console.log with structured JSON logging for log aggregation. |
Suggested |
| testing | Automated test suite Add test framework and integration tests for API endpoints and pipeline. |
Suggested |
| feature | Subnational region data Expand geographic hierarchy with states, provinces, and administrative divisions. |
In Progress |