How manikbharadwaj/codescribe works
CodeScribe is a browser-based secure code vault and static-analysis workbench. Users register or log in, organize code into owned workspaces, save or upload Python/C++ files, and request analysis whose metrics and hints appear in the workbench; raw snippets can also be scanned without saving. The README documents the main capabilities, while source excerpts confirm key routes, persistence models, analyzer dispatch, and client requests. The map omits unsampled route details and does not imply an unshown database engine or hosting service.
Main entry points: app.py Flask routes · script.js Browser workbench · analyzer.py Python AST analysis · index.html Workbench interface
Components 14
Workbench
- Browser workbench
static/script.js - Workbench interface
templates/index.html
Application API
- Flask routes
app.py - Authentication & sessions
app.py - Workspace management
app.py - File management
app.py - Analysis endpoints
app.py
Static Analysis
- Python AST analysis
analyzer.py - C++ structural analysis
analyzer.py - Metrics & guidance
analyzer.py
Vault Data
- User accounts
models.py - Workspaces
models.py - Code files
models.py
Other components
- Developer
Connections 17
- Developer → Browser workbench: uses
README.md - Browser workbench → Workbench interface: renders
- Browser workbench → Flask routes: requests
static/script.js - Flask routes → Workbench interface: serves
app.py - Flask routes → Authentication & sessions: routes
app.py - Flask routes → Workspace management: routes
app.py - Flask routes → File management: routes
app.py - Flask routes → Analysis endpoints: routes
app.py - Authentication & sessions → User accounts: reads/writes
app.py - Workspace management → Workspaces: reads/writes
app.py - File management → Workspaces: checks ownership
app.py - File management → Code files: reads/writes
app.py - File management → Python AST analysis: analyzes
app.py - Analysis endpoints → Python AST analysis: dispatches
app.py - Analysis endpoints → C++ structural analysis: dispatches
app.py - Python AST analysis → Metrics & guidance: produces
analyzer.py - C++ structural analysis → Metrics & guidance: produces
analyzer.py