How jspear01/milemoa-intelligence works
MileMoa Insight is a community-intelligence dashboard: users browse recent MileMoa posts, summaries, importance scores, and actionable deals. The main workflow syncs listings and post details, stores posts, then scores and summarizes unsummarized records for dashboard queries and filtering. CLI and dashboard controls invoke the pipeline; checkpoints support resumption. The README also documents scheduled GitHub Actions updates. Edges are limited to calls, storage access, external fetching, or README-documented behavior; unsampled workflow details are omitted.
Main entry points: summarizer.py Batch summarizer · scraper.py Incremental scraper · app.py Streamlit dashboard · harness.py Pipeline harness
Components 19
User entry points
- Scheduled sync
.github/workflows/scrape.yml - CLI commands
run.py - Pipeline harness
core/harness.py - Pipeline configuration
config.py
Post collection
- Incremental scraper
pipeline/scraper.py - HTTP fetch client
pipeline/scraper.py - Listing parser
pipeline/scraper.py
Scoring and summaries
- Batch summarizer
pipeline/summarizer.py - Importance scoring
pipeline/summarizer.py - Category and deal detection
pipeline/summarizer.py - Key sentence extraction
pipeline/summarizer.py
Persistence and status
- Post database
data/milemoa.db - Summary records
data/milemoa.db - Checkpoint state
core/checkpoint.py - Checkpoint file
.state/checkpoint.json - Status report
STATUS.md
Dashboard
- Streamlit dashboard
ui/app.py
Other components
- Community reader
- MileMoa board
Connections 23
- Community reader → Streamlit dashboard: browses
README.md - Streamlit dashboard → CLI commands: starts sync
ui/app.py - CLI commands → Pipeline harness: dispatches
run.py - Scheduled sync → Pipeline harness: runs sync
README.md - Pipeline harness → Incremental scraper: invokes
core/harness.py - Pipeline harness → Batch summarizer: invokes
core/harness.py - Incremental scraper → HTTP fetch client: fetches pages
pipeline/scraper.py - HTTP fetch client → MileMoa board: requests HTML
pipeline/scraper.py - Incremental scraper → Listing parser: parses listings
pipeline/scraper.py - Incremental scraper → Post database: writes posts
pipeline/scraper.py - Batch summarizer → Post database: reads posts
pipeline/summarizer.py - Batch summarizer → Importance scoring: scores posts
pipeline/summarizer.py - Batch summarizer → Category and deal detection: classifies deals
pipeline/summarizer.py - Batch summarizer → Key sentence extraction: extracts takeaways
pipeline/summarizer.py - Batch summarizer → Summary records: writes summaries
pipeline/summarizer.py - Streamlit dashboard → Post database: queries posts
ui/app.py - Streamlit dashboard → Summary records: queries summaries
ui/app.py - Pipeline harness → Checkpoint state: loads and saves
core/harness.py - Streamlit dashboard → Checkpoint state: loads status
ui/app.py - Checkpoint state → Checkpoint file: persists state
core/checkpoint.py - Checkpoint state → Status report: writes report
core/checkpoint.py - Incremental scraper → Pipeline configuration: uses settings
pipeline/scraper.py - Batch summarizer → Pipeline configuration: uses rules
pipeline/summarizer.py