Add Browsh app
parent
74f8fe1a3e
commit
acf0193cce
@ -0,0 +1,7 @@
|
|||||||
|
The modern text-based terminal browser.
|
||||||
|
Browsh is a modern text-based browser for the terminal. It renders anything that a modern browser can; HTML5, CSS3, JS, video and even WebGL. Its main purpose is to be run on a remote server and accessed via SSH/Mosh or the in-browser HTML service in order to significantly reduce bandwidth and thus both increase browsing speeds and decrease bandwidth costs.
|
||||||
|
|
||||||
|
To run: Menu -> Internet -> Browsh
|
||||||
|
To run in a terminal: browsh
|
||||||
|
|
||||||
|
NOTE: This will also install firefox-esr
|
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||||
|
|
||||||
|
function error {
|
||||||
|
echo -e "\\e[91m$1\\e[39m"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
# Get dependencies
|
||||||
|
"${DIRECTORY}/pkg-install" "firefox-esr" "$(dirname "$0")" || exit 1
|
||||||
|
|
||||||
|
wget https://github.com/browsh-org/browsh/releases/download/v1.6.4/browsh_1.6.4_linux_armv7.deb || error 'Failed to download browsh!'
|
||||||
|
sudo dpkg -i browsh_1.6.4_linux_armv7.deb || error 'Failed to install browsh!'
|
||||||
|
rm browsh_1.6.4_linux_armv7.deb
|
||||||
|
echo "[Desktop Entry]
|
||||||
|
Version=1.1
|
||||||
|
Type=Application
|
||||||
|
Name=Browsh
|
||||||
|
Comment=The modern text-based terminal browser.
|
||||||
|
Icon=$(dirname "$0")/icon-64.png
|
||||||
|
Exec=browsh
|
||||||
|
Terminal=true
|
||||||
|
Categories=Network;" > ~/.local/share/applications/browsh.desktop
|
||||||
|
|
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||||
|
|
||||||
|
function error {
|
||||||
|
echo -e "\\e[91m$1\\e[39m"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
# Get dependencies
|
||||||
|
"${DIRECTORY}/pkg-install" "firefox-esr" "$(dirname "$0")" || exit 1
|
||||||
|
|
||||||
|
wget https://github.com/browsh-org/browsh/releases/download/v1.6.4/browsh_1.6.4_linux_arm64.deb || error 'Failed to download browsh!'
|
||||||
|
sudo dpkg -i browsh_1.6.4_linux_arm64.deb || error 'Failed to install browsh!'
|
||||||
|
rm browsh_1.6.4_linux_arm64.deb
|
||||||
|
echo "[Desktop Entry]
|
||||||
|
Version=1.1
|
||||||
|
Type=Application
|
||||||
|
Name=Browsh
|
||||||
|
Comment=The modern text-based terminal browser.
|
||||||
|
Icon=$(dirname "$0")/icon-64.png
|
||||||
|
Exec=browsh
|
||||||
|
Terminal=true
|
||||||
|
Actions=
|
||||||
|
Categories=Network;" > ~/.local/share/applications/browsh.desktop
|
||||||
|
|
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||||
|
|
||||||
|
function error {
|
||||||
|
echo -e "\\e[91m$1\\e[39m"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
sudo apt purge -y browsh || error 'Failed to remove browsh!'
|
||||||
|
sudo rm ~/.local/share/applications/browsh.desktop
|
||||||
|
|
||||||
|
#if your app installs any packages, keep this command here so those packages will be removed.
|
||||||
|
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1
|
@ -0,0 +1 @@
|
|||||||
|
https://www.brow.sh/
|
Loading…
Reference in New Issue