How m5y3w1/tiwantiwa-magazine works
Tiwantiwa is a digital magazine with Markdown-based editorial content and a lightweight Astro website, alongside Node scripts for feed ingestion, draft review, and content administration. The main workflow stages stories as drafts, lets an editor approve them into the published collection, and presents magazine pages to readers. The sampled scripts confirm ingestion and editorial file operations; page implementations and several listed scripts were not sampled, so their detailed wiring is not inferred.
Main entry points: drafts Draft Articles · published Published Articles · editorial_web_dashboard.mjs Web Review Dashboard · media_org.mjs Media Org CLI
Components 21
Reader Website
- Magazine Pages
src/pages - Shared Layout
src/components/Layout.astro - Homepage
src/pages/index.astro - Article Page
src/pages/posts/[slug].astro - Category Page
src/pages/category/[category].astro - Info Pages
src/pages
Editorial Content
- Draft Articles
content/drafts - Published Articles
content/published - Post Content
content/posts - RSS Feed
public/rss.xml
Editorial Workflow
- Feed Ingestion
scripts/ingest_worker.mjs - Approval Pipeline
scripts/approval_pipeline.mjs - Web Review Dashboard
scripts/editorial_web_dashboard.mjs - CLI Review Dashboard
scripts/editorial_dashboard.mjs - Media Org CLI
scripts/media_org.mjs
Editorial Tools
- Editorial Tools
scripts/tools.mjs - AI Cache
scripts/ai_cache.mjs - RSS Generator
scripts/generate_rss.mjs
Other components
- Reader
- TechCrunch RSS
- Editor
Connections 28
- Reader → Homepage: visits
- Reader → Article Page: opens article
- Reader → Category Page: browses category
- Homepage → Shared Layout: uses layout
- Article Page → Shared Layout: uses layout
- Category Page → Shared Layout: uses layout
- Info Pages → Shared Layout: uses layout
- TechCrunch RSS → Feed Ingestion: provides feed
- Feed Ingestion → Draft Articles: writes drafts
- Editor → Approval Pipeline: approves draft
- Approval Pipeline → Draft Articles: reads and removes
- Approval Pipeline → Published Articles: promotes article
- Editor → Web Review Dashboard: reviews drafts
- Web Review Dashboard → Draft Articles: reads drafts
- Web Review Dashboard → Published Articles: publishes article
- Web Review Dashboard → Draft Articles: archives draft
- Editor → CLI Review Dashboard: reviews drafts
- CLI Review Dashboard → Draft Articles: reads drafts
- CLI Review Dashboard → Published Articles: publishes article
- Editor → Media Org CLI: manages content
- Media Org CLI → Draft Articles: creates draft
- Media Org CLI → Draft Articles: lists drafts
- Media Org CLI → Published Articles: publishes article
- Editorial Tools → AI Cache: uses cache and fetch
- Editorial Tools → Draft Articles: reads and writes
- Editorial Tools → Published Articles: reads and writes
- RSS Generator → Published Articles: reads articles
- RSS Generator → RSS Feed: generates feed