
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
AI-powered GitHub Wiki generator that automatically creates comprehensive documentation for your projects.
Git Wiki Builder transforms your project's README, documentation files, and code structure into a comprehensive, well-organized GitHub Wiki using AI. It analyzes your project intelligently and generates professional documentation that follows industry best practices.
Git Wiki Builder automatically generates a complete wiki structure:
pip install git-wiki-builder
Run this in your repository root to set up everything automatically:
curl -sSL https://raw.githubusercontent.com/example/git-wiki-builder/main/setup-wiki.sh | bash
Or manually create the workflow file:
mkdir -p .github/workflows
Create .github/workflows/wiki.yml
:
name: Generate Wiki Documentation
on:
push:
branches: [main, master]
paths: ['README.md', 'docs/**', 'src/**', '*.md']
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
generate-wiki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install git-wiki-builder
- run: git-wiki-builder
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
Enable Wiki in your repository:
Commit and push:
git add .github/workflows/wiki.yml
git commit -m "Add automated wiki generation"
git push
Your wiki is ready! 🎉
https://github.com/yourusername/yourrepo/wiki
# Test locally before publishing
git-wiki-builder --dry-run --output-dir ./wiki-preview
# Use verbose logging for debugging
git-wiki-builder --verbose --dry-run
Create .git-wiki-builder.yml
:
# AI Configuration
ai:
provider: "github" # Free for public repos
model: "gpt-4o-mini" # Fast and efficient
# Custom Wiki Structure
wiki_structure:
"Home": ["overview", "quick_start"]
"Documentation": ["user_guide", "api_docs"]
"Development": ["contributing", "setup"]
# Validation
validation:
skip: false # Enable markdown validation
# Use OpenAI (requires API key)
ai:
provider: "openai"
model: "gpt-4"
# Use Anthropic Claude (requires API key)
ai:
provider: "anthropic"
model: "claude-3-sonnet-20240229"
Create custom-prompts.yml
:
home: |
Create a welcoming home page for {project_name}.
Highlight: {key_features}
Make it beginner-friendly and engaging.
api_reference: |
Document the API for {project_name}.
Include authentication, endpoints, and examples.
Code structure: {code_structure}
Use with: git-wiki-builder --prompt-file custom-prompts.yml
Git Wiki Builder works with any project but provides enhanced support for:
Technology | Auto-Detected Features |
---|---|
Python | Dependencies, virtual envs, testing frameworks |
Node.js | Package.json, npm scripts, testing |
Docker | Container deployment, compose files |
APIs | OpenAPI specs, endpoint documentation |
CI/CD | GitHub Actions, deployment pipelines |
Databases | Schema documentation, migrations |
git-wiki-builder [OPTIONS]
Options:
-r, --repo-path DIRECTORY Repository path (default: current directory)
-c, --config-file FILE Custom configuration file
-p, --prompt-file FILE Custom prompt templates
-o, --output-dir DIRECTORY Local output directory
--ai-provider [github|openai|anthropic] AI provider (default: github)
--ai-model TEXT Specific model to use
--dry-run Generate locally without publishing
--verbose Enable detailed logging
--skip-validation Skip markdown validation
--help Show help message
Variable | Description | Required |
---|---|---|
GITHUB_TOKEN | GitHub token (auto-provided in Actions) | Yes |
GITHUB_REPOSITORY | Repository name (auto-provided in Actions) | Yes |
OPENAI_API_KEY | OpenAI API key | Only for OpenAI provider |
ANTHROPIC_API_KEY | Anthropic API key | Only for Anthropic provider |
We welcome contributions! See our Contributing Guide for details.
git clone https://github.com/example/git-wiki-builder.git
cd git-wiki-builder
pip install -e ".[dev]"
pytest
MIT License - see LICENSE file for details.
See Git Wiki Builder in action:
⭐ Star this repository if Git Wiki Builder helps your project!
Made with ❤️ for the developer community
FAQs
AI-powered GitHub Wiki generator for automated documentation
We found that git-wiki-builder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.