codewiki
codewiki is an intelligent documentation tool that automatically generates wiki-style documentation for your GitHub or local repositories using AI.
Explore the conversation memory system architecture in CodeWiki. This three-layer design uses DataComponent, DialogTurn, CustomConversation, and Memory for stateful LLM interactions without databases.
Configuration Requirements for Deploying CodeWiki: Complete Setup GuideDeploying CodeWiki needs Python 3.9, GitHub, Gemini, and Google API keys. Set up environment variables in .env to configure your FastAPI server.
How CodeWiki Handles Different Repository Types: GitHub vs Local RepositoriesLearn how CodeWiki processes GitHub and local repositories. Discover its regex-based type detection and unified structure normalization for seamless wiki generation.
What Is the Role of the Ollama Embedder in Code Embedding?Discover how the Ollama embedder transforms code and docs into vectors for semantic search and RAG in the codewiki repository. Optimize your code knowledge base.
How CodeWiki Manages Token Counting and Context Window in Chat ConversationsDiscover how CodeWiki manages token counting and context window with a three-layer defense: tiktoken, message limits, and document thresholds to optimize chat performance.
Environment Variables Needed to Deploy CodeWiki: Complete Configuration GuideLearn the essential environment variables like PORT, GITHUB_API_KEY, and GEMINI_API_KEY needed to successfully deploy your CodeWiki application. Get the complete configuration guide now.
How CodeWiki Processes Mermaid Diagram Click Events: A Deep Dive into the React ImplementationLearn how CodeWiki processes Mermaid diagram click events using React. Discover how onClick handlers toggle fullscreen mode and display diagrams in a modal overlay.
Understanding Mermaid Diagram Validation Logic in CodeWiki: A Technical Deep DiveExplore the mermaid diagram validation logic in CodeWiki. Discover how the handle_mermaid_validation function sanitizes diagrams through five key transformations. Learn more now.
How CodeWiki Manages GitHub API Rate Limiting: A Deep Dive into the ImplementationDiscover how CodeWiki handles GitHub API rate limiting. Learn how it leverages authentication tokens to boost request quotas from 60 to 5,000 per hour without dedicated handling.
How CodeWiki Fetches Repository Structures from GitHub: A Complete Technical GuideLearn how CodeWiki fetches repository structures from GitHub. It parses URLs, queries the GitHub API for file trees and readmes, and decodes content for a clear view.
How the CodeWiki Frontend Integrates with the FastAPI Backend: A Complete Technical GuideDiscover how the CodeWiki Next.js frontend integrates with the FastAPI backend using REST APIs and Redis for real-time asynchronous wiki generation and progress updates.
Multi-Step Diagram Generation Process in CodeWiki: A 4-Stage Pipeline ExplainedDiscover CodeWiki's 4-stage pipeline for multi-step diagram generation. Learn how GitHub data transforms into validated Mermaid diagrams with LLM insights.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →