Skip to content

zeemarquez/lemba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

199 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✒️ Lemba

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 |

Screenshot

📖 Table of Contents

✨ Key Features

🛠️ Dual-Mode Editing

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.

📄 Real-time PDF Rendering (Powered by Typst)

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.

🎨 Your Documents, Your Style

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.

🔒 Privacy & Offline-First

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.

🤖 AI Assistant (Beta)

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.

🚀 Technology Stack

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

🛠️ Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm / yarn / pnpm

Local Development

  1. Clone the repository:

    git clone https://github.com/zeemarquez/lemba.git
    cd lemba
  2. Install dependencies:

    npm install

    (Or use yarn or pnpm if you prefer.)

  3. Start the development server:

    npm run dev

    Open http://localhost:3000 in your browser.

  4. Optional — run as a desktop app: To run the Electron wrapper in development:

    npm run electron:dev

About

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 templating and the flexibility of Notion-style visual editing.

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors