Focus on writing. We handle the rest.
Lemba is a modern, open-source, offline-first Markdown editor designed for writers, researchers, and power users. It combines the simplicity of Markdown with the power of professional typesetting (powered by Typst) and the flexibility of Notion-style visual editing.
Launch Online | Download for Desktop |
Switch seamlessly between a distraction-free Raw Markdown editor and a rich Visual WYSIWYG experience. No context switching, no lag—just pure flow.
- Raw Mode: Full control over syntax and frontmatter.
- Visual Mode: Focus on structure with an Obsidian/Notion-like interface.
Forget generic Markdown exports. Lemba uses a lightning-fast engine to render production-ready PDFs as you type.
- High-fidelity previews: See exactly how your document will look on paper.
- Professional Typography: Benefit from Typst's superior layout engine.
Go beyond basic themes. Lemba features a powerful Template Editor.
- Custom Templates: Control every detail of typography, spacing, and layout.
- Document Variables: Reuse content throughout your document. Update a value once, and it reflects everywhere.
- Style Sharing: Export and share your style configurations.
Your data stays on your device. Lemba is built to work 100% offline, ensuring total privacy and reliability.
- Local-first: Files are saved to your local file system or browser storage.
- Cloud Sync (Beta): Optional encrypted sync to keep your work available across devices.
Draft, refine, and expand your Markdown with a built-in AI agent.
- In-context edits: Get suggestions without leaving the editor.
- Smart Polish: Transform rough notes into polished professional documents instantly.
Lemba is built with modern web technologies to ensure performance across web and desktop:
- Frontend: Next.js (React)
- Editor: Custom engine with Markdown support
- PDF Engine: Typst
- Desktop Wrapper: Electron
- Styling: Tailwind CSS
- Node.js (v18 or higher)
- npm / yarn / pnpm
-
Clone the repository:
git clone https://github.com/zeemarquez/lemba.git cd lemba -
Install dependencies:
npm install
(Or use
yarnorpnpmif you prefer.) -
Start the development server:
npm run dev
Open http://localhost:3000 in your browser.
-
Optional — run as a desktop app: To run the Electron wrapper in development:
npm run electron:dev
