| Crates.io | omry-cli |
| lib.rs | omry-cli |
| version | 0.13.1 |
| created_at | 2025-12-26 22:42:14.01291+00 |
| updated_at | 2026-01-13 22:05:46.441023+00 |
| description | Experimental CLI for Omry. |
| homepage | |
| repository | https://git.sr.ht/~anya_hope/omry-cli |
| max_upload_size | |
| id | 2006369 |
| size | 281,724 |
Experimental CLI for Omry, an offline archive and search for web pages.
Note: this project's initial name was 'flora-cli', which you may still find throughout the code and documentation.
Changes introduced in new versions are documented in the changelog.
omry-cli is a client-side application, and requires the Omry backend service to work.
Follow these instructions to run the Omry backend.
Note omry-server's ports for RPC and web, which will be in "listening on ..." log
message when the server is ready.
The defaults (assuming you're running on localhost) are:
localhost:37373http://localhost:37374 (note the http:// for the web, but not RPC).The host can be different, depending on your environment
(if running Omry in Docker, Podman, on a different machine on the network, etc.)
To install or update omry-cli, run:
Latest release:
cargo install --locked omry-cli
From the main branch of this repo:
cargo install --git https://git.sr.ht/\~anya_hope/omry-cli
Both will install omry-cli, and should add it to your PATH.
When the installation finishes, run the client:
omry-cli
Once open, enter any text to search your Omry archive, or /help to see what else you can do.
Note: Despite omry-cli's name, it currently only supports interactive mode.
I plan to implement a real CLI interface in the future,
so you can use omry-cli to run one-off tasks against the Omry backend on the command line.
On WSL, you need to have a browser installed inside your WSL distro (e.g. chromium-browser on Ubuntu).
This is not ideal, but I have not found a way to use a Windows-side browser that reliably works across
different environments and distributions.
The first time omry-cli runs, it will prompt you to input the host and port for the Omry backend service.
On most systemts, omry-cli will then put those in a new config file, stored under
your system's standard config directory.
Those are (if your username is "Alice"):
/home/alice/.config/omry-cli/Users/Alice/Library/Application Support/me.anyahope.omry.omry-cliSee directories for details about standard locations on different systems.
If you switch to using the Omry backend at a different network location, you will need to change the config.toml
in your config directory.
I recommend adding documents via your browser. The below instructions are only necessary if you want to add documents manually.
Prerequisites:
This is the current flow for saving pages via omry-cli:
/add <path> in omry-cli import it into OmryNote: omry-cli does not support adding HTML documents that weren't created by SingleFile.
Using HTML files not created by SingleFile (e.g. via your browser's "Save Page" function) may lead
to import errors or unexpected results.
This process has more steps than I'd like, but it's necessary to load the page in your browser
(vs. passing omry-cli a URL). That ensures that the page you're saving to Omry is the page you want
(and not a CAPTCHA, a paywall, login screen, or something else that isn't the document you want saved).
ASCII art was generated with Image to ASCII Art.