| .agent/ skills | 29 days ago | ||
| .github/ workflows | 29 days ago | ||
| app | 29 days ago | ||
| scripts | 29 days ago | ||
| .gitignore | 29 days ago | ||
| CLIENT_GUIDE.md | 29 days ago | ||
| Dockerfile | 29 days ago | ||
| README.md | 29 days ago | ||
| docker-compose.yml | 29 days ago | ||
| implementation_plan.md | 29 days ago | ||
| local_app.js | 29 days ago | ||
| requirements.txt | 29 days ago | ||
| start.sh | 29 days ago | ||
| stress_node_key.json | 29 days ago | ||
| test_auth_flow.py | 29 days ago | ||
| test_client.py | 29 days ago | ||
| test_nested_upload.py | 29 days ago | ||
| test_revoke.py | 29 days ago | ||
| test_service_account.py | 29 days ago | ||
Cortex Vault is a high-performance, self-hosted, and 100% cloud-free data orchestration server. It is designed to receive, organize, and secure data from any Cortex-compatible device or agent, providing a premium administrative dashboard for real-time file management and auditing.
/.well-known/openid-configuration).VAULT_API_KEY or OIDC provider is configured.cortex-upload-server/ ├── app/ │ ├── main.py # FastAPI application & lifecycle │ ├── auth.py # OIDC, JWT, and API Key middleware │ ├── database.py # SQLite store for settings & node metadata │ ├── storage.py # Chunk merging & recursive disk management │ ├── routes/ # Modular API endpoints (Auth, Admin, Upload) │ └── static/ # Premium Material Design 3 Dashboard ├── data/ # Encrypted-at-rest persistent storage ├── start.sh # Intelligent bootstrap script └── .env # Environment configuration
Clone the repository and create a .env file:
VAULT_API_KEY=your-secure-key # Leave empty for anonymous mode JWT_SECRET=your-jwt-secret # Used for dashboard sessions STORAGE_PATH=./data PORT=8080
Run the bootstrap script (requires Docker or Python 3):
chmod +x start.sh ./start.sh
Once the server is running, navigate to the Settings modal in the dashboard to enable OIDC and configure your Issuer URL, Client ID, and required claims.
| Endpoint | Method | Auth Required | Purpose |
|---|---|---|---|
/api/admin/stats |
GET | Admin | System health & storage metrics |
/api/admin/nodes |
GET | Admin | List all registered devices |
/api/admin/files/{node_id} |
GET | Admin/Node | Browse file tree |
/api/admin/read/{node_id}/{path:path} |
GET | Admin/Node | View/Read file content |
POST /api/upload/init?filename=data.bin&total_size=1048576POST /api/upload/chunk?upload_id={id}&chunk_index=0POST /api/upload/finalize/{id}Cortex Vault: Your data, your hardware, your control.