Compare commits

...
3 Commits
Author SHA1 Message Date
gib 7f930933b4 Run the unit as a rootless user service
WorkingDirectory uses %h, the unit installs under default.target, and it retries a failed start with a limit, the same as the other services on the VPS.
2026-10-06 10:57:44 -04:00
gib e08f9fafa9 Update dependencies
Vite 8, TypeScript 6, vite-plugin-pwa 1.2 and @types/node 25. The lockfile matches.
2026-10-06 10:57:44 -04:00
gib 9b17150728 Remove the SearXNG bang
The SearXNG instance was shut down on 2026-08-11. Google (!g) is the default bang now, set with VITE_DEFAULT_BANG.
2026-10-06 10:57:44 -04:00
4 changed files with 1071 additions and 1200 deletions

No files matched your search

+7 -2
View File
@@ -2,14 +2,19 @@
Description=Podman Compose: Bang
After=network-online.target
Wants=network-online.target
StartLimitIntervalSec=300
StartLimitBurst=3
[Service]
Type=oneshot
WorkingDirectory=/home/gib/Server/Search/Bang/docker
WorkingDirectory=%h/Server/Search/Bang/docker
ExecStart=/usr/bin/podman compose up -d
ExecStop=/usr/bin/podman compose down
RemainAfterExit=yes
TimeoutStartSec=900
TimeoutStopSec=60
Restart=on-failure
RestartSec=30
[Install]
WantedBy=multi-user.target
WantedBy=default.target
+4 -4
View File
@@ -10,13 +10,13 @@
"preview": "vite preview"
},
"devDependencies": {
"@types/node": "^22.19.3",
"@types/node": "^25.6.0",
"ts-node": "^10.9.2",
"typescript": "~5.7.3",
"vite": "^6.4.1"
"typescript": "~6.0.3",
"vite": "^8.0.8"
},
"dependencies": {
"vite-plugin-pwa": "^0.21.2"
"vite-plugin-pwa": "^1.2.0"
},
"packageManager": "[email protected]+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
"pnpm": {
+1057 -1184
View File
File diff suppressed because it is too large. Load diff
+3 -10
View File
@@ -1,6 +1,8 @@
// This file was (mostly) ripped from https://duckduckgo.com/bang.js
const SEARXNG_URL = import.meta.env.VITE_SEARXNG_URL as string;
// SearXNG removed 2026-08-11: the VPS instance was decommissioned (datacenter IP was
// being CAPTCHA'd/403'd by most engines). The "!s" bang went with it; "!g" (Google) is
// now the default, set via VITE_DEFAULT_BANG in .env.
const GITEA_URL = import.meta.env.VITE_GITEA_URL as string;
const OPENWEBUI_URL = import.meta.env.VITE_OPENWEBUI_URL as string;
const PLEX_URL = import.meta.env.VITE_PLEX_URL as string;
@@ -15,15 +17,6 @@ const OPENAI_MODEL = import.meta.env.VITE_OPENAI_MODEL as string;
const CLAUDE_MODEL = import.meta.env.VITE_CLAUDE_MODEL.replace("/", "%2F") as string;
export const bangs = [
{
c: "Online Services",
d: SEARXNG_URL,
r: 0,
s: "Searxng",
sc: "Search",
t: "s",
u: `${SEARXNG_URL}/?q={{{s}}}`,
},
{
c: "Tech",
d: GITEA_URL,