BugText

A Markdown editor and document workspace for Mac. Write with live preview, read and mark up PDFs, search a whole folder, and ask an AI about your notes.

Version 0.3.023 Oct 2026macOS · Apple Silicon · Pandoc + Typst for PDF/DOCX export14.2 MB36 downloads

What it is

A Markdown editor that shows the finished page as you type

Open a folder and BugText lists every note in an Explorer beside the editor. Type on the left and the rendered page updates on the right, with tables, task lists, KaTeX math and Mermaid diagrams drawn in place.

  • Editor, Read or Editor + Preview mode for each tab
  • Formatting toolbar for headings, links, lists, tables and task lists
  • Syntax highlighting for Markdown, HTML, JSON, YAML, SQL and JavaScript
  • Tabs with unsaved markers, pinning and session restore
  • Six themes: System, Light, Dark, Catppuccin Mocha, Everforest Dark, Nord

Find and read

Notes, search and PDFs in the same window

Search a whole folder, open any file from the keyboard, read PDFs next to your notes and keep two documents open side by side.

Find in FolderSearch every text file and PDF at once, with case, whole-word and regex options.
Command palette⌘K finds files, headings in the open note, and every command.
PDF reader and editorAdd text and cover boxes, rewrite selected text, or OCR a scanned page offline.
Main and Sub panesSplit any window into two panes with their own tabs and view modes.

Optional AI

Ask about your notes with the AI tools you already use

The AI panel reads the open note and the most relevant passages from your folder, then shows which files it used. It runs Claude Code, Codex CLI or Pi from your Mac, or any API connection you add.

  • Choose an engine and model separately for Chat and each quick action
  • Proofread, Rewrite, Summarize and Generate outline from ⌘K or right-click
  • Every AI edit is shown as a diff before it touches your text
  • Attach files with 📎, drag and drop, or an @-mention
  • Works with Ollama, LM Studio, Anthropic, OpenAI and OpenRouter

How it works

From folder to finished document in four steps

BugText works on the files you already have. Nothing to import.

1

Open a folder

Pick any folder of notes. The Explorer shows its files, and you can create, rename, move and delete them there.

2

Write and preview

Edit Markdown with the preview beside you. Diagrams, math and tables render as you type.

3

Find and ask

Search the folder, jump with ⌘K, or ask the AI panel a question about your notes.

4

Save or export

Save with ⌘S. Export to PDF, Word (DOCX), PNG or SVG with math and diagrams included.

Local first

Your files stay on your Mac

BugText has no account and no cloud storage. It edits plain files in folders you choose, and keeps its own safety copies beside them.

Plain files

Notes are ordinary .md and .txt files. Open them in any other editor, or put the folder in your own sync service.

Recovery and history

Unsaved edits are drafted in the background and offered back after a crash. Each save keeps a local snapshot you can compare and restore.

Keys in the Keychain

API keys are stored in the macOS Keychain, never in settings files.

Sandboxed AI runs

Coding agents run in a macOS sandbox limited to the open folder, and BugText lists every file they changed.

Offline OCR

PDF text recognition runs inside the app with no network connection. English and Vietnamese are included.

Open source

BugText is MIT licensed and its source code is public on GitHub.

Changelog

What's new

0.3.0

Latest
  • New name: mdFlow is now BugText, with a new icon. Settings, recent files and saved API keys from mdFlow do not carry over.
  • Settings: a full-window Settings screen (⌘,) with search and General, Editing, Theme, Shortcuts and AI pages.
  • AI engines: pick Claude Code, Codex CLI, Pi or an API connection, with its model and effort, for Chat and each quick action.
  • Safer agents: coding agents run in a macOS sandbox limited to the open folder, and BugText lists every file they changed.
  • MCP server: Claude Code and Codex can search, read and edit your open notes. Off by default; each edit is snapshotted first.
  • Also new since 0.2.7: SQL highlighting, drag files between folders, interactive HTML previews and offline PDF OCR.
  • Fixed: open files reload when another app changes them, and a setting changed in one window is no longer undone by another.
  • Removed: Excalidraw boards. .excalidraw files now open as plain JSON text; open them in BugMind to keep drawing.
  • Removed: jsMind mind maps. .mind files stay on disk and open as plain JSON text; no BugText or BugMind importer reads them.
  • Removed: the Agent Console and built-in terminal. Run Claude Code, Codex or Pi in your own terminal app.

0.3.0

0.2.9

Release history →

Questions

What is BugText?

BugText is a desktop Markdown editor and document workspace. It opens a folder of Markdown, text, HTML and PDF files in one window, with a live preview, folder search, a command palette, a PDF reader with editing tools, and an optional AI panel.

Who is it for?

People who keep notes, documentation or project files as Markdown in folders: developers, technical writers, students and researchers who want an IDE-style layout without a heavy IDE.

Which platforms does it run on?

BugText is built for macOS. The download is for Apple Silicon Macs. PDF and DOCX export need Pandoc and Typst, which you can install with `brew install pandoc typst`. The AI panel needs either a supported command-line agent or an API connection.

How much does it cost?

BugText is free. It is open source under the MIT license. AI providers you connect may charge for their own service.

Where are my files and settings stored?

Your notes stay where you put them, as plain files. Settings live in the app's configuration folder on your Mac, and API keys are kept in the macOS Keychain. BugText has no account and does not upload your files. When you use AI, the note text and passages you send go to the engine you chose.

Does it work offline? Does it sync?

Everything except cloud AI and update checks works offline, including PDF OCR. BugText has no sync service of its own. Because notes are normal files, you can keep the folder in iCloud Drive, Dropbox or a Git repo, and BugText reloads files that change on disk.

How do I install and update it?

Download the .dmg from kael.io.vn and drag BugText to Applications. The app is not signed with an Apple Developer ID yet, so the first launch shows a Gatekeeper warning. Open System Settings ▸ Privacy & Security and click Open Anyway, then launch it again. Updates are signed and BugText always asks before installing one. Checks are manual by default; you can turn on a daily automatic check.

Can I import and export documents?

There is nothing to import: open any folder of .md, .txt, .html or .pdf files. Markdown documents export to PDF and Word (DOCX) with math and diagrams rendered, or to PNG and SVG images. HTML documents export to PNG and SVG.

How is it different from Obsidian or VS Code?

BugText has no vault format or plugin system to learn: it opens plain folders. Unlike VS Code it is built around reading and writing documents, with a rendered preview, a PDF reader and editor, and document export in the box. It does not have VS Code's extension ecosystem or Obsidian's linked-note graph.

Which AI tools does it work with?

BugText detects Claude Code, Codex CLI and Pi installed on your Mac. It can also connect to Anthropic, OpenAI, OpenRouter, or any OpenAI- or Anthropic-compatible server, including local models in Ollama, LM Studio and MLX. Each AI feature can use a different engine, and each can be turned off.

Can terminal agents read my notes?

Yes, if you turn it on. BugText includes an MCP server that lets Claude Code and Codex list, search, read, update and create notes in the folders open in the app. It is off by default, is limited to open folders, and takes a snapshot before every edit so you can undo it.

How do I report a bug or ask for a feature?

Open an issue at github.com/kael-wanderer/BugText/issues. Include your macOS version, the BugText version from Settings ▸ General, and the steps that cause the problem.

Download BugText

Comments

Public feedback for this project. Comments are shown without sign-in.

No comments yet

This project has no public feedback yet.