Experimental CLI for omry (https://forgejo.e37a.net/flora/omry), an archival and search application for web pages.
  • HTML 76.6%
  • Rust 23.3%
Find a file
Lake 98014d5b11
All checks were successful
build / dummy (pull_request) Successful in 14s
build / build (push) Successful in 5m9s
ci/pr: add a dummy workflow
Add a dummy workflow to get a passing CI run. We need this
for cases where we modify only files not covered by CI (like markdown),
but still need to satisfy branch protection rules for 'main'.
This way we don't have to resort to force pushes.
2026-08-31 20:05:17 -05:00
.cargo feat!: switch to iroh 2026-05-02 15:46:14 -05:00
.config test(nextest): specify profile-wide retries 2025-08-13 13:24:15 -05:00
.forgejo/workflows ci/pr: add a dummy workflow 2026-08-31 20:05:17 -05:00
assets misc(logo): flora -> omry 2025-08-25 14:50:23 -05:00
scripts scripts/release: make a script to create assets 2026-08-24 18:27:50 -05:00
src test/snapshots: remove unused 2026-08-31 19:58:14 -05:00
test_data/pages test!(data): remove redundant extra example.html 2025-09-17 15:26:01 -05:00
tests test/snapshots: remove unused 2026-08-31 19:58:14 -05:00
.gitignore git: ignore tar.xz (release artefacts) 2026-08-31 18:19:50 -05:00
.mailmap vcs: add mailmap 2026-05-10 15:44:55 -05:00
bacon.toml bacon: add 'clippy-pedantic-all' 2026-08-24 10:06:18 -05:00
Cargo.lock version: set to 0.16.0 2026-08-31 17:38:19 -05:00
Cargo.toml version: set to 0.16.0 2026-08-31 17:38:19 -05:00
CHANGELOG.md changelog: document 0.16.0 2026-08-31 18:48:10 -05:00
clippy.toml feat!: use RecordMeta for listing records 2025-12-26 09:37:16 -06:00
LICENSE Add LICENSE 2025-08-12 21:08:18 -05:00
README.md readme: document the existence of subcommands 2026-08-28 11:27:25 -05:00

omry-cli

builds.sr.ht status

Experimental terminal client for Omry (Codeberg mirror), 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.

Getting started

Prerequisites:

  • Latest stable Rust toolchain (use rustup if you are unsure how to get it).

Start the Omry backend

omry-cli requires the Omry backend.

Follow these instructions to run the Omry backend. Make note of omry-server's ports, which will be in "listening on ..." log message when the server is ready.

Omry server address

The default web address (assuming you're running on localhost) is http://localhost:37374.

The host can be different, depending on your environment (if running Omry in Docker, Podman, on a different machine on the network, etc.)

Install

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://forgejo.e37a.net/flora/omry-cli.git

Both will install omry-cli, and should add it to your PATH.

Usage

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 for WSL

If you're using omry-cli in WSL, you need wslu to open saved pages in your default Windows browser. wslu was discontinued, but it's the only tool I've found to actually work reliably. See this answer on Superuser if you need help setting it up.

Configuring the Omry host and port

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"):

  • Linux/WSL: /home/alice/.config/omry-cli
  • macOS: /Users/Alice/Library/Application Support/me.anyahope.omry.omry-cli

See 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.

Adding documents to Omry

You can add documents to Omry from your browser. See these instructions.

Subcommands

omry-cli accepts subcommands (e.g. omry-cli search ...) so that you can launch into a specific action straight from the command line. To see a list of currently supported subcommands, please run

omry-cli --help

Keeping in touch/Reporting problems

License and acknowledgements

omry-cli, a terminal client for Omry

Copyright (C) 2025-2026 Lake Hope (also known as Anna Hope)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

                                                  
                                                  
                                                  
$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\   
\______|\______|\______|\______|\______|\______|  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
 $$$$$$\   $$$$$$\ $$\     $$\                  
$$  __$$\ $$  __$$\\$$\   $$  |                 
$$ /  \__|$$ /  $$ |\$$\ $$  /                  
$$ |$$$$\ $$$$$$$$ | \$$$$  /                   
$$ |\_$$ |$$  __$$ |  \$$  /                    
$$ |  $$ |$$ |  $$ |   $$ |                     
\$$$$$$  |$$ |  $$ |   $$ |                     
 \______/ \__|  \__|   \__|                     
                                                
                                                
                                                
$$\      $$\  $$$$$$\  $$$$$$$\  $$$$$$$$\      
$$ | $\  $$ |$$  __$$\ $$  __$$\ $$  _____|     
$$ |$$$\ $$ |$$ /  $$ |$$ |  $$ |$$ |           
$$ $$ $$\$$ |$$$$$$$$ |$$$$$$$  |$$$$$\         
$$$$  _$$$$ |$$  __$$ |$$  __$$< $$  __|        
$$$  / \$$$ |$$ |  $$ |$$ |  $$ |$$ |           
$$  /   \$$ |$$ |  $$ |$$ |  $$ |$$$$$$$$\      
\__/     \__|\__|  \__|\__|  \__|\________|     
                                                
                                                
                                                
                                                
                                                
                                                
$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ 
\______|\______|\______|\______|\______|\______|
                                                  


The author of this software is trans and non-binary, and had to cut through a lot of bullshit to be able to say that in public and with pride. Trans people are hot. Enbies rule.

ASCII art for the omry-cli binary was generated with Image to ASCII Art.

ASCII font for the README is Big Money-NW by Nathan Bloomfield, generated via ascii.today.