{"id":49002525,"url":"https://github.com/tutkuofnight/lycan","last_synced_at":"2026-04-18T19:02:00.789Z","repository":{"id":351409099,"uuid":"1208697608","full_name":"tutkuofnight/lycan","owner":"tutkuofnight","description":"Lycan is a lightweight Progressive Web App (PWA) manager for Linux","archived":false,"fork":false,"pushed_at":"2026-04-14T22:04:14.000Z","size":255,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-14T23:13:48.991Z","etag":null,"topics":["linux","pwa","rust"],"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/tutkuofnight.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-12T16:23:12.000Z","updated_at":"2026-04-14T22:31:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tutkuofnight/lycan","commit_stats":null,"previous_names":["tutkuofnight/lycan"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tutkuofnight/lycan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutkuofnight%2Flycan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutkuofnight%2Flycan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutkuofnight%2Flycan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutkuofnight%2Flycan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tutkuofnight","download_url":"https://codeload.github.com/tutkuofnight/lycan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutkuofnight%2Flycan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31980783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["linux","pwa","rust"],"created_at":"2026-04-18T19:01:59.328Z","updated_at":"2026-04-18T19:02:00.780Z","avatar_url":"https://github.com/tutkuofnight.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"assets/lycan.png\" alt=\"Lycan logo\" width=\"100\" height=\"100\" /\u003e\n\n# Lycan\n\nLightweight PWA manager for Linux. Turn any website into a desktop application with minimal resource overhead.\n\nLycan uses [wry](https://github.com/tauri-apps/wry) (WebKitGTK) to run web apps in standalone windows, generates `.desktop` files for menu integration, and includes a built-in ad/tracker blocker. Each PWA gets its own on-disk profile so logins and site data persist between launches.\n\n## Features\n\n- **TUI** — add, edit, delete, search PWAs (`lycan` with no arguments)\n- **CLI** — `lycan open \u003capp-name\u003e`, `lycan detect-system`, `lycan --help` / `--version`\n- **Persistent sessions** — per-app WebKit data under `apps/\u003cid\u003e/webview/` (cookies, storage, cache)\n- **Private data layout** — app directories and `config.json` use restrictive Unix permissions (`0700` / `0600`) where supported\n- **Automatic favicon fetching** from the site URL\n- **`.desktop` files** for rofi, dmenu, and application menus\n- **Ad/tracker blocking** — in-page hooks on `fetch`, `XMLHttpRequest`, and `sendBeacon` for 35+ common ad/tracking domains\n- **WebKit tuning profile** — `~/.local/share/lycan/webkit-tuning.json` is created on first run from GPU/session heuristics (e.g. DMA-BUF workaround on NVIDIA; optional compositing hints on Wayland + NVIDIA). Re-run after hardware or session changes with `lycan detect-system`\n- **Performance-oriented defaults** — WebKit `Settings` tuned for GPU use, DNS prefetch, page cache, media; developer tools only in debug builds\n- **Optional environment overrides** — `LYCAN_WEBKIT_DISABLE_DMABUF`, `LYCAN_WEBKIT_DISABLE_COMPOSITING` (see `lycan --help`)\n- **X11 and Wayland** — no forced GDK backend; works on both when your GTK/WebKit stack does\n\n## Dependencies\n\n- `gtk3`\n- `webkit2gtk` (pulled in by wry)\n- `glib2`\n\n## Installation\n\n### Arch Linux (AUR)\n\n```\nyay -S lycan-bin\n```\n\n### Build from source\n\n```\ngit clone https://github.com/tutkuofnight/lycan.git\ncd lycan\ncargo build --release\ncp target/release/lycan ~/.local/bin/\n```\n\n## Usage\n\nShow all commands and options:\n\n```\nlycan --help\n```\n\nLaunch the TUI to manage your PWAs:\n\n```\nlycan\n```\n\nOpen an existing PWA by its **app name** (same as the folder name under `apps/`):\n\n```\nlycan open \u003capp-name\u003e\n```\n\nAfter changing GPU, drivers, or switching between X11 and Wayland, refresh WebKit hints:\n\n```\nlycan detect-system\n```\n\n### TUI keybindings\n\n| Key | Action |\n|-----|--------|\n| `a` | Add new PWA |\n| `e` | Edit selected PWA |\n| `o` / `Enter` | Open selected PWA |\n| `d` | Delete selected PWA |\n| `/` | Search / filter |\n| `j` / `k` | Navigate up / down |\n| `q` | Quit |\n\n## How it works\n\nWhen you add a PWA, Lycan:\n\n1. Fetches the favicon from the URL and saves it locally\n2. Creates a directory `~/.local/share/lycan/apps/\u003capp-name\u003e/` with `config.json` (and later `webview/` when you open it)\n3. Writes a `.desktop` file under `~/.local/share/applications/`\n\nOn first `lycan` or `lycan open`, if missing, **`webkit-tuning.json`** is written next to `apps/` with WebKit-related flags inferred from your system.\n\nWhen you open a PWA, Lycan starts a GTK window with a wry WebView, a **persistent** WebKit context rooted at `apps/\u003capp-name\u003e/webview/`, a Chrome-like user agent for compatibility, and the blocker initialization script. Release builds do not enable the Web Inspector.\n\n## Configuration\n\nData lives under **`$XDG_DATA_HOME/lycan`** (usually `~/.local/share/lycan/`):\n\n```\n~/.local/share/lycan/\n├── webkit-tuning.json          # GPU / session hints (regenerate: lycan detect-system)\n└── apps/\n    ├── whatsapp/\n    │   ├── config.json\n    │   ├── icon.png\n    │   └── webview/            # WebKit profile (created on first open)\n    └── youtube/\n        ├── config.json\n        └── icon.png\n```\n\nDeleting a PWA from the TUI removes its entire `apps/\u003capp-name\u003e/` tree (including `webview/`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutkuofnight%2Flycan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftutkuofnight%2Flycan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutkuofnight%2Flycan/lists"}