| Crates.io | ohy |
| lib.rs | ohy |
| version | 0.1.1 |
| created_at | 2025-02-02 12:59:47.541696+00 |
| updated_at | 2025-08-17 06:04:52.378254+00 |
| description | a lightweight command-line tool that converts web into desktop app |
| homepage | |
| repository | https://github.com/ohyfun/ohy |
| max_upload_size | |
| id | 1539556 |
| size | 119,479 |
"ohy" is derived from the Japanese word "おはよ" (good morning). It's a lightweight command-line tool written in Rust that converts web applications into desktop applications.
Usage: ohy --url <url> [-n <name>] [-w <width>] [-h <height>] [-a <user-agent>]
Options:
--url url example https://www.github.com
-n, --name name
-w, --width width default 1200
-h, --height height default 780
-a, --user-agent user agent
--help, help display usage information
To create a desktop application for qwen chat:
ohy --url https://chat.qwenlm.ai -n qwen
cargo install ohy
Arch Linux / Manjaro:
sudo pacman -S webkit2gtk-4.1
Debian / Ubuntu:
sudo apt install libwebkit2gtk-4.1-dev
Fedora
sudo dnf install gtk3-devel webkit2gtk4.1-devel
Centos
sudo yum install gtk3-devel webkit2gtk4.1-devel
The program has only been tested on Linux and Windows (since I'm a Linux user and don't have a Mac).
In theory, it should work on macOS (as the underlying dependency, wry, supports all platforms).
although there might be some bugs with crate imports. Mac users are welcome to submit issues.
linux app cache data directory
$HOME/.config/ohy/*
windows app cache data directory
C:\Users\$USER_NAME\AppData\Roaming\ohy\*