oryx README

The project's README from github.com/wmahfoudh/oryx. As one markdown file: README.md.

Oryx

Native code and text editor with the fastest Markdown renderer.
Full-spec Markdown, LaTeX math, and ebook or comic reading on a custom rendering engine
for Linux, Windows, and macOS.

Release Language License

Install · Features · Shortcuts · Performance · Changelog

Oryx demo: markdown and math, an 8 MB file, a 194 MB file, PDF export, code, themes, ebooks and a comic

Oryx is a daily-driver code and text editor made for a keyboard-first workflow. Files open directly in reading mode, and Ctrl+E toggles instantly between reading and editing. With no menus and no toolbars, the interface stays out of your way so you can focus on your code, writing, and reading. As a true native app running its own rendering engine (with no embedded browser or Electron), it combines raw speed with clean typography: showing an 8 MB Markdown file takes milliseconds (try it yourself with the markdown-challenge.md file in the examples folder).

Install

Get it from Microsoft

Packages are on the releases page:

For detailed installation instructions and for building from source, please check INSTALL.md.

What Oryx does

Fast with any file size

Oryx lays out only the first screens on open and processes the rest in the background across CPU cores. Memory stays flat while scrolling because only the visible region is drawn, and an idle window uses zero CPU. A lot of engineering went into making this scale without sluggishness, tested on files up to 200 MB, so Oryx runs smoothly even on an old laptop without a dedicated GPU. I do check Oryx performance before every release.

Uses the file system

Oryx works directly on your disk: no vault, no library, and nothing to import. Organize your files in plain folders, just as you always have. Open anything from the sidebar, with Ctrl+O, by dropping a file or folder onto the window, or from a terminal with oryx notes.md. The sidebar displays the current folder alongside an outline of the active file.

Switch to another file in the sidebar and return later to find your exact scroll position preserved. Alt+Left and Alt+Right navigate backward and forward across your file history or jump between locations in the same document, just like a web browser. Middle-click any file in the sidebar, or press Ctrl+Enter, to open it in a separate Oryx window (no tabs for the moment 🙂).

The Oryx sidebar on a folder of notes, with a note open

All the Markdown, and more

Oryx supports CommonMark, GitHub Flavored Markdown, and Markdown Guide extensions, including tables, footnotes, alerts, definition lists, and abbreviations. It renders GitHub-style HTML such as badges, centered blocks, and collapsible sections, and caches remote images and badges locally so they stay visible offline.

Math support covers TeX, LaTeX, AMS, KaTeX, and MediaWiki syntax, typeset with STIX Two Math and preserved consistently in PDF export. See SYNTAX.md for supported constructs and MATH.md for math syntax and commands. Press F1 to open a quick reference covering syntax, math, and shortcuts.

Oryx rendering an alert, a table and typeset math

Themes and PDF export

Oryx includes 34 themes (12 exclusive to Oryx), each defining 51 color tokens so every Markdown and syntax element has distinct styling. Press Ctrl+T to browse themes with instant live preview using the arrow keys, Enter to apply, or Escape to cancel. A theme editor is also included to customize existing themes or create your own with live preview.

Ctrl+P exports the current document using the same rendering engine that draws the screen, preserving exact layout, fonts, syntax highlighting, and math, while turning headings into PDF bookmarks. Oryx handles pagination cleanly: it avoids splitting text lines, images, or table rows across page breaks and prevents orphaned headings at the bottom of a page. Export theme, fonts, and page size are configured separately via Ctrl+Shift+P (including a black-and-white theme for monochrome output), so you can read in a dark theme and export to a light page without switching.

The Oryx theme browser open over a document

A PDF exported by Oryx

Text and code, for quick edits

Oryx opens any text file and highlights syntax for more than a hundred file extensions, as well as extensionless files like .bashrc or scripts starting with a #! shebang.

From the terminal, oryx main.rs:412:10 jumps straight to line 412, column 10, while git diff | oryx renders a colored diff directly in the viewer.

