Repository navigation
Added
- Hierarchical tags, Obsidian-compatible. The Tags sidebar is a tree:
#parent/child/grandchildnests under disclosure triangles (⌥-click opens a whole branch), expansion is remembered per vault, and each node counts the notes with that tag or any nested one, with the notes tagged exactly there shown faintly beside it when they differ. Sort by name or count, and filter tags by any part of their path. Clicking a tag lists its notes under the tree, including nested tags like Obsidian'stag:#parent, with an Exact option for only that tag. Right-click ▸ Rename… renames or moves a tag and its whole subtree across the vault, inline and in frontmattertags:(inline lists, block lists, and plain values), skipping code. A sheet previews every changed line before writing and warns when two tags will merge. Undo Rename is in the sort menu. Drag a tag onto another to nest it there, or below the tree to make it top-level. Typing#in the editor (or a value in a frontmattertags:list) completes tags by path segment:#projects/offers the children of#projects. Tags in the reader, ⌘-clicked tags in the editor, and the new tag chips in the inspector open the Tags pane on that tag. Tags compare case-insensitively, the tree uses the spelling seen most, and Unicode tags work (#café,#📚). The logic lives in OnyxCore with tests, and it stays fast on large vaults: the tree builds in about 3 ms for 2,600 notes, and rename previews run off the main thread (docs). - The inspector Outline pane (⌥⌘1) can widen past the open note: a scope control at the top chooses This note, Folder, Linked & partOf, or Whole vault. Notes become top-level rows with their heading trees nested and collapsible; folders and
partOfparents give the structure. Click a heading to open that note and jump there. The current section highlights while you scroll (reader or editor). Whole-vault mode walks the folder tree lazily — only expanded branches (and a note's headings once that note is opened) are built into the list — so it stays fast on a large vault. The path to the open note is expanded for you. - The inspector's Backlinks tab (⌥⌘2) now opens a linked or unlinked mention at the matching line, and unlinked mentions — plain-text uses of the current note's title or aliases, case-insensitive and at word boundaries, skipping code, comments, and existing links — each have a Link action that turns that occurrence into a
[[wikilink]], plus Link all. A file that already links here can still show other unlinked mentions. The same unlinked list under a note in the reader is clickable (opens at that line) and has Link as well. Logic lives in OnyxCore. - The git sidebar has a History tab for the current note: commits that touched the file (
git log --follow), with date, author, and message. Choosing one opens a preview of that version against the current text (including unsaved edits). Restore this version puts the old text in the editor as an unsaved edit after a confirmation; it never runsgit resetorgit checkout. Vaults that are not git repositories get a quiet empty state. Version History is in the command palette and the View menu, and opens the git sidebar on that tab. - Replace in Vault (⌥⇧⌘F; ⇧⌘H is already Homepage) previews matches across the vault, a folder, or the current note, with match case, whole word, regular expressions (including
$1capture groups in the replacement), and an option to skip frontmatter. The preview is grouped by file, with per-match checkboxes and before/after highlighting. Replace Selected and Replace All confirm with counts, write notes atomically, update any open editor buffers, and offer a one-shot Undo Last Replace that restores the previous contents. The Search sidebar has a button to open the same panel, pre-filled from the current query. In-note find and replace (⌘F / ⌥⌘F) is unchanged. - A Bookmarks section sits at the top of the file sidebar (collapse the header to tuck it away). Pin or unpin a note or folder from the context menu, the Note menu, the command palette, or ⌥⌘D, and drag a row to reorder. Groups from Obsidian stay groups; drop a bookmark onto a group to put it inside. Heading bookmarks (right-click a heading in the Outline) and folder bookmarks are first-class, and so are Obsidian search, URL, and graph bookmarks when they're already in the file. The list is stored in
.obsidian/bookmarks.jsonin Obsidian's own format, including unknown fields and groups, so the two apps share it. Bookmarks that Onyx used to keep only in UserDefaults are merged in once. - Drag a note onto the Bookmarks section — the bold Home item, a file-tree row, a search, recent, or backlinks result, or a vault file from Finder — to pin it. The drop target highlights and inserts at that position (onto a group to nest, onto the header or the empty area to append). A note that's already bookmarked is moved there instead of being added twice. Bookmark rows are still draggable to reorder. A plain drag from the file tree is a pin; ⌘-drag still moves files.
- Web clipper. A bookmarklet (Settings ▸ Files & Links ▸ Web Clipper ▸ Copy Bookmarklet, or docs/web-clipper.md) works in Safari, Chrome, Arc, and Firefox: with nothing selected, Onyx fetches the page in an offscreen, cookie-less web view and keeps only the article (Mozilla Readability.js 0.6.0, Apache-2.0, bundled); with text selected, it clips just the selection as rendered in your browser, so pages behind a login work too. File ▸ Clip Web Page… (⇧⌘K, also in the palette) clips a URL from inside Onyx, prefilled from the clipboard. The article becomes Markdown (headings, emphasis, absolute links, nested and task lists, quotes, fenced code with its language, tables, highlights, captions, YouTube embeds;
$,*,[and friends escaped), images stay on the web as hotlinks (: the largestsrcsetor<picture>candidate, lazy-loaddata-srcand friends, made absolute;data:URIs and tracking pixels dropped; nothing is downloaded into the vault), and the note is saved inClippings/named after the title, with Obsidian Web Clipper-style frontmatter (title, source, author, published, created, description, site, tags, class) and then opened.class:andtags:follow the clippings already in the folder (elseSourceandclippings). Settings: folder, class, tags, and a template note with{{title}},{{url}},{{content}}and friends. The app now registers theonyx://URL scheme;onyx://clip?url=…&selection=…&folder=…works from Shortcuts and scripts too. A Safari share extension isn't possible in the SwiftPM build yet. - Clip to Onyx, a Safari Web Extension inside Onyx.app (
Contents/PlugIns/OnyxSafari.appex): after Onyx has been opened once, turn it on in Safari ▸ Settings ▸ Extensions (Settings ▸ Files & Links ▸ Web Clipper ▸ Safari Extension… goes there). A toolbar button and Clip Page / Clip Selection / Clip Link context-menu items send the page, its metadata, and any selection to Onyx through the extension's native handler, which opensonyx://clipdirectly (no "open this app?" prompt), falling back to theonyx://link. Onyx also appears in the macOS Share menu (OnyxShare.appex) for links and text. Both are built byscripts/build-extensions.shwithswiftcfromscripts/bundle.sh(universal for releases;SKIP_EXTENSIONS=1skips them), sandboxed, and signed before the app. Safari lists the extension only when Onyx is signed by an Apple Development or Developer ID certificate; with the default Onyx Local Signing it needs Safari's Allow unsigned extensions, which resets when Safari quits (docs).
Changed
- The History revision sheet defaults to Compare with latest (the chosen commit vs the current note, including unsaved edits). vs previous shows what that commit changed against the next-older version. The last-chosen mode is remembered. Long unchanged stretches collapse to an expandable “Show N unchanged lines” control, in both the rendered Diff and the Line diff. Opening History selects the most recent commit that touched the note. The sheet fills most of the window and the diffs use the full width, with a gutter of line numbers and +/- markers; lines wrap at the sheet edge and highlight bands span the row.
- Auto-commits and the Source Control commit box use a descriptive message generated on-device from the diff (no AI or network): note titles, headings added, removed, or retitled, tasks checked or added, frontmatter fields changed (skipping timestamps), links added, and the usual add / delete / rename / move. Several files become a short subject like “Edit 3 notes: X, Y, Z” with a body of per-file details. The subject stays at most 72 characters. The commit field is prefilled so you can edit it before Commit all.
- The Source Control sidebar opens on the History tab when a note is open (Status if no note is open or the vault isn't a git repository), and the Status / History switcher shares a single row with the branch name. Choosing a revision shows a rendered, reader-style diff by default: insertions on a green highlight, deletions struck through in red, word-level where practical, and the whole block for tables, fenced code, and mermaid. Line diff and a full preview of that version stay a click away; Restore is unchanged. Diff logic lives in OnyxCore.
- “Open in Obsidian” is hidden in menus unless you hold Option. In the Note menu and in note or file context menus it is a hidden alternate of Reveal in Finder, so the two swap while ⌥ is held. The command palette still lists it and is searchable as before. There is no toolbar or title-bar button for it.
- OpenDyslexic is a typeset reading style in the same Settings ▸ Reading typeface picker as Latin Modern (Reitz LaTeX) and ET Book (Tufte), not a separate toggle on top of those faces. It has its own page: all four bundled cuts (Regular, Bold, Italic, BoldItalic) with real weights and styles and no faux bold or italic; a size-adjust so the large x-height and wide glyphs sit closer to the other faces; a 1.65 line-height, slightly relaxed word spacing, no extra letter-spacing, and a measure capped at 60ch; no small caps, old-style figures, hyphenation, or justification (ragged left). Headings use a tighter scale, and sidenotes, captions, footnotes, and blockquotes follow. A lead-in is bold rather than small caps; drop caps are not used. The editor uses the same face (a slightly smaller body size, no added tracking). PDF export uses the same stylesheet, and running heads and folios are in OpenDyslexic, natural case. An existing
onyx.openDyslexictoggle is migrated to this typeface (and typeset reading is turned on) then removed. Code,pre, andkbdstay monospace. The setting is still local to Onyx.
Fixed
- The History revision sheet’s Line diff (and the rendered Diff and Version tabs) fill the sheet width instead of squeezing into a narrow column on the left with highlight bands that only covered the wrapped text. The sheet itself is larger and grows with the window.
- Clicking a folder in the file tree toggles it once and it stays that way when you let go. A follow-through drag (to pin the row to Bookmarks, or ⌘-drag to move it) still starts only after the pointer moves past a short threshold; the disclosure triangle and double-click are unchanged. The second toggle was a regression: the click already fired on mouse-down, then mouse-up fired it again.
- Tags are no longer picked up from
[[Note#Heading]]and[[#Heading]]links,[text](#anchor)link targets, URLs, or inline code, and a trailing slash (#a/b/) is no longer part of the tag.#Bookand#bookare one tag in each note's tag list. Inline tags may use Unicode letters, marks, and emoji, in the index, the editor's highlighting, and the reader. - The Clip to Onyx Safari extension shows the Onyx icon: the app icon (the onyx crystal with its note graph) in Safari ▸ Settings ▸ Extensions, and a monochrome crystal-and-graph outline for the toolbar button that Safari tints to match light and dark toolbars (the full-color icon rendered there as a blank grey square). Both extensions also carry the app icon in their bundles, for the Extensions list and the Share menu. Icons are rendered from
Resources/AppIcon.icnsbyscripts/make-extension-icons.swiftand committed. - Clip to Onyx has a keyboard shortcut that doesn't clash with Safari: ⌃⇧O (Control-Shift-O) clips the current page, like the toolbar button. ⇧⌘R stays Safari's Reader. Change it in Safari ▸ Settings ▸ Extensions.
- Wide Mermaid figures in the reader no longer start scrolled to the middle, clip the left edge, or draw the overflow fade across the middle of the diagram. A scrolling wrap starts at
scrollLeft0 so every node is reachable (a figure that fits is still centered). Edge fades and the custom scrollbar are pinned to the visible container edges and appear only on the side that still has hidden content; the 4px track sits in padding below the figure instead of covering it. Bleed stays symmetric and is limited to the room actually visible in the pane, so a sidenote shift cannot hide the figure under the sidebar. Very wide trees still scale to the bled width, but only while labels stay at least about 13px (was 11px); wider than that they scroll at that floor. The lightbox control is a real button (⤢) and stays hidden until you hover the figure. - Wikilinks in Markdown tables and in Dataview string cells match Obsidian: a
|inside[[...]]— escaped or not — does not split the cell,\|is the alias separator, every[[...]]in a cell is its own link, and a link in parentheses (Third Eye ([[Ajna]])) renders as a link. Dataview field text that contains wikilinks is handed to the reader's inline tokenizer. The editor is source Markdown (live preview uses the same reader).
Updating
Download the zip, unzip it, and replace Onyx.app. From v0.1.1 on, the app can also update itself.
Requirements
macOS 14 (Sonoma) or later, on Apple silicon or Intel. This build is not notarized, so the first launch needs System Settings ▸ Privacy & Security ▸ Open Anyway.