How reorx/awesome-chatgpt-api works
This repository combines a curated ChatGPT API tools directory, published as a bilingual static website, with a CLI and a changelog generator. The principal visitor workflow is browsing the catalog and dated updates; the generator separately derives additions from repository history, asks the ChatGPT API to summarize them, and writes update posts. The README excerpt establishes the catalog’s purpose and site, while source excerpts show generator and CLI behavior; wiring for the Hugo site is not sampled, so that connection is marked unverified.
Main entry points: generate_updates.py Update generator · ai.py Chat session · content Site content · layouts Page layouts
Components 11
Curated Directory
- Tool catalog
README.md
Website
- Site content
site/content - Dated updates
site/content/posts - Site configuration
site/config/_default/config.toml - Page layouts
site/layouts
Update Generator
- Update generator
generate_updates.py - Git history
Chat CLI
- ChatGPT CLI
ai.py - Chat session
ai.py
Other components
- Directory visitor
- ChatGPT API
Connections 10
- Directory visitor → Tool catalog: browses
README.md - Directory visitor → Site content: visits site
README.md - Site content → Page layouts: rendered by
- Site configuration → Page layouts: configures
- Update generator → Git history: reads history
generate_updates.py - Update generator → Git history: gets diffs
generate_updates.py - Update generator → Chat session: requests summaries
generate_updates.py - Update generator → Dated updates: writes posts
generate_updates.py - ChatGPT CLI → Chat session: runs session
ai.py - Chat session → ChatGPT API: sends requests