Initial Commit
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-05-01 17:05:43 -07:00
commit 09248d7791
76 changed files with 969 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
static/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

9
static/browserconfig.xml Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#ffed00</TileColor>
</tile>
</msapplication>
</browserconfig>

BIN
static/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

BIN
static/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

82
static/lure.sh Normal file
View File

@@ -0,0 +1,82 @@
#!/bin/bash
info() {
echo $'\x1b[32m[INFO]\x1b[0m' $@
}
warn() {
echo $'\x1b[31m[WARN]\x1b[0m' $@
}
error() {
echo $'\x1b[31;1m[ERR]\x1b[0m' $@
exit 1
}
installPkg() {
rootCmd=""
if command -v doas &>/dev/null; then
rootCmd="doas"
elif command -v sudo &>/dev/null; then
rootCmd="sudo"
else
warn "No privilege elevation command (e.g. sudo, doas) detected"
fi
case $1 in
pacman) $rootCmd pacman --noconfirm -U ${@:2} ;;
apk) $rootCmd apk add --allow-untrusted ${@:2} ;;
*) $rootCmd $1 install -y ${@:2} ;;
esac
}
if ! command -v curl &>/dev/null; then
error "This script requires the curl command. Please install it and run again."
fi
pkgFormat=""
pkgMgr=""
if command -v pacman &>/dev/null; then
info "Detected pacman"
pkgFormat="pkg.tar.zst"
pkgMgr="pacman"
elif command -v apt &>/dev/null; then
info "Detected apt"
pkgFormat="deb"
pkgMgr="apt"
elif command -v dnf &>/dev/null; then
info "Detected dnf"
pkgFormat="rpm"
pkgMgr="dnf"
elif command -v yum &>/dev/null; then
info "Detected yum"
pkgFormat="rpm"
pkgMgr="yum"
elif command -v zypper &>/dev/null; then
info "Detected zypper"
pkgFormat="rpm"
pkgMgr="zypper"
elif command -v apk &>/dev/null; then
info "Detected apk"
pkgFormat="apk"
pkgMgr="apk"
else
error "No supported package manager detected!"
fi
latestVersion=$(curl -sI 'https://gitea.elara.ws/Elara6331/lure/releases/latest' | grep -io 'location: .*' | rev | cut -d '/' -f1 | rev | tr -d '[:space:]')
info "Found latest LURE version:" $latestVersion
fname="$(mktemp -u -p /tmp "lure.XXXXXXXXXX").${pkgFormat}"
url="https://gitea.elara.ws/Elara6331/lure/releases/download/${latestVersion}/linux-user-repository-${latestVersion#v}-linux-$(uname -m).${pkgFormat}"
info "Downloading LURE package"
curl -L $url -o $fname
info "Installing LURE package"
installPkg $pkgMgr $fname
info "Cleaning up"
rm $fname
info "Done!"

BIN
static/mstile-150x150.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="500.000000pt" height="500.000000pt" viewBox="0 0 500.000000 500.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.14, written by Peter Selinger 2001-2017
</metadata>
<g transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M58 4655 c-48 -27 -59 -63 -53 -168 8 -137 15 -244 20 -317 2 -36 7
-105 10 -155 3 -49 7 -121 10 -160 3 -38 7 -110 10 -160 4 -49 8 -117 10 -150
5 -77 15 -221 20 -310 10 -172 16 -252 22 -280 4 -16 7 -32 8 -35 12 -59 71
-164 121 -214 29 -29 124 -94 199 -136 314 -176 327 -187 327 -282 -1 -72 -22
-93 -202 -197 -80 -45 -160 -97 -179 -115 -75 -70 -108 -158 -98 -259 9 -85
416 -1299 447 -1332 51 -54 129 -69 188 -37 18 9 343 327 722 706 l690 690 0
-273 0 -273 34 -34 c34 -34 34 -34 130 -34 177 0 176 -3 176 347 l0 268 698
-697 c389 -389 709 -702 725 -708 59 -21 131 -4 174 42 18 19 54 95 63 133 4
15 11 38 21 65 5 14 11 34 14 45 3 11 82 247 176 525 169 498 171 506 173 595
1 80 -2 96 -26 140 -39 75 -78 108 -242 202 -81 48 -159 98 -172 112 -47 51
-46 138 1 193 11 13 110 75 220 138 243 140 300 189 354 304 46 96 47 103 66
401 3 50 8 119 10 155 2 36 7 108 10 160 3 52 7 115 10 140 2 25 7 97 10 160
4 63 8 131 10 150 2 19 6 94 10 165 3 72 8 141 10 155 12 81 15 256 5 280 -18
43 -60 68 -108 66 -40 -2 -72 -22 -152 -92 -14 -13 -106 -89 -205 -169 -99
-81 -198 -162 -220 -180 -159 -131 -963 -791 -1199 -984 -160 -130 -323 -268
-363 -307 l-73 -72 0 150 c0 166 -8 197 -59 218 -41 17 -179 17 -220 1 -53
-23 -61 -51 -61 -219 l0 -150 -67 67 c-38 36 -137 123 -222 191 -85 69 -159
130 -165 135 -6 6 -36 30 -66 55 -30 25 -60 49 -67 55 -6 5 -78 65 -160 131
-339 278 -570 468 -593 488 -14 12 -34 28 -46 36 -11 8 -43 34 -70 57 -27 23
-69 58 -94 78 -25 20 -65 53 -89 73 -71 60 -78 66 -113 94 -46 37 -284 232
-337 276 -24 21 -53 43 -64 51 -29 20 -88 23 -119 6z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

18
static/site.webmanifest Normal file
View File

@@ -0,0 +1,18 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff"
}