How pr0xiuss/stacksense works
StackSense is a source-code intelligence platform with authenticated project and repository management, plus a repository-ingestion workflow that captures source revisions and exposes discovered artifacts. The visible path runs from the repository UI through ingestion API endpoints to the ingestion application service; source acquisition, validation, classification, and persistence are represented from the repository structure and documented API capabilities, but their internal calls were not sampled. The frontend also provides sign-in and project-management flows. Dashed edges indicate these unverified implementation links.
Main entry points: service.py Ingestion orchestration · RepositoryDetailPage.jsx Repository detail · router.py API v1 routing · App.jsx App routing
Components 26
Web client
- App routing
frontend/src/App.jsx - Authentication UI
frontend/src/pages/AuthPage.jsx - Projects dashboard
frontend/src/pages/ProjectsDashboardPage.jsx - Repository detail
frontend/src/pages/RepositoryDetailPage.jsx - Ingestion views
frontend/src/components/repository/IngestionTab.jsx - Ingestion submission
frontend/src/components/repository/NewIngestionModal.jsx - Auth API client
frontend/src/services/authService.js - Ingestion API client
frontend/src/services/ingestionService.js - Project API client
frontend/src/services/projectService.js - Repository API client
frontend/src/services/repositoryService.js
Identity and access
- Authentication endpoints
backend/api/v1/auth.py - Identity services
backend/platform/identity/application/auth_service.py
Project catalog
- Project endpoints
backend/api/v1/projects.py - Repository endpoints
backend/api/v1/repositories.py - Repository services
backend/platform/repositories/application/service.py
Source ingestion
- Ingestion endpoints
backend/api/v1/ingestions.py - Ingestion orchestration
backend/platform/ingestion/application/service.py - Source acquisition
backend/platform/ingestion/application/acquisition.py - Source validation
backend/platform/ingestion/application/validator.py - Artifact classification
backend/platform/ingestion/application/classifier.py - Source storage
backend/platform/ingestion/infra/storage/local_storage.py - Ingestion records
backend/platform/ingestion/infra/ingestion_repository.py
Runtime platform
- FastAPI application
backend/api/app.py - API v1 routing
backend/api/v1/router.py - PostgreSQL
backend/infra/postgres.py
Other components
- User
Connections 29
- User → App routing: uses
- App routing → Projects dashboard: routes to
frontend/src/App.jsx - App routing → Repository detail: routes to
frontend/src/App.jsx - User → Authentication UI: signs in
- Authentication UI → Auth API client: requests auth
- Projects dashboard → Project API client: loads projects
- Projects dashboard → Repository API client: manages repositories
- Repository detail → Ingestion views: renders
frontend/src/pages/RepositoryDetailPage.jsx - Repository detail → Ingestion API client: loads ingestions
frontend/src/pages/RepositoryDetailPage.jsx - Repository detail → Project API client: loads project
frontend/src/pages/RepositoryDetailPage.jsx - Repository detail → Repository API client: loads repository
frontend/src/pages/RepositoryDetailPage.jsx - Ingestion submission → Ingestion API client: submits source
frontend/src/components/repository/NewIngestionModal.jsx - Ingestion API client → FastAPI application: sends API requests
- Auth API client → FastAPI application: sends API requests
- FastAPI application → API v1 routing: mounts routes
backend/api/app.py - API v1 routing → Authentication endpoints: registers
backend/api/v1/router.py - API v1 routing → Ingestion endpoints: registers
backend/api/v1/router.py - API v1 routing → Project endpoints: registers
backend/api/v1/router.py - API v1 routing → Repository endpoints: registers
backend/api/v1/router.py - Authentication endpoints → Identity services: delegates auth
- Project endpoints → Repository services: delegates project work
- Repository endpoints → Repository services: delegates repository work
- Ingestion endpoints → Ingestion orchestration: delegates requests
backend/api/v1/ingestions.py - Ingestion orchestration → Source acquisition: acquires source
- Ingestion orchestration → Source validation: validates source
- Ingestion orchestration → Artifact classification: classifies artifacts
- Ingestion orchestration → Source storage: stores source
- Ingestion orchestration → Ingestion records: persists status
- Ingestion records → PostgreSQL: stores records