How ksimback/hermes-ecosystem works
Hermes Atlas is a curated directory and serverless-backed site for discovering Hermes Agent ecosystem projects. The main user flow is browsing/searching the map or asking the RAG chatbot; separate capabilities provide live stars/history and release information. The graph follows documented and excerpted runtime calls, plus documented editorial/build workflows. Static-site frontend source is absent from the supplied tree, so it is represented by the README; unsampled subsystems are kept at exact directory paths with unverified links omitted.
Main entry points: chat.js Chat endpoint · stars.js Stars endpoint · redis.js Redis cache · llm.js LLM gateway client
Components 22
Catalog Discovery
- Atlas site
- Curated catalog
data/repos.json - Use-case bundles
lib/use-case-match.js
Atlas Chat
- Chat endpoint
api/chat.js - RAG ranking
lib/rag-scoring.js - Knowledge chunks
lib/chunk-store.js - LLM gateway client
lib/llm.js
Live Data
- Stars endpoint
api/stars.js - GitHub star fetch
lib/github-stars.js - Star history
api/stars-history.js - Social previews
api/og.js - Subscriptions
api/subscribe.js
Content Operations
- Release sync
lib/release-sync.js - Catalog publishing
scripts/build-pages.js - Knowledge-base build
scripts/build-chunks.js - Catalog validation
scripts/validate-repos-json.js - Repo summaries
scripts/generate-summaries.js
Shared Services
- Redis cache
lib/redis.js - Latest release
lib/latest-release.js
Other components
- Atlas visitor
- Nous Portal
- GitHub API
Connections 25
- Atlas visitor → Atlas site: browses
- Atlas site → Curated catalog: searches
- Atlas visitor → Chat endpoint: asks
- Chat endpoint → Knowledge chunks: loads
api/chat.js - Chat endpoint → RAG ranking: ranks
api/chat.js - Chat endpoint → Use-case bundles: matches
api/chat.js - Chat endpoint → LLM gateway client: requests
api/chat.js - LLM gateway client → Nous Portal: calls
- Atlas visitor → Stars endpoint: requests stars
- Stars endpoint → GitHub star fetch: fetches
api/stars.js - GitHub star fetch → GitHub API: queries
lib/github-stars.js - Stars endpoint → Redis cache: caches
api/stars.js - Atlas visitor → Star history: requests history
- Star history → Redis cache: reads
api/stars-history.js - Atlas visitor → Social previews: requests preview
- Social previews → Redis cache: reads
api/og.js - Atlas visitor → Subscriptions: subscribes
- Subscriptions → Redis cache: stores
api/subscribe.js - Catalog publishing → GitHub API: fetches metadata
- Catalog publishing → Catalog validation: validates
scripts/build-pages.js - Repo summaries → GitHub API: reads repos
scripts/generate-summaries.js - Repo summaries → LLM gateway client: generates
scripts/generate-summaries.js - Knowledge-base build → Knowledge chunks: writes
scripts/build-chunks.js - Release sync → GitHub API: syncs releases
- Stars endpoint → Latest release: loads
api/stars.js