Press Ctrl+E to enter edit mode with essential code-editing tools: move, duplicate, or delete lines, toggle language-aware comments, run plain or regex find-and-replace, jump to a line, and display line numbers. Saving preserves existing line endings, keeping CRLF and LF files intact.

For everyday text and code editing, Oryx replaces Notepad, Notepad++, and similar editors. While it starts and renders faster than heavyweights like VS Code or Zed, it does not try to match their full IDE feature set: there is no built-in Git client, agentic workflow, or plugin ecosystem.

Editing code in Oryx with line numbers and regex find and replace

Ebooks and comics

Oryx opens EPUB, MOBI, AZW3 (Kindle), and FB2 books, rendering them with your active theme and fonts rather than the publisher's styling. Text is justified like a printed book (Ctrl+J toggles justification if you don't like it), the sidebar displays the table of contents, and the reading position is saved automatically. The Adventures of Sherlock Holmes is included in the examples folder to test it out.

For Arabic and Hebrew, Oryx detects text direction per paragraph, so mixed English and RTL passages flow properly on the same page. Amiri (Arabic) and David Libre (Hebrew) are bundled for clean rendering out of the box.

Oryx also reads CBZ and CBR comics. Issues open as a continuous vertical strip suited to webtoons; Ctrl+Minus cycles to single-page view and two-page spread view, while Ctrl+D reverses page order for manga.

An Arabic book in Oryx, justified from right to left

A comic in Oryx, two pages side by side

Keyboard

Oryx has no menus and no toolbars. Everything relies on keyboard and mouse using standard shortcuts like Ctrl+F to find, Ctrl+S to save, and Ctrl+B for bold. There are no modal states: while less expressive than Vim, this modeless flow is easier for most people.

A few consistent rules apply across the app: Escape closes the active overlay (or quits Oryx when nothing is open), formatting shortcuts act as toggles, and arrow keys navigate and adjust values inside dialogs. Press F1 to open a searchable reference of all shortcuts and supported Markdown syntax, or check SHORTCUTS.md for the full list of shortcuts and CLI flags.

Writing markdown in Oryx with the keyboard only, then reading the page: headings, lists and tasks, bold, italic and highlight, a link, a pasted picture, aligned table columns, find and replace with groups, and lines moved and hidden

Key What it does
Ctrl+E Switch between reading and editing
Ctrl+O Open a file
Ctrl+Shift+B Show or hide the sidebar
Ctrl+F Find in the document
Ctrl+G Go to a line:column
Alt+Left / Alt+Right Back and forward
Ctrl+T Choose a theme
Ctrl+, Settings: fonts, sizes, line numbers, word count, autosave, input method
Ctrl+P Export to PDF
Ctrl+Shift+P PDF export settings
F1 All shortcuts and the markdown syntax

On macOS, substitute Cmd for Ctrl, and use Cmd+[ / Cmd+] to navigate back and forward.

Is Oryx for me?

Oryx is made for people who want to read and write Markdown quickly from the keyboard in a single window. Files open formatted and themed immediately, even when they are huge. Code editing, ebook reading, and comic viewing follow naturally from the same underlying text and layout engine.

It also fits workflows with LLMs and coding agents, which output large amounts of Markdown. Oryx reloads modified files from disk as soon as the window regains focus, keeping an agent's plan or report formatted and up to date, and you can pipe terminal output directly into it with llm "your question" | oryx --as md.

For other needs, other tools might be a better fit:

Performance

Every release is benchmarked on my daily machine, a 2019 laptop with no dedicated GPU. A release ships only if it matches the previous version's speed, or if any regression has a clear, justified cause. The first screen of a file is displayed in 40 ms regardless of file size.

My goal is to make Oryx one of the fastest Markdown editors and renderers available. The figures are in PERFORMANCE.md, with a comparison with the previous release and with other editors.

To test large-file performance yourself, the examples folder includes markdown-challenge.md, an 8 MB Markdown file of real text.

Privacy

Oryx requires no account and collects zero telemetry. It never reports what you open, how you use it, or even that it is installed. Network access is used solely to fetch remote images linked inside a Markdown file, such as README badges. Fetched images are cached locally so subsequent opens remain instant, and oryx --clear-cache clears the cache. See PRIVACY.md for full details.

