Monorepo for allmd, a CLI that converts web pages, YouTube videos, PDFs, Google Docs, video and audio, images, Word docs, EPUBs, CSVs, PowerPoints, tweets, and RSS feeds into markdown.
| Path | What it contains | Notes |
|---|---|---|
apps/cli |
Published allmd npm package and programmatic API |
See apps/cli/README.md for install and converter usage. |
apps/web |
Next.js 16 marketing site | Landing page for allmd and redirect layer for hosted docs. |
apps/docs |
MDX docs source | Installation, usage, API, skills, and per-converter docs. |
git clone https://github.com/mblode/allmd.git
cd allmd
npm install
npm run buildRequires Node.js 20+.
Run these commands from the repository root:
npm run dev
npm run build
npm run test
npm run check
npm run fixCLI package commands:
cd apps/cli
npm run build
npm run test
npm run test:e2e
npm run check-typesThe CLI E2E suite builds and packs apps/cli, installs the tarball into an isolated temporary global npm prefix, and exercises the installed allmd binary. Use npm run test:e2e:live with OPENAI_API_KEY and FIRECRAWL_API_KEY to include live conversion smoke tests.
Web app commands:
cd apps/web
npm run dev
npm run build
npm run checkOPENAI_API_KEYis required for AI-backed converters.apps/cli/src/ai/client.tsreads it from the environment orapps/cli/.env.FIRECRAWL_API_KEYis required for web page conversion.- Video and audio conversion uses the bundled
ffmpeg-staticbinary.
- CLI entry point:
apps/cli/src/cli.ts - Public API:
apps/cli/src/index.ts - Converter commands live in
apps/cli/src/commands/ - Converter implementations live in
apps/cli/src/converters/ - Input auto-detection lives in
apps/cli/src/utils/detect.ts - Most converters follow
validate -> extract -> AI format -> frontmatter -> output - Web conversion skips the AI formatting step and uses Firecrawl markdown directly
Publish the CLI from the repo root with:
npm run releaseThat runs the filtered Turbo build and publishes via Changesets from apps/cli.
- npm: allmd
- GitHub: mblode/allmd
- Package docs:
apps/cli/README.md