A self-hosted knowledge base management tool with built-in knowledge graph visualization, automated Git versioning, and quantitative quality assessment.
Graphify Lens turns your knowledge base into a measurable, version-controlled, and visually explorable asset.
- Knowledge Graph Visualization — Interactive D3.js force-directed graph with zoom, drag, and node metadata inspection
- Auto Git Versioning — Background scheduler automatically commits knowledge base changes to Git
- Quality Assessment — Five-dimension scoring system (Coverage, Accuracy, Freshness, Governance, Reuse & Growth)
- Quality Dashboard — Real-time metrics dashboard with historical trend charts
- Cross-Platform — Single binary for macOS, Linux, and Windows (amd64/arm64)
- Zero Dependencies — No runtime dependencies, no database, no external services
Download the latest binary from Releases for your platform.
git clone https://github.com/cybernetix-lab/graphify-lens.git
cd graphify-lens
go build -o graphify-lens ./cmd/graphify-lens/# Start with default config
./graphify-lens
# Start with custom config
./graphify-lens --config config.example.jsonOpen http://localhost:8080 in your browser.
Place your knowledge nodes and edges in the work directory (default: ~/.graphify-lens/data/):
~/.graphify-lens/data/
├── nodes/
│ ├── concept_001.json
│ ├── topic_001.json
│ └── ...
└── edges/
└── relations.json
See data/sample/ for example data.
┌─────────────────────────────────────────────────────┐
│ Browser (D3.js + Chart.js) │
├─────────────────────────────────────────────────────┤
│ HTTP API (net/http) │
├──────────┬──────────┬───────────┬───────────────────┤
│ Graph │ Quality │ Git │ Scheduler │
│ Parser │ Assessor │ Manager │ (time.Ticker) │
├──────────┴──────────┴───────────┴───────────────────┤
│ File System (nodes/ + edges/) │
└─────────────────────────────────────────────────────┘
| Dimension | Weight | What It Measures |
|---|---|---|
| Coverage | 30% | Type/topic/scenario coverage of the knowledge base |
| Accuracy | 25% | Edge confidence, source reference coverage |
| Freshness | 20% | Review compliance, stale page ratio |
| Governance | 15% | Metadata completeness, owner coverage, permission compliance |
| Reuse & Growth | 10% | Knowledge ROI, conversion rate |
{
"work_dir": "~/.graphify-lens/data",
"port": 8080,
"git_auto_commit": true,
"commit_interval": "30m",
"commit_message": "auto: graphify-lens knowledge base snapshot",
"quality_history": "~/.graphify-lens/quality_history",
"data_dir": "~/.graphify-lens",
"author_name": "Graphify Lens Bot",
"author_email": "graphify-lens-bot@teambuddy.local"
}| Method | Path | Description |
|---|---|---|
| GET | /api/graph |
Full knowledge graph (nodes + edges) |
| GET | /api/stats |
Graph statistics |
| GET | /api/quality/current |
Current quality assessment |
| GET | /api/quality/history |
Historical quality records |
| GET | /api/status |
Scheduler status |
| POST | /api/cycle/run |
Trigger assessment + commit cycle |
{
"id": "concept_001",
"type": "concept",
"title": "Knowledge Governance",
"owner": "alice",
"classification": "L1-team-public",
"visibility_scope": "all_engineers",
"status": "active",
"last_reviewed_at": "2026-05-15T10:00:00Z",
"freshness_sla": "720h",
"source_refs": ["https://example.com/doc"],
"scenario_tags": ["oncall", "coding"]
}Supported node types: concept, topic, runbook, decision, case, faq, article, source.
# Build for all platforms
bash scripts/build.sh
# Create distribution packages
bash scripts/dist.shSee CONTRIBUTING.md for development setup and guidelines.
MIT — see LICENSE for details.