Repository navigation
Releases
Releases · abdoufermat5/herbarium
Herbarium v0.7.0
Added
- Save copies of what a page loads: vendor remote scripts, styles, fonts and ES module graphs into the vault under
.herbarium/deps/in one click from the health panel, rewriting the page so it works with network access off and in exports. Sub-resources in stylesheets (fonts and images) are inlined asdata:URIs, and URLs matching built-in libraries are mapped without downloading. - Import Mermaid diagrams and Markdown artifacts: Claude and ChatGPT data exports now bring in Mermaid artifacts, Markdown artifacts and ChatGPT text canvases as HTML pages that render offline, with math, code highlighting and diagrams drawn by the built-in libraries. React artifacts are still skipped.
- Bundled offline libraries: Mermaid 11, KaTeX 0.16, highlight.js 11 and Chart.js 4 are compiled into the app and served under
_herbarium/lib/(Mermaid, KaTeX and highlight.js also as ES modules). Pages can render diagrams, formulas, syntax highlighting and charts with network access turned off, and saving copies maps matching CDN URLs to the built-in copies. - Diagram server: configure an optional Kroki server in Settings → Vault to render PlantUML, D2, Graphviz and other diagram languages via
_herbarium/render/<kind>/<base64url>.svg. Renders are fetched by the app and cached in.herbarium/cache/render/so diagrams remain viewable offline.
Herbarium v0.6.0
Changed
- Large vaults stay fast. Measured on a synthetic 1 000-page vault: opening a vault without an index is about 8× faster (one HTML parse per page, one transaction per scan), an unchanged rescan 4× faster, the library list 4× faster and 50× smaller, Today 5× faster, a search matching every page 8× faster, and looking up a page by URL (the browser extension's badge) or searching a word no page contains takes microseconds instead of tens of milliseconds. Only the 50 best search hits get a highlighted snippet. Full numbers in
docs/perf-baseline.md. - The window no longer reloads the whole library after every change: the app pushes each page change to the window, which updates just that page. Coming back to the window rescans the vault at most every 2 seconds and reloads only if a file changed, and the minute-by-minute refresh pauses while the window is hidden. Grading a page in a review session no longer refreshes the library.
- The library renders only the cards on screen, the sidebar animates only short trees, and heavy views (graph, settings, AI, import, health, reading paths) and the French interface load on demand: the startup script is 35% smaller. Type specimens in Settings load their fonts as they scroll into view.
- What a page saves for itself (
localStorage,window.storage) now lives in.herbarium/storage/<id>.jsoninstead of the page's sidecar, so it no longer travels with every list and search. Existing pages are moved over automatically. - Page and asset requests no longer wait behind a rescan or import, media files can be seeked without loading them whole, and the browser extension's lookups are answered while a large page is being saved. Commands run off the window's thread.
- Search indexes each page's text once and re-indexes it only when the text, title, tags, folder or note change; history keeps at most 50 versions and 20 MB per page; page previews are redrawn only when a page's HTML changes.
- Diagnostics go through
HERBARIUM_LOG(e.g.HERBARIUM_LOG=debug) to stderr and, for the app,logs/herbarium.login its config folder. - CI benchmarks the core operations on a generated vault and fails on regressions, and checks the size of the startup script.
Fixed
- The snap workflow now pushes the Snap Store listing (summary, description and icon) from
snapcraft.yamlafter publishing, and the WinGet job skips cleanly until its first manual manifest exists instead of failing the release run. - The app, the browser extension, the CLI and AI agents (MCP) can no longer overwrite each other's work on the same vault: creating two pages with the same title at once keeps both, a rescan in one no longer drops a page another just added, and edits re-read the page's file when another program changed it. Opening an index that needs an upgrade from two programs at once no longer fails in one of them.
Herbarium v0.5.0
Added
- The reading-path view grows a 3D hero where hardware WebGL is available: a lazily loaded, flat-shaded tree built from the same skeleton and read progress as the SVG, with clickable limbs, theme-aware colours, and the SVG tree as the fallback on software or lost contexts.
- Planting a reading path is now a dialog: search the library, fill the order from a folder, a tag or the pages saved most recently, drag (or use Alt+↑/↓) to set the reading order, and watch the tree the name will grow; pressing Ctrl/⌘+Enter plants it and the path view drops the seed into place. Existing paths open in the same dialog from "Add or reorder pages" to change their name, description and pages.
- Reading paths grow trees. Every path has its own tree, shaped by the path, which grows a limb with its leaves for each page you read and blossoms once every page is read. The new path view shows the tree beside the path's pages (hover a page to see the limb it grew, click a limb to open its page) and a "Continue" button for the next unread page. The sidebar, the reader's path bar and the command palette ("Open path: …") show a small version, and Today's new Grove card shows all of them on one ground line. The moment a tree is fully grown is marked once, in the reader or the path view.
- Page vitality: a small leaf on cards, list rows, the reader, review rows and the palette shows how well you probably still remember a page, from the same forgetting curve the review scheduler uses (thriving, healthy, thirsty, wilting, or a seed when never reviewed). The graph can colour pages by it.
- Review sessions: a progress bar, a timer and grade buttons that show their key (1-4) and the interval each would schedule. A session ends on a summary with the grade distribution, time spent, pages that recovered, your streak and what is due next.
- Today is a dashboard: a review ring for the day, the last four weeks of reviews, how your library is doing, and R to start a review.
- Hand-drawn illustrations for empty states (library, search, trash, onboarding, caught-up reviews, imports).
- Keyboard: arrows, X, S and Delete on library cards; R to start a review; P to plant a reading path (from anywhere, also from a selection or the open page); Esc dismisses the newest notification.
paths.progressoperation (also an MCP tool): which pages of each reading path have been opened.- Ten type styles and four text sizes in Settings → Appearance. Each style brings its own interface, heading and mono fonts — from Herbarium's warm serifs to Storybook, Field notes, Typewriter, Arcade and an easy-reading face — shown live in a specimen picker; the interface text scales from 0.92× to 1.16×. The chosen style is applied before the first paint, so it never flashes.
Changed
- The README, screenshots, demo and store listings now show what 0.5 made: reading-path trees, vitality leaves, review session summaries and the type styles, plus a five-minute tour for new users.
- The welcome sample page tours the new features and asks a question about trees, vitality and review sessions.
- Motion throughout, quiet and quick: the content area rises into place when you change view, the sidebar's selection slides, menus open from where they were triggered, notifications stack and can be swiped away, buttons press. Celebrations are kept for finished sessions and fully grown paths. Nothing animates while idle, and the system's reduced-motion setting turns it all off.
- Reading-path trees are grown from a deterministic 3D branch skeleton and projected into the same flat, hand-inked view: deeper branching, tapered limbs, aerial shading and foliage that fills the crown as pages are read. Same seeds grow the same trees; the mini trees and the public model are unchanged, and the 2D renderer adds no dependency.
- Redesigned library cards (hover actions, due chips, highlighted search terms), the command palette (grouped results, highlighted matches), the shortcuts sheet (keycaps, filter), onboarding (three steps), settings (sliding tabs, springier switches), trash and the import dialog (per-file progress).
Fixed
- Review today opens faster: its year of activity no longer builds a new date formatter for every day shown.
- The demo and screenshot tools put the app on the virtual X display on a Wayland host, so
make demorecords the app instead of a black screen.
Herbarium v0.4.2
Changed
- Redesigned sidebar, closer to Obsidian's file explorer: denser rows, indent guides in the file tree, chevrons that follow each folder's depth, collapsible Reading paths / Saved searches / Files sections (remembered), sticky section headers, a "Collapse all" button, search at the top and Settings/Trash in a compact bottom bar.
- The sidebar can be resized by dragging its right edge (or with the arrow keys when the edge is focused); double-click resets it. The width is remembered.
- Opening a page unfolds its folders in the file tree and scrolls it into view.
Fixed
- The bottom of the window was cut off when the file tree was taller than the window: the whole layout grew to the sidebar's height, so the end of the open page could only be reached by resizing the window.
Herbarium v0.4.1
Fixed
- The snap did not start: it aborted with "libEGL fatal: did not find extension DRI_Mesa version 1" because it shipped its own copy of Mesa that did not match the graphics drivers of the GNOME platform snap. The snap now uses the platform's Mesa.
Herbarium v0.4.0
Added
- The browser extension works in Helium.
- Vault switcher: with more than one vault, the Herbarium name at the top of the sidebar opens a menu of your recent vaults (the open one checked, same-named vaults told apart by their parent folder) to switch in one click; "Switch to …" in the command palette does the same.
Fixed
- The browser extension stopped reaching the app after Herbarium was moved, reinstalled or rebuilt somewhere else: browsers kept starting an executable that no longer existed and the popup only said "Native host has exited". The app now repairs that at start, and also connects browsers installed after the first setup. Settings → Browser no longer says "connected" in that case; it says the connection needs repair and offers a button.
- The extension's popup and Today page used Chrome's tiny default text size for extension pages.
- The browser extension's version was stuck at 0.3.0. It now matches the app, and releases bump it along with the app.
- Loading the extension in Chrome and other Chromium browsers warned "'background.scripts' requires manifest version of 2 or lower". The extension now only declares its service worker; Firefox, which needs background scripts, gets its own copy (
browser-extension-firefox), and Settings → Browser points Firefox at it.
Changed
- New icon and branding: a pressed green leaf, in a dark version and a light one. The app, the tray, the installers and the snap use the dark icon; the logo in the app, the browser extension's toolbar icon (Chrome, Chromium browsers and Firefox) and the web favicon follow the light or dark mode. The snap's desktop entry uses the 128 px icon instead of a blurred 32 px one, and the Flathub listing gets screenshots and brand colours.
- The extension's popup is clearer: a status pill with the vault, numbered steps and "Try again" when the app can't be reached, with the reason in plain words, and icons on the save buttons.
- Settings → Browser marks each browser as connected, needing repair or not set up, and highlights the current step.
Herbarium v0.3.2
Added
- Ask AI: one button in the title bar (or
Ctrl/⌘ J, or "Ask AI…" in the command palette) opens a single panel for everything AI, instead of a button per feature. It offers what fits what is on screen — the page you are reading first (simplify, explain deeper, add a quiz, cheat sheet, fix & modernize, translate with one-click common languages), then your library (organize, import an AI chat export). Type what you want and press Enter to remix the page with your own words, or pick an action and your words go along as a note. The panel shows which AI service and model it uses, and when none is set up, one button leads to the setup. - Organize with AI (in the Ask AI panel, or the command palette): the AI reads the titles and the start of your pages and proposes where they belong — existing folders first, new ones where none fit, with a few tags. You choose the pages to look at (the new and unsorted ones, or the whole library), can say what you have in mind, review the plan grouped by folder and untick anything, and apply it; Undo puts everything back. Works with every AI service Remix works with.
Fixed
- The diff in the remix and agent proposals and in History scrolls when it is long; before, it showed a fixed screen and clipped the rest.
Changed
- The reader's toolbar keeps its labels on smaller windows: page history, network access and resetting page data moved to a "More" menu (⋯), and a page allowed to load from CDNs says so next to its tags.
- The app's folder is
desktop/instead ofsrc-tauri/(the Rust code,tauri.conf.json, icons and packaging files moved with it); the Tauri command line finds it by itself, and scripts, CI and docs follow.
Herbarium v0.3.1
Changed
- AI & sharing starts from three plain choices — your Claude subscription (Claude Code), free on this computer (Ollama), or an API key — and each shows whether it works right now and, when it does not, numbered steps with commands to copy, a button to the service's key page and "Check again". Choosing where Claude Code is by hand is possible, and the Remix dialog says when it is missing.
- Adding the browser extension is a guided checklist: one click prepares everything (helper registered with every browser, extension copied to a stable folder), a button opens the browser on its extensions page, the folder to load has a Copy button, and the screen says "connected" by itself once the extension reaches the app.
Fixed
- Claude Code is found when Herbarium is started from the desktop menu: on Linux Mint and wherever node comes from nvm,
~/.local/binor npm's own folder,claudewas reported as not installed because the app does not get the shell's PATH. Herbarium now asks the login shell, looks in the usual install folders, and runs Claude Code with that PATH. - A Claude Code that is not signed in is explained ("run claude in a terminal and sign in") instead of showing its raw output.
Herbarium v0.3.0
Added
- Page sources: a page can record where it came from — the address it was saved from, the tool that generated it and the prompt that asked for it.
pages.createandpages.updatetakesource, the tool and prompt are searchable, the details panel shows them,herbarium addrecords a fetched URL and takes--tooland--prompt, and agents are asked to fill it in. - MCP resources and prompts: every page is a resource (
herbarium://page/<id>for its HTML,herbarium://page/<id>/textfor its text), and thesave_page,ask_vaultandreview_sessionprompts package common requests. - Review agent edits: with Settings → Agents → "Review agent edits" on, an agent's
pages.set_htmlorhistory.restoreleaves a proposal instead of changing the page. The reader shows a banner and a side-by-side diff to accept or reject it, new proposals are announced, and accepting one for a page that changed since asks first. Agents getagents.settings,proposals.listandproposals.get; only the user can accept, reject or change the setting. - Quiz mode: answers a page marks with
data-herbarium-recall(optionally holding the question) are hidden behind a "show answer" button during review sessions, or on any page with "Quiz me" in the reader. - Search filters:
tag:,folder:,tool:,is:due/scheduled/unscheduled/network,has:note/sourceanddue:/updated:/created:windows such as7d, each negatable with-, mixed into any search. Searches can be saved, are listed in the sidebar and are available to agents (searches.*). - Links between pages: a link to
herbarium-app://open/<id>inside a page opens that page in the app. The details panel lists a page's links, broken links and backlinks and copies its link; agents getpages.links. - Review activity: a heatmap of the last year's reviews with the current and longest streak, and Settings → Review can skip folders or tags, whose pages keep their schedule but stay out of the queue, due counts and reminders.
- Reader View menu: the page's contents (including headings built by script), zoom from 50 to 200 % (
Ctrl/⌘ +,-,0) and a focus mode (F) that hides the sidebar, details and review bar. - Reading paths: ordered lists of pages read like a course, with previous/next in the reader, managed from the sidebar and the details panel, and open to agents (
paths.*). A trashed page keeps its place in a path. - Exports: save a page as one self-contained HTML file with its local images, scripts and styles inlined, or publish the vault or a folder as a static website (an index plus one file per page, links between them kept) into a new or empty folder.
- Import from Claude and ChatGPT: point Herbarium at a data export (
.ziporconversations.json) and pick the artifacts to keep — Claude artifacts (every revision resolved), ChatGPT canvases and HTML code blocks — each saved with its conversation as the source and its original date, and never imported twice.herbarium import <export>does the same from the terminal (--dry-runlists them). - Browser extension (Chrome, Edge, Brave, Firefox): finds the HTML artifacts in the Claude, ChatGPT or Gemini conversation you are reading and saves them in one click, saves any page or selection with its images and styles inlined, shows on the toolbar when a page is already in the vault, searches the vault from the address bar (
h+ space) and offers a Today new-tab page. It talks to the app through a native messaging host that Settings → Browser registers (herbarium native-host installfrom the terminal). - Quick capture: a global shortcut (default
Ctrl/⌘+Alt+H) and the tray save the clipboard as a page; new HTML files in Downloads, and optionally whole pages copied to the clipboard, are offered for saving. - Sample pages: a short tour (welcome, why reviewing works, a flexbox playground) as a reading path, offered on first launch and from Settings → Vault.
- Today: a home screen with what is due, the reading path in progress, recent pages, a page to rediscover, what you saved on this day, and the review streak. It is the default start view.
- Icons and colours: give a page an emoji icon and a folder or tag a colour and icon; they show in the sidebar, lists and chips.
- Page previews: the library grid shows a miniature of each page's first screen, measured in the page and redrawn by the app.
- Graph: the links between pages as an interactive map. Each folder settles into its own named island; zoomed out on a busy vault, the links between folders become one ribbon per pair. Hover lights a page's neighbourhood, a click lists its links both ways, a double click opens it; pages can be dragged, the map zoomed and searched, and a folder shown on its own. Drawn on a canvas, it stays smooth with thousands of pages.
- Highlights and margin notes: select text in a page to highlight it in one of four colours and attach a note. Highlights survive edits elsewhere in the page, are searchable, are listed in the details panel and during review, and agents can read them (
highlights.list). - Page health:
health.checkand the details panel say why a page may not work — missing local files, remote resources with network access off, hosts outside the CDN allowlist, broken links, very large or untitled pages — and a page can be made self-contained by inlining its local files. Settings → Vault checks every page. - Remix with AI: rework a page — simplify it, explain it deeper, add quiz questions, translate it, turn it into a cheat sheet, fix and modernize it, or follow your own instructions. Your highlights and notes go with it. The result waits as a proposal you compare with the page and accept or reject. Works with Anthropic's Claude (your API key, streamed, with server-side fallbacks enabled so a declined request is retried on Anthropic's recommended fallback model), the Claude Code command line, OpenAI, Google Gemini, DeepSeek, Mistral, OpenRouter, a local Ollama, or any OpenAI-compatible service at an address you give; each keeps its own key. Nobody has to type a model name: Settings → AI & sharing is pick a service, paste a key (checked on the spot: "Ready — connected, 23 models available"), done. The model stays on Automatic, which asks the service for its models and uses its best current one (the newest Opus, GPT or Gemini Pro, DeepSeek's chat model…); a dropdown with readable names lists the others, and any name can still be typed.
herbarium remixdoes the same from the terminal (--provider,--model,--base-url). - Publish and share: share a page as a secret GitHub gist or publish it on your GitHub Pages site (the repository is created on first use and keeps an index of what you published), update it in place or take it down, and copy a share card — the page's first screen, title, a line of text and its link — to paste into a note, chat or email. Settings → AI & sharing connects your GitHub account;
herbarium publishworks from the terminal. - End-to-end tests (
pnpm test:e2e) run the command line, the native messaging host, the browser extension in Chromium, publishing and remixing against fake GitHub and Anthropic APIs, and the desktop app itself through tauri-driver, in CI.
Changed
- Settings is split into tabs — General, Review, Vault, Capture, AI & sharing, About — instead of one long page.
- A lighter interface: a borderless reader toolbar that shows icons only in narrow windows, one preview area on every library card, sentence-case chips, one heading size across views, a single review statistics strip, and a narrower sidebar in small windows.
- Large libraries stay fast: the library draws the cards near the viewport only, so showing all pages, searching, filtering and switching layouts take milliseconds with thousands of pages (measured on 3,000: All pages 4.2 s → 80 ms, grid/list 6.6 s → 5 ms). Typing a search fetches only the search, and page previews are made only while you are idle, never for pages over 1.5 MB.
- Pasting a very large page (over 100 KB) into the import dialog no longer freezes the window: it is held aside and shown as a summary.
- A much smaller download: the release binary is optimised for size (34 MB down to 14 MB on Linux), the source editor loads on first use and only the Latin font subsets ship.
Fixed
- The library sort setting showed no value until changed.
- Pages in the reader follow the app's theme: with the app set to dark on a light desktop, they stayed light. System remains the default.
- Settings changed at the same moment (or while GitHub checked a token) no longer undo each other.
- Escape closes only the dialog it is pressed in, never the reader or Settings behind it, and single-key shortcuts do nothing behind an open dialog.
Security
- API keys and the GitHub token are kept apart from the settings in
secrets.jsonin the app's configuration folder, readable only by the user, and are never sent to the window: the interface only learns whether one is set. - Publishing never writes to a repository Herbarium did not create (it looks for its
.herbariummarker), and asks before the first publication of each page, saying who will be able to read it. Unpublishing only deletes a page file from such a repository, whatever the vault's records say. secrets.jsonis created readable only by the user (never world-readable, even for a moment), and a damaged one is reported instead of being replaced, which would erase the other keys.- Remixing with Claude Code runs it without tools, in an empty folder, so instructions hidden in a page cannot make it read local files.
- Pages saved from the browser, including the artifacts of a conversation, never get network access, whatever the vault's default.
Herbarium v0.2.1
Added
- Snap Store channel: a strict
herbariumsnap (amd64) built from the release.deband published by the release workflow whenSNAPCRAFT_STORE_CREDENTIALSis set;gh workflow run snap.yml -f tag=vX.Y.Zbuilds or publishes an existing release.
Changed
- Installed from the Snap Store, Herbarium leaves updates to the store: the in-app updater never checks or installs, and Settings says so.
Removed
- Homebrew and AUR publishing jobs and their templates.
Fixed
- Intervals set by adaptive review show in whole days ("2d", "2 days") on the grade buttons, in toasts and in review history, instead of raw minutes such as "3321m".
- The "unchanged lines" bar in the page-history diff follows the theme instead of staying white in dark mode.