How intelliraff/github-archaeologist works
GitHub-archaeologist is a Flask application for signing in, submitting a GitHub repository, and receiving a repository activity and health summary. Its main workflow validates the signed-in session, fetches repository and contributor data from GitHub, computes activity status and a health score, stores repository and per-user analysis records, and returns JSON. It also provides dashboard, logout, history, and repository-listing routes. The README gives no further capability detail; route and storage relationships below are evidenced by the sampled application source.
Main entry points: jjwt.py Repository analysis · login.html Login page · dashboard.html Dashboard page
Components 16
Web and authentication
- Flask routes
jjwt.py - Login and signup
jjwt.py - Session and JWT
jjwt.py - Login page
templates/login.html - Dashboard page
templates/dashboard.html
Repository analysis
- Repository analysis
jjwt.py - GitHub API
- Status and health scoring
jjwt.py - JSON results
jjwt.py - Analysis history
jjwt.py - Repository listing
jjwt.py
Persistence
- SQLite database
jjwt.py - User records
jjwt.py - Repository records
jjwt.py - Analysis records
jjwt.py
Other components
- Visitor
Connections 21
- Visitor → Flask routes: requests pages
jjwt.py - Flask routes → Login page: renders
jjwt.py - Flask routes → Dashboard page: renders
jjwt.py - Visitor → Login and signup: submits credentials
jjwt.py - Login and signup → User records: looks up or creates
jjwt.py - Login and signup → Session and JWT: creates token and session
jjwt.py - Flask routes → Session and JWT: validates session token
jjwt.py - Visitor → Repository analysis: submits repository URL
jjwt.py - Repository analysis → GitHub API: fetches repository and contributors
jjwt.py - Repository analysis → Status and health scoring: calculates status and score
jjwt.py - Repository analysis → Repository records: stores repository details
jjwt.py - Repository analysis → Analysis records: stores user analysis
jjwt.py - Repository analysis → JSON results: returns summary
jjwt.py - Visitor → Analysis history: requests history
jjwt.py - Analysis history → User records: looks up current user
jjwt.py - Analysis history → Analysis records: reads user analyses
jjwt.py - Visitor → Repository listing: requests repositories
jjwt.py - Repository listing → Repository records: reads all repositories
jjwt.py - User records → SQLite database: persists records
jjwt.py - Repository records → SQLite database: persists records
jjwt.py - Analysis records → SQLite database: persists records
jjwt.py