Documind is an AI-powered documentation assistant built as a VS Code extension. It analyzes your workspace to generate and maintain docs (README, API, Architecture, etc.), offers an in-editor AI chat with project context, tracks changes with diffs and Apply/Revert, and simulates maintenance workflows (PR suggestions, outdated docs, changelogs).
- Prerequisites: Node.js 18+, VS Code 1.74+, Git
- Clone
git clone https://github.com/MahWilson/null-idea.git
cd null-idea- Install dependencies
npm install
cd webview && npm install && cd ..- Build
npm run compile
npm run webview:build- Run in VS Code (Debug F)
- Open this folder in VS Code
- Press F5 to launch the Extension Development Host (Documind loaded)
Optional: Package and install the .vsix
npm run extension:package
# In VS Code: Extensions → … → Install from VSIX → choose generated file- Documentation generation: README, API, Architecture, Setup, Contributing, etc.
- Chat tab: keyword commands (explain/summarize/generate/regenerate), artificial “thinking” delay, file context management.
- Maintenance: simulated PR notifications, outdated docs detection, changelog actions.
- Activity log: diffs for all generated/modified files with Apply/Revert toggle buttons.
- UI/UX: floating file upload button with popup, responsive sizing, iOS-style toggles, animations.
src/
extension.ts # Main extension entry & logic
services/
WorkspaceAnalyzer.ts # Project/code analysis for docs
DocumentationGenerator.ts# Content generation utilities
MaintenanceService.ts # Simulated PR/outdated/changelog notifications
ChangeTracker.ts # Change tracking, diffs, apply/revert
webview/
src/ # React components (Chat, Header, etc.)
dist/ # Built assets (after webview build)
- “Documind: Open Chat” – opens the chat panel
- “Documind: Generate All Docs” – generates missing/outdated docs
- “Documind: Update Notifications” – refresh maintenance notifications
- No real API keys are required for the prototype; AI calls are stubbed/safe.
.gitignoreexcludes.env, build artifacts,.vsix, andnode_modules.
npm run watch # watch TypeScript changes
cd webview && npm run dev # webview dev with hot reloadMIT (see LICENSE)
Built for developer ergonomics: fast, in-editor workflows and explainable changes.