Add a bunch of self hosted services

This commit is contained in:
Gabriel Brown 2025-02-28 12:59:09 -06:00
parent 1451ab0ef1
commit 6f336b18d3
3 changed files with 72 additions and 17 deletions

View File

@ -1,10 +1,16 @@
# All environment variables must be prefixed with VITE_ to be seen by client.
# Self-hosted Services URLs.
# Self-hosted Services URLs. Do not include the trailing slash.
VITE_BANG_URL="https://bang."
VITE_GITEA_URL="https://git."
VITE_SEARXNG_URL="https://search."
VITE_OPENWEBUI_URL="https://chat."
VITE_NEXTCLOUD_URL="https://apps.cloud."
VITE_PLEX_URL="https://plex."
VITE_OVERSEERR_URL="https://overseerr."
VITE_SONARR_URL="https://sonarr."
VITE_RADARR_URL="https://radarr."
VITE_LIDARR_URL="https://lidarr."
# Set default bang here. For example "g" would be Google.
# Google is the default if you don't set this.

View File

@ -9,6 +9,12 @@ This fork allows anyone to easily self host this service & add bangs for their o
- Searxng *!s*
- Gitea *!tea*
- OpenWebUI *!ai*
- Nextcloud App Store *!cloudapp*
- Plex *!plex*
- Overseerr *!ov*
- Sonarr *!tv*
- Radarr *!mv*
- Lidarr *!mp3*
*Note: We have replaced some of the default bangs from duckduckgo with our own bangs in order to have more simple bangs for the self-hosted websites.*

View File

@ -3,6 +3,13 @@
const SEARXNG_URL = import.meta.env.VITE_SEARXNG_URL as string;
const GITEA_URL = import.meta.env.VITE_GITEA_URL as string;
const OPENWEBUI_URL = import.meta.env.VITE_OPENWEBUI_URL as string;
const NEXTCLOUD_APPS_URL = import.meta.env.VITE_NEXTCLOUD_URL as string ?? "https://apps.nextcloud.com";
const PLEX_URL = import.meta.env.VITE_PLEX_URL as string;
const OVERSEERR_URL = import.meta.env.VITE_OVERSEERR_URL as string;
const SONARR_URL = import.meta.env.VITE_SONARR_URL as string;
const RADARR_URL = import.meta.env.VITE_RADARR_URL as string;
const LIDARR_URL = import.meta.env.VITE_LIDARR_URL as string;
const LLAMA_MODEL = import.meta.env.VITE_LLAMA_MODEL.replace(":", "%3A") as string;
const DEEPSEEK_MODEL = import.meta.env.VITE_DEEPSEEK_MODEL.replace(":", "%3A") as string;
const OPENAI_MODEL = import.meta.env.VITE_OPENAI_MODEL as string;
@ -27,6 +34,51 @@ export const bangs = [
t: "tea",
u: `${GITEA_URL}/?repo-search-query={{{s}}}`,
},
{
c: "Entertainment",
d: PLEX_URL,
r: 0,
s: "Plex",
sc: "Movies",
t: "plex",
u: `${PLEX_URL}/web/index.html#!/search?pivot=top&query=query={{{s}}}`,
},
{
c: "Entertainment",
d: OVERSEERR_URL,
r: 0,
s: "Overseerr",
sc: "Movies",
t: "ov",
u: `${OVERSEERR_URL}/search?query={{{s}}}`,
},
{
c: "Entertainment",
d: LIDARR_URL,
r: 0,
s: "Lidarr",
sc: "Music",
t: "mp3",
u: `${LIDARR_URL}/add/new?term={{{s}}}`,
},
{
c: "Entertainment",
d: SONARR_URL,
r: 0,
s: "Sonarr",
sc: "TV",
t: "tv",
u: `${SONARR_URL}/add/new?term={{{s}}}`,
},
{
c: "Entertainment",
d: RADARR_URL,
r: 0,
s: "Radarr",
sc: "Movies",
t: "mv",
u: `${RADARR_URL}/add/new?term={{{s}}}`,
},
{
c: "AI",
d: OPENWEBUI_URL,
@ -71422,7 +71474,7 @@ export const bangs = [
r: 10,
s: "Myvideo",
sc: "Video",
t: "mv",
t: "myvideo",
u: "http://www.myvideo.de/Videos_A-Z?searchWord={{{s}}}",
},
{
@ -73531,12 +73583,12 @@ export const bangs = [
},
{
c: "Tech",
d: "apps.nextcloud.com",
d: NEXTCLOUD_APPS_URL,
r: 0,
s: "Nextcloud App Store",
sc: "Sysadmin",
t: "nextcloudapp",
u: "https://apps.nextcloud.com/?search={{{s}}}",
t: "cloudapp",
u: `${NEXTCLOUD_APPS_URL}/?q={{{s}}}`,
},
{
c: "Entertainment",
@ -78861,7 +78913,7 @@ export const bangs = [
r: 0,
s: "StackOverflow",
sc: "Programming",
t: "ov",
t: "ovfl",
u: "http://stackoverflow.com/search?q={{{s}}}",
},
{
@ -106814,15 +106866,6 @@ export const bangs = [
t: "tva",
u: "https://tweakers.net/aanbod/zoeken/?keyword={{{s}}}",
},
{
c: "Entertainment",
d: "www.tv.com",
r: 0,
s: "TV.com",
sc: "TV",
t: "tvcom",
u: "http://www.tv.com/search?q={{{s}}}",
},
{
c: "Entertainment",
d: "www.thetvdb.com",
@ -106982,7 +107025,7 @@ export const bangs = [
r: 31,
s: "tv.com",
sc: "TV",
t: "tv",
t: "tvcom",
u: "http://www.tv.com/search?q={{{s}}}",
},
{