9 Commits

Author SHA1 Message Date
hermes
6d3cb9d678 chore: add Docker deployment files, README, and Prisma migrations
- Add Dockerfile and docker-compose.yml for VPS/LXC deployment.
- Update README with setup, environment variables, and deployment notes.
- Commit initial Prisma migration for SQLite schema.
- Configure Next.js for standalone output and dev origin allowlist.
2026-06-17 04:34:39 +00:00
hermes
1b23f57d6c chore: add diagnostic and seeding scripts
- Add script to generate bcrypt admin password hash.
- Add script to seed sample articles for local development.
- Add Kimi/Moonshot API diagnostic scripts (SDK and direct curl).
2026-06-17 04:34:35 +00:00
hermes
fd0553a6b9 feat: add rule Run History page with status and error details
- Add /admin/runs page listing all rule executions with filters for
  All/Running/Success/Error.
- Add /api/admin/runs endpoint returning run status, stage, progress,
  duration, and error details.
- Add Run History link to admin sidebar.
2026-06-17 04:34:33 +00:00
hermes
af11be82ac feat: public site homepage, search, and article reader
- Add editorial/magazine-style public layout with serif wordmark.
- Build homepage with three bias columns and editor's picks.
- Add search page with query, bias filter, and sort tabs.
- Add article detail page with summary, bias badge, and reasoning.
- Article cards include expandable "Why this classification?" panel.
- Style with warm, retro-editorial color palette and responsive layout.
2026-06-17 04:32:33 +00:00
hermes
8daac94f5a feat: admin article management, sources, settings, rules, and scheduler
- Add article list, editor, and deletion UI.
- Add source management with bias/credibility/active toggles.
- Add encrypted API key CRUD UI.
- Add automated search rules with query, sources, schedule presets,
  and per-rule AI model override.
- Implement node-cron scheduler and instrumentation hook.
- Add admin settings including password change and quota reference.
2026-06-17 04:32:29 +00:00
hermes
3e57802c6e feat: add news source adapters and AI article analysis
- Implement adapters for NewsAPI, GNews, NewsData, Serper Web Search,
  and Brave Search.
- Add unified fetchNews aggregator with URL deduplication.
- Wire OpenAI-compatible Kimi client for bias classification, ranking,
  summarization, and topic extraction.
- Add AI analysis prompts, response parsing, and fallback logic.
- Build ranker combining AI score, source credibility, and recency.
- Create admin Discover page and API for manual news discovery.
2026-06-17 04:32:25 +00:00
hermes
e086141620 feat: bootstrap admin auth, DB schema, and encrypted API keys
- Add Prisma schema for AdminUser, Source, Article, SearchRule, SearchRun,
  and encrypted ApiKey storage.
- Implement JWT session middleware and admin login/logout.
- Add AES-256-GCM encryption helpers for API keys.
- Seed default news sources and admin credentials.
- Create admin shell layout and login page.
2026-06-17 04:30:56 +00:00
hermes
b77d0c73cd chore: ignore local SQLite DB and Hermes plans
Add dev.db variants and .hermes/ to .gitignore so local data and
session planning files are not committed.
2026-06-17 04:30:47 +00:00
hermes
8427cfd76c Initial commit from Create Next App 2026-06-17 00:26:22 +00:00