Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

dillinger

> 开发工具
Open source

The last Markdown editor, ever.

8.3K stars0 likes1 views
WebsiteGitHub

About

The last Markdown editor, ever.

Dillinger

The last Markdown editor you'll ever need.

A modern, cloud-native Markdown editor built on Next.js — designed for speed, focus, and seamless sync.

Get Started · Features · Integrations · Deploy


✨ Why Dillinger

Most markdown editors are either:

  • bloated
  • offline-only
  • or lack serious developer ergonomics

Dillinger fixes that.

It combines:

  • ⚡ VS Code-grade editing
  • ☁️ Native cloud storage
  • Distraction-free UX
  • Real-time rendering

⚡ Quick Start

bash
npm install
npm run dev

Open → http://localhost:3000


Requirements

  • Node.js 18+
  • npm / yarn / pnpm / bun

Features

Editor Experience

  • Monaco Editor (VS Code core)
  • Syntax highlighting for Markdown
  • Image paste support

Live Workflow

  • Real-time preview
  • Scroll sync
  • Instant feedback loop

Focus Mode

  • Zen Mode (Cmd/Ctrl + Shift + Z)
  • Fullscreen, distraction-free writing

File Handling

  • Drag & drop .md, .txt, .markdown
  • Auto-save (local persistence)

Export

  • Markdown
  • HTML
  • PDF

Cloud Integrations

  • GitHub
  • Google Drive
  • Dropbox
  • OneDrive
  • Bitbucket

Environment Setup

Create:

bash
.env.local

Template

…

☁️ Cloud Integrations

Each provider requires OAuth configuration.

Google Drive

  • Enable Drive API
  • Create OAuth credentials
  • Redirect:
/api/google-drive/callback

OneDrive

  • Azure App Registration

  • Permissions:

    • Files.ReadWrite
    • User.Read

Bitbucket

  • OAuth consumer
  • Repo read/write access

GitHub

  • OAuth App
  • Callback:
/api/github/callback

Dropbox

  • Scoped app

  • Enable:

    • files.metadata.read
    • files.content.write

Deployment

Update all OAuth callbacks:

bash
https://yourdomain.com/api/{provider}/callback

Then:

bash
npm run build
npm start

Tech Stack

Layer Technology
Framework Next.js 14
Editor Monaco
Styling Tailwind CSS
State Zustand
Icons Lucide

Scripts

bash
npm run dev              # Start dev server
npm run build            # Production build
npm start                # Start production server
npm run lint             # ESLint
npm run test             # Unit + E2E tests
npm run test:unit        # Vitest unit/integration tests
npm run test:watch       # Vitest watch mode
npm run test:e2e         # Playwright E2E tests
npm run test:e2e:headed  # E2E in visible browser
npm run verify           # Lint + typecheck + all tests

Testing

294 unit/integration tests (Vitest) + 39 E2E tests (Playwright) with 98% code coverage.

bash
npm run test:unit                # Run all unit tests
npx vitest run --coverage        # With coverage report
npm run test:e2e:headed          # E2E in visible browser

Tests live in tests/ organized by type: lib/, store/, hooks/, components/, routes/, and e2e/.


Philosophy

Dillinger is built around a simple idea:

Writing tools should disappear.

No friction. No clutter. Just flow.


Contributing

PRs welcome. Open an issue first for major changes.


License

MIT

Issues· 157 open

View all issuesOpen on GitHub
  • #215

    RTL Support

    Feature RequestUpdated Sep 10, 2026
  • #938

    Google Drive OAuth authorization fails with Error 403: access_denied (unverified app / testing mode)

    Updated Aug 11, 2026
  • #937

    [feature] Add an import export of the whole sessions.

    Updated Jul 18, 2026
  • #932

    Fix React duplicate key warning in Toast notifications

    Updated May 30, 2026
  • #930

    Medium has been removed from Dillinger's Save To menu.

    Updated May 18, 2026
  • #929

    List markers not visible in Preview

    Updated May 13, 2026
  • #928

    Document Preview doesn't scroll to the top with Scroll Sync

    Updated May 13, 2026
  • #927

    Scroll Sync doesn't work until turned off then on again

    Updated May 13, 2026
  • #915

    Vulnerability in dillinger project

    Updated Apr 6, 2026
  • #900

    Feature Request: Dark / Black Theme Support

    Updated Mar 27, 2026

> Tags

TypeScriptblogbloggingeditoride

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具