Collaborative documentation platform with Git integration - convert your git code to a docs portal.
This repository contains documentation and deployment scripts for the CyberWiki project. The actual source code is organized in separate repositories:
- Backend:
.workspace-sources/cyberfabric/cyber-wiki-back- Django REST API - Frontend:
.workspace-sources/cyberfabric/cyber-wiki-front- React web application - Docs:
docs/- Technical specifications and design documents
- Python 3.14+
- Node.js 25+ (for frontend)
- Git
From this repository root:
./scripts/run-local.shThis will:
- Start the backend on http://localhost:8000
- Start the frontend on http://localhost:5173
- Auto-create admin user (admin/admin)
- Run migrations automatically
-
Clone the workspace sources (if not already cloned):
cd .workspace-sources/cyberfabric git clone https://github.com/cyberfabric/cyber-wiki-back git clone https://github.com/cyberfabric/cyber-wiki-front -
Setup backend:
cd .workspace-sources/cyberfabric/cyber-wiki-back python3 -m venv venv source venv/bin/activate pip install -r requirements.txt python manage.py migrate
-
Setup frontend (when available):
cd .workspace-sources/cyberfabric/cyber-wiki-front npm install -
Run from main repo:
cd /path/to/cyber-wiki ./scripts/run-local.sh
cyber-wiki/ # Main repo (this one)
├── docs/ # Technical documentation
│ └── specs/ # Design specifications
│ ├── backend/DESIGN.md # Backend architecture
│ ├── frontend/DESIGN.md # Frontend architecture
│ ├── PRD.md # Product requirements
│ └── GAPS.md # Implementation gaps
├── scripts/ # Deployment & utility scripts
│ └── run-local.sh # Local development runner
├── .workspace-sources/ # Linked source repositories
│ └── cyberfabric/
│ ├── cyber-wiki-back/ # Backend Django app
│ └── cyber-wiki-front/ # Frontend React app
└── .cypilot-workspace.toml # Workspace configuration
Django REST API with 70+ endpoints, 18 models, and comprehensive test coverage.
Endpoints:
- API: http://localhost:8000/api/
- Admin: http://localhost:8000/admin/ (credentials:
admin/admin) - Swagger Docs: http://localhost:8000/api/docs/
- ReDoc: http://localhost:8000/api/redoc/
Core Features:
- ✅ Token-based authentication (Bearer tokens)
- ✅ Git provider abstraction (GitHub, Bitbucket Server)
- ✅ Document management with UUID-based IDs
- ✅ Tree builder & navigation
- ✅ Comments with line anchoring
- ✅ Change management workflow
- ✅ Auto-tagging (TF-IDF)
- ✅ Link extraction & validation
- ✅ Background Git sync
React application built with hai3 framework and OpenSpec workflow.
Current Features:
- ✅ Token-based authentication with login screen
- ✅ Redux state management (FLUX pattern)
- ✅ Event-driven architecture
- ✅ i18n support (English + Spanish)
- ✅ Demo screenset with UI components
Access:
- App: http://localhost:5173
- Login:
admin/admin
Next Steps:
- Repository browser
- Document viewer
- Comment UI
- Tag management
- Change approval workflow
- Backend: Django 5.2 + Django REST Framework
- Frontend: React + hai3 framework + Redux
- Database: SQLite (dev) / PostgreSQL (production)
- Git Integration: GitPython
- Authentication: Bearer tokens (JWT-like)
This is a multi-repo workspace. When making changes:
- Backend changes go in
.workspace-sources/cyberfabric/cyber-wiki-back - Frontend changes go in
.workspace-sources/cyberfabric/cyber-wiki-front - Documentation and deployment scripts go in this main repo