Davia is an open-source tool that generates interactive internal documentation for your local codebase. Point it at a project path and it writes documentation files locally with interactive visualizations that you can edit in a Notion-like platform or locally in your IDE.
git clone https://github.com/davialabs/davia.git
cd davia
pnpm iBy default, Davia looks for a .env file in the root of the project path you provide. Configuration is only optional if there are already API keys in the project path you're generating docs from. To configure API keys in the Davia monorepo instead:
- Rename
.env.exampleto.env - Add your AI provider API key (we recommend Anthropic for best results)
- Davia will use the first available key in this order: Anthropic → OpenAI → Google
When prompted, enter the absolute path of your project:
Enter absolute path of the project to document: [path of the local codebase you want to document]
Davia spins up a docs window that populates in real time, and you can edit the pages as they appear.
If you stopped the process and want to view the results later, you can launch the visualization app manually:
This is the Davia workspace view of your generated docs:
Contributions are welcome! We'd love your help to make Davia better:
- Report bugs or request features — Open an issue to let us know what's not working or what you'd like to see
- Improve the codebase — Submit pull requests with bug fixes, new features, or optimizations
- Share feedback — Tell us what you think and help shape Davia's future
davia-docs-demo-github.mp4
This project is licensed under the MIT License - see the LICENSE file for details.

