DevDocs is an AI-powered web application designed to automate the generation of high-quality documentation for GitHub repositories. Built using Next.js for the frontend and FastAPI for the backend, DevDocs leverages Ollama to orchestrate the IBM Granite 3.1 Dense 2B model, ensuring accurate and context-aware documentation. The application offers a seamless experience, allowing users to log in securely using GitHub OAuth and select repositories for documentation. DevDocs retrieves relevant code files using the GitHub API without cloning the repository, ensuring efficient processing. The AI model then generates comprehensive documentation, which users can review through an intuitive chat interface. Users can provide feedback, and the model updates the content in real time. Once approved, the final documentation is committed back to the repository with a single click. By automating the documentation process and enabling interactive feedback loops, DevDocs saves developers time and ensures projects remain well-documented and accessible.
23 Feb 2025