Limitations

Why Oryx?

I read and write Markdown constantly and tried most of the free tools out there. Most open slowly, bog down or crash on large files, or wrap a browser engine or Electron around a fraction of what they actually do. I was thinking of a lightweight desktop app that renders formatted Markdown, opens immediately on any hardware, does not share my notes with somebody on the other side of the planet, and exports clean PDFs. Obsidian came closest, except its vault model got in the way of my workflow.

Because of that, Oryx started as a renderer rather than an editor. Most Markdown tools default to showing raw source first; a browser does not open pages as raw HTML, and a formatted document should not either. Editing followed naturally, along with ebooks and comics once the core engine could handle them. Some ideas were deliberately dropped: adding PDF reading would have cost 5 MB without beating dedicated PDF viewers, and Git or AI agent integrations are unlikely ever to land. Every future feature has to keep Oryx Fast and Beautiful.

Feedback

Bug reports and feature ideas are welcome in the issues. When reporting a bug, please include your Oryx version (shown in F1), your operating system, and, if possible, screenshots alongside the file (or minimal snippet) that reproduces the issue.

Credits

Oryx bundles five fonts: DejaVu Sans for text, Courier Prime for code, STIX Two Math for math, Amiri for Arabic, and David Libre for Hebrew. DejaVu uses the DejaVu Fonts License, while the other four use the SIL Open Font License. Settings (Ctrl+,) let you switch text and code fonts to any font installed on your system if you don't like the defaults.

The sample ebook in examples is the Standard Ebooks edition of The Adventures of Sherlock Holmes, in the public domain and dedicated under CC0 by its producers. The 8 MB file in the same directory combines Wikipedia articles under CC BY-SA 4.0 with public-domain books from Project Gutenberg, listed in its final section.

Adapted theme palettes (all MIT, with thanks to their authors)
Bundled grammars (beyond syntect's defaults, with thanks to their authors)

Each grammar ships with its license text beside the source under assets/syntaxes/.


Oryx is free software, released under the GNU General Public License v3.0.

oryx (wmahfoudh/oryx)

comics
Searching Database…

What is this?Oryx is a fast, native desktop app for reading and writing markdown, with code editing, ebook and comic viewing, and PDF export, built for Linux, Windows and macOS.
Is this like Typora or VS Code?It is its own category: a keyboard-driven native viewer/editor with no menus or toolbars, closer to a fast reader than a WYSIWYG editor, and it is explicitly not meant to compete with full code editors.
Do I need anything else installed to run it?No, Oryx ships as a single native app with its own built-in rendering engine, so there's no separate browser, runtime or library to install first.
Are there files it can't open?It only opens UTF-8 text (older encodings like Windows-1252 or Shift JIS are refused rather than shown wrong), it can't read DRM-protected or fixed-layout EPUB books, and CBR comics only open if their pages aren't compressed inside the RAR.
Does it track or send my data anywhere?No, it has no account and no telemetry; the only network activity is fetching linked images from a markdown file, which are then cached on disk.
What file formats beyond markdown can it open?It also opens EPUB, MOBI, AZW3 and FB2 ebooks, CBZ and CBR comics, and plain text or source code files in over a hundred languages with syntax highlighting.
How does it stay fast on huge files?It lays out only the first screens immediately and processes the rest of the file in the background across all CPU cores, so an 8 MB markdown file still shows in about 40 milliseconds and an idle window uses no CPU.
Can it fit into an LLM or coding-agent workflow?Yes: Oryx reloads a file that changed on disk as soon as you return to the window, so an agent's plan or report stays formatted and current, and you can pipe terminal output into it with a command like llm your-question | oryx --as md.
What should I use instead if I need linked notes or a full code editor?For linked notes, graphs, plugins or sync use Obsidian; for a full code editor with git integration and extensions use VS Code or Zed; for organizing and converting an ebook library use Calibre.
Creator
wmahfoudh
Size
44.4 MB
Stars
180
Age
4mo
Commits · 90 Days