Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add browsh #1013

Merged
merged 4 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 01-main/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ bluejeans-v2
bottom
brave-browser
brisqi
browsh
caddy
caprine
cawbird
Expand Down
16 changes: 16 additions & 0 deletions 01-main/packages/browsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
DEFVER=1
ARCHS_SUPPORTED="amd64 arm64 armv6 armv7 i386"
URL_ARCH="${HOST_ARCH}"
if [[ "${URL_ARCH}" =~ ^arm$ ]]; then
URL_ARCH=armv7
elif [[ "${URL_ARCH}" =~ i386 ]]; then
URL_ARCH=386
fi
get_github_releases "browsh-org/browsh"
if [ "${ACTION}" != "prettylist" ]; then
URL=$(grep "browser_download_url.*${URL_ARCH}\.deb\"" "${CACHE_FILE}" | head -n1 | cut -d'"' -f4)
VERSION_PUBLISHED=$(grep -Eo '/v[^/]*' <<<"${URL}" | cut -d 'v' -f 2)
fi
PRETTY_NAME="browsh"
WEBSITE="https://github.com/browsh-org/browsh"
SUMMARY="A fully interactive, real-time, and modern text-based browser rendered to TTYs and browsers."