Turn any website into a standalone desktop app on COSMIC desktop.
- Interactive TUI powered by gum
- Isolated browser profile per webapp (cookies, sessions, data stay separate)
- Custom icon URL support (e.g. from dashboardicons.com) with automatic favicon fallback
- Proper Wayland
app_idgeneration for COSMIC dock integration - Chromium and Brave browser support
- Standard
.desktopfiles — webapps appear in the COSMIC app launcher
gum— interactive terminal UIchromiumorbrave— browser enginewget— favicon downloadimagemagick(optional) —.icoto.pngconversion
git clone https://github.com/Ahmosys/cosmic-webapp.git
cd cosmic-webapp
chmod +x install.sh
./install.shcosmic-webapp# Create a webapp
cosmic-webapp create "YouTube" "https://youtube.com" chromium Network
# Create a webapp with a custom icon
cosmic-webapp create "Home Assistant" "https://ha.example.com" chromium Network "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/home-assistant.png"
# List installed webapps
cosmic-webapp list
# Remove a webapp
cosmic-webapp remove./uninstall.shEach webapp gets:
- A
.desktopfile in~/.local/share/applications/ - An icon in
~/.local/share/icons/webapps/ - An isolated browser profile in
~/.local/share/chromium-webapps/ - A Wayland
app_idmatching Chromium's algorithm (chrome-<url>-Default) for proper window management and dock pinning
This project was developed with the assistance of Claude (Anthropic).
