1695bc11ca | ||
---|---|---|
example | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md |
README.md
Viewer for WebApps
Intended for use with the PinePhone / Phosh.
Build
$ cargo build
Install
Put ./target/debug/webviewer
somewhere in your $PATH
.
$ sudo cp -v ./target/debug/webviewer /usr/bin/
Apps
See examples
for how to use this with websites/SPAs.
Home Screen Icon
Create a script launching webviewer
with the URL
of
the page/SPA you want.
webviewer https://protonmail.com Protonmail
Where the first argument has to be the URL and the second argument is the Title of the resulting window.
Create desktop
entry:
[Desktop Entry]
Version=0.1
Name=Protonmail
Comment=Protonmail Client
Exec=protonmail.sh
Icon=protonmail.png
Terminal=false
Type=Application
Where Exec
points to a specific path if the shell wrapper is not in your $PATH
,
and Icon
points to a specific path, where the corresponding icon is located.
See the gnome documentation
on this topic for exact instructions.
What doesn't work
- Links that open new windows