๐ฅ OpenCodeDocs

๐ฏ #1 AI Ecosystem Tutorial Site ยท Source-Driven ยท 100% Runnable
AI tools iterating too fast? Official docs can't keep up? Tutorials online are outdated?
We deeply analyze open source project source code, and every line of code is verified.
โ
Follow along, succeed on the first try, no detours.
๐ Get Started ยท โญ Star This Repo ยท ๐ฌ Join Discussion
่ฏญ่จ
็ฎไฝไธญๆ ยท English ยท ๆฅๆฌ่ช ยท ํ๊ตญ์ด ยท Espaรฑol ยท Franรงais ยท Deutsch ยท Portuguรชs ยท ะ ัััะบะธะน ยท ็น้ซไธญๆ
๐ก Have you encountered these situations?
- โ Official docs lag behind, following tutorials but can't get it working?
- โ Online tutorials are just copy-paste, code won't run?
- โ Encounter errors, search everywhere but can't find solutions?
- โ Want to advance, but can't find practical guidance diving into source code?
OpenCodeDocs is specifically designed to solve these problems.
โจ Why Choose OpenCodeDocs?
๐ฏ Source-Verified, No Hallucinations
Not copied from the internet, but core logic derived from real source code
We deeply analyze open source project source code, ensuring every line of code passes automated verification. Tutorials specify the exact Git Commit version, so you know exactly which version the code is based on.
๐ Continuous Updates, Synchronized Upgrades
When tools update, tutorials update automatically
When projects release new versions, our tutorials update synchronously. You don't need to worry about outdated tutorialsโalways learn the latest content.
๐ก Our tutorials are rapidly updating, continuously adding more high-quality projects!
๐ 10+ Languages, Globally Accessible
Chinese, English, Japanese, Korean, Spanish, French, German, Portuguese, Russian, Traditional Chinese...
No matter where you're from, learn AI tools in your native language.
โ
100% Runnable, Zero Trial-and-Error
Follow along, succeed on the first try, no guessing, no trial and error
Every step of our tutorials is verified, from installation to deployment. Just follow along and it will work. No frustration, no pitfalls, no detours.
๐ค Which category do you belong to?
๐ฑ AI Tool Beginners
Can't install? Can't configure? Don't worry, we have step-by-step tutorials
- Zero knowledge needed to get started
- Detailed explanations for every step
- Solutions for common errors
๐ป Advanced Developers
Want to advance? Let's dive deep into source code
- Multi-account rotation techniques
- Token-saving secrets
- Agent automation in practice
- Deep analysis at source code level
๐ข Tech Teams
Need unified standards for team collaboration?
- Reusable best practices
- Complete project structure
- Production deployment guide
๐ Get Started in 3 Minutes
Step 1: Clone Repository
git clone https://github.com/vbgate/opencodedocs.git
cd opencodedocs/site
Step 2: Install Dependencies
npm install
Step 3: Start Development Server
npm run dev
Visit http://localhost:5173 and start your AI tool learning journey! ๐
๐ก Tip: You can also visit opencodedocs.com to view online documentation.
๐ Project Structure
site/
โโโ docs/ # Documentation root
โ โโโ zh/ # Chinese tutorials ๐จ๐ณ
โ โโโ en/ # English tutorials ๐บ๐ธ
โ โโโ ja/ # Japanese tutorials ๐ฏ๐ต
โ โโโ ko/ # Korean tutorials ๐ฐ๐ท
โ โโโ es/ # Spanish tutorials ๐ช๐ธ
โ โโโ fr/ # French tutorials ๐ซ๐ท
โ โโโ de/ # German tutorials ๐ฉ๐ช
โ โโโ pt/ # Portuguese tutorials ๐ต๐น
โ โโโ ru/ # Russian tutorials ๐ท๐บ
โ โโโ zh-tw/ # Traditional Chinese tutorials ๐น๐ผ
โ โโโ .vitepress/ # VitePress configuration
โ โ โโโ config.mts # Main config file
โ โ โโโ sidebar.config.ts # Sidebar auto-generation
โ โ โโโ theme/ # Custom theme components
โ โโโ about.md # About us
โ โโโ terms.md # Terms of service
โโโ scripts/ # Utility scripts
โ โโโ add-order-to-md.ts # Add order field
โ โโโ check-frontmatter.ts # Check Frontmatter
โ โโโ create-category-indexes.ts # Create category indexes
โโโ package.json # Project configuration
โโโ tailwind.config.js # Tailwind CSS configuration
โโโ postcss.config.js # PostCSS configuration
๐ ๏ธ Tech Stack
| Technology |
Version |
Description |
|
1.x |
Static site generator ยท Lightning-fast builds |
|
3.4+ |
Frontend framework ยท Composition API |
|
4.x |
Styling system ยท CSS-first configuration |
|
5.9+ |
Type safety ยท Compile-time checking |
|
11.x |
Diagram support ยท Flowchart visualization |
|
Pages |
Global CDN ยท 200+ edge nodes |
๐ Development Guide
โ Add New Tutorial
Create directory structure
docs/zh/[owner]/[repo]/
โโโ index.md # Project homepage
โโโ start/ # Quick start
โโโ features/ # Feature introduction
โโโ faq/ # FAQ
Write Frontmatter
---
title: "Tutorial Title" # 2-6 Chinese characters or 4-12 English words
order: 10 # Sort order (10, 20, 30...)
sidebarTitle: "Sidebar Title" # Optional
description: "SEO description" # Search engine optimization
---
Verify Build
npm run docs:build
๐ Add Multi-Language Support
Add project in docs/.vitepress/sidebar.config.ts:
const projects = [
'owner/repo', // Add your project
]
Then translate home-config.[lang].json files.
๐จ Customize Theme
- Component location:
docs/.vitepress/theme/components/
- Style file:
docs/.vitepress/theme/custom.css
- Tailwind v4: Use CSS-first configuration
๐ Deployment Guide
Local Build
npm run docs:build
Build output is located in docs/.vitepress/dist/ directory.
Deploy to Cloudflare Pages
# Auto deploy
npm run deploy
Preview Build Results
npm run docs:preview
โก Performance Optimization
- Image optimization: Use WebP format, compress under 200KB
- Code splitting: VitePress automatically splits by route
- CDN acceleration: Static assets automatically uploaded to Cloudflare CDN
- Prerendering: Core pages prerendered, first-screen load < 500ms
โ
Our site is deployed on a global CDN with lightning-fast access speed!
๐ค Contributing
We welcome community contributions! Submit your tutorials, fix bugs, add new features.
Contribution Workflow
Fork this repository
# Click the Fork button on GitHub page
Create feature branch
git checkout -b feature/amazing-feature
Commit changes
git commit -m 'Add amazing feature'
Push to branch
git push origin feature/amazing-feature
Submit Pull Request
- Click the "Pull Request" button on GitHub
- Fill in PR description, explain your changes
๐ Your contribution will help developers worldwide better use AI tools!
๐ฅ Submit Tutorial Request
Want high-quality tutorials for your project? Just 3 steps!
๐ Submission Process
Step 1: Submit Issue
- Visit GitHub Issues
- Click "New Issue"
- Use the following template:
**Project Name**: [Project Name]
**GitHub Repository**: https://github.com/[owner]/[repo]
**Project Description**: [1-2 sentences describing project purpose]
**Target Audience**: [Beginner/Intermediate/Expert/All]
**Tutorial Language**: [Chinese/English/Other]
**Notes**: [Additional information]
Step 2: Team Review
- We review your application within 1-3 business days
- Evaluate whether the project is suitable for inclusion
- Confirm project source code quality and activity
Step 3: Tutorial Launch
- After approval, we automatically generate tutorials
- Verify runnable nature of every step
- Publish to official website, support multiple languages
โฑ๏ธ Processing Time
- Review cycle: 1-3 business days
- Tutorial generation: 3-7 business days
- Launch time: Immediately published after approval
โ FAQ
Q: What types of projects are suitable for inclusion?
A: Open source AI tools, development tools, libraries, frameworks, etc. Must have certain technical depth and usage value.
Q: Are tutorials free?
A: Yes, our tutorials are completely free and will be continuously updated and maintained.
Q: Can I specify tutorial language?
A: Yes, we support 10 languages. You can specify needed language in Issue.
๐ฏ Submit now: Create Issue โ
๐ License
Site Code
MIT License
Tutorial Content
CC-BY-NC-SA 4.0
Attribution - NonCommercial - ShareAlike
โ
You can:
- ๐ Share: Freely share and adapt
- ๐ง Modify: Create derivative works based on tutorial content
- ๐ฅ Contribute: Submit your improvements
โ You cannot:
- ๐ฐ Commercial use: Unauthorized use for commercial purposes is prohibited
๐ก If you want to use tutorials for commercial purposes, please contact us: vbgatecom@gmail.com
๐ Contact Us
Any questions or suggestions? Feel free to contact us!