{"id":24905761,"url":"https://github.com/ohyfun/ohy","last_synced_at":"2025-04-06T04:15:46.648Z","repository":{"id":275303458,"uuid":"925664223","full_name":"ohyfun/ohy","owner":"ohyfun","description":"A Lightweight, Privacy-First CLI for Packaging Web into Desktop Apps","archived":false,"fork":false,"pushed_at":"2025-02-02T15:11:44.000Z","size":10,"stargazers_count":74,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-27T21:48:08.331Z","etag":null,"topics":["command-line","desktop","dioxus","dioxus-desktop","linux","linux-desktop","private-first","rust","tuari","wry"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ohyfun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-01T12:39:29.000Z","updated_at":"2025-03-26T01:02:10.000Z","dependencies_parsed_at":"2025-03-27T21:46:00.829Z","dependency_job_id":"ea3925e0-e0a7-4b10-9107-28e529cc78fc","html_url":"https://github.com/ohyfun/ohy","commit_stats":null,"previous_names":["ohyfun/ohy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohyfun%2Fohy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohyfun%2Fohy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohyfun%2Fohy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohyfun%2Fohy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohyfun","download_url":"https://codeload.github.com/ohyfun/ohy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430964,"owners_count":20937875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","desktop","dioxus","dioxus-desktop","linux","linux-desktop","private-first","rust","tuari","wry"],"created_at":"2025-02-02T00:24:46.127Z","updated_at":"2025-04-06T04:15:46.600Z","avatar_url":"https://github.com/ohyfun.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ohy\n\n\"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.\n\n## Key Features\n\n* Small single executable: Less than 5MB.\n* Data privacy isolation: Isolates based on the connection address and application name.\n* Multiple instances: Applications can be run concurrently with isolated session data by default.\n* Easy deployment: Simply copy the binary file for use; no need for sudo privileges.\n* Automatic icon retrieval: Automatically fetches the application icon.\n* Centralized caching: Local cache data is stored in a fixed directory, avoiding scattered data writes that could clutter system directories.\n\n## Usage\n\n```bash\nUsage: ohy --url \u003curl\u003e [-n \u003cname\u003e] [-w \u003cwidth\u003e] [-h \u003cheight\u003e] [-a \u003cuser-agent\u003e]\n\nOptions:\n  --url             url example https://www.github.com\n  -n, --name        name\n  -w, --width       width default 1200\n  -h, --height      height default 780\n  -a, --user-agent  user agent\n  --help, help      display usage information\n```\n\n## Example\n\nTo create a desktop application for qwen chat:\n\n```bash\nohy --url https://chat.qwenlm.ai -n qwen\n```\n\n## Installation\n\n1. Install the application using Cargo\n```bash\ncargo install ohy\n```\n2. Linux Dependencies (Windows and macOS do not require this step)\n\nArch Linux / Manjaro:\n```bash\nsudo pacman -S webkit2gtk-4.1\n```\n\nDebian / Ubuntu:\n```bash\nsudo apt install libwebkit2gtk-4.1-dev\n```\n\nFedora\n```bash\nsudo dnf install gtk3-devel webkit2gtk4.1-devel\n```\n\nCentos\n```bash\nsudo yum install gtk3-devel webkit2gtk4.1-devel\n```\n\n## Benefits\n\n* Lightweight and efficient resource usage\n* Enhanced privacy through session isolation\n* Simple and straightforward configuration\n* Cross-platform compatibility\n\n## Developers\nThe program has only been tested on Linux and Windows (since I'm a Linux user and don't have a Mac). \u003cbr/\u003e\nIn theory, it should work on macOS (as the underlying dependency, wry, supports all platforms).\u003cbr/\u003e\nalthough there might be some bugs with crate imports. Mac users are welcome to submit issues.\n\n## screenshot\n\n### linux\n![qwen](https://github.com/user-attachments/assets/eec15bdd-f1fa-4364-bd5c-e6229b70a46b)\n![qwen-dark](https://github.com/user-attachments/assets/02eeba87-62b8-420a-a727-b8033a5c1bc0)\n![ohy-icon](https://github.com/user-attachments/assets/fc092cdd-005b-4d81-9525-c0e92dfedd7b)\n\u003e linux app cache data directory `$HOME/.config/ohy/*`\n\n![app-context-dir](https://github.com/user-attachments/assets/c7297da3-9335-4d6b-b3f8-d27216557624)\n\n### windows\n![app1](https://github.com/user-attachments/assets/1a5d86a9-0408-4fe3-b380-87635d7d44cd)\n![app2](https://github.com/user-attachments/assets/07fa2e21-d825-44d7-bd87-4009db4dd388)\n![app3](https://github.com/user-attachments/assets/73c990ca-719b-4696-ae98-105e52012ef7)\n![dark-mode](https://github.com/user-attachments/assets/8585f8ca-7e50-42c8-a520-df9bca5b3691)\n![icon](https://github.com/user-attachments/assets/d6897c82-8df1-43e2-8c0c-6a0e2dd8ce21)\n\u003e windows app cache data directory `C:\\Users\\$USER_NAME\\AppData\\Roaming\\ohy\\*`\n\n![web-content](https://github.com/user-attachments/assets/3c4a20d8-17d9-48c6-8259-36de75380772)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohyfun%2Fohy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohyfun%2Fohy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohyfun%2Fohy/lists"}