Generate docs from a single url
The AI documentation pipeline that lives in your CLI. Authenticate, select, and generate high-fidelity docs from your GitHub repo.
npm i -g @subhraneel2005/docshubSecure Auth
GitHub device authentication with local token encryption.
AI Pipeline
Automated planning and multi-stage content generation.
The AI Pipeline
How Docshub transforms raw markdown into a structured site.
GitHub Device Auth saves your accessToken securely in ~/.docshub/config.json.
Input user/repo. We index every MD/MDX file for context selection.
LLM analyzes compiled content to generate a holistic documentation plan.
Internal Compilation
Docshub decodes and compiles selected markdown files into a high-density context string, minimizing LLM token waste while maximizing architectural understanding.
Desktop Delivery
Final files are written to your Desktop in a timestamped folder. Ready to be dropped into any documentation framework like Fumadocs or Mintlify.
Clone Starter
git clone https://github.com/subhraneel2005/fumadocs-starterPurge Git
rm -rf .gitPaste & Hydrate
Move your docs-[timestamp] content into /content/docs/