Merge pull request #199 from codedipper/main
Remove bibliogram, add suds
This commit is contained in:
commit
eaa76b3cfa
|
@ -32,12 +32,6 @@
|
||||||
"original_name" => "YouTube",
|
"original_name" => "YouTube",
|
||||||
"original_url" => "youtube.com"
|
"original_url" => "youtube.com"
|
||||||
),
|
),
|
||||||
"bibliogram" => array(
|
|
||||||
"instance_url" => "",
|
|
||||||
"project_url" => "https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instances.md",
|
|
||||||
"original_name" => "Instagram",
|
|
||||||
"original_url" => "instagram.com"
|
|
||||||
),
|
|
||||||
"rimgo" => array(
|
"rimgo" => array(
|
||||||
"instance_url" => "",
|
"instance_url" => "",
|
||||||
"project_url" => "https://codeberg.org/video-prize-ranch/rimgo#instances",
|
"project_url" => "https://codeberg.org/video-prize-ranch/rimgo#instances",
|
||||||
|
@ -111,6 +105,12 @@
|
||||||
"project_url" => "https://github.com/httpjamesm/AnonymousOverflow#clearnet-instances",
|
"project_url" => "https://github.com/httpjamesm/AnonymousOverflow#clearnet-instances",
|
||||||
"original_name" => "StackOverflow",
|
"original_name" => "StackOverflow",
|
||||||
"original_url" => "stackoverflow.com"
|
"original_url" => "stackoverflow.com"
|
||||||
|
),
|
||||||
|
"suds" => array(
|
||||||
|
"instance_url" => "",
|
||||||
|
"project_url" => "https://git.vern.cc/cobra/Suds/src/branch/main/instances.json",
|
||||||
|
"original_name" => "Snopes",
|
||||||
|
"original_url" => "snopes.com"
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
|
@ -107,7 +107,6 @@ This docker image was developed with high configurability in mind, so here is th
|
||||||
| Variables | Default | Examples | Description |
|
| Variables | Default | Examples | Description |
|
||||||
|:----------|:-------------|:---------|:------|
|
|:----------|:-------------|:---------|:------|
|
||||||
| APP_INVIDIOUS | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
| APP_INVIDIOUS | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||||
| APP_BIBLIOGRAM | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
|
||||||
| APP_RIMGO | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
| APP_RIMGO | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||||
| APP_SCRIBE | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
| APP_SCRIBE | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||||
| APP_LIBRARIAN | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
| APP_LIBRARIAN | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||||
|
@ -120,6 +119,7 @@ This docker image was developed with high configurability in mind, so here is th
|
||||||
| APP_LIBREMDB | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
| APP_LIBREMDB | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||||
| APP_BREEZEWIKI | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
| APP_BREEZEWIKI | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||||
| APP_ANONYMOUS_OVERFLOW | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
| APP_ANONYMOUS_OVERFLOW | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||||
|
| APP_SUDS | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ export CONFIG_WIKIPEDIA_LANGUAGE=${CONFIG_WIKIPEDIA_LANGUAGE:-${CONFIG_GOOGLE_LA
|
||||||
# Supported apps integration configuration. These empty spaces can be set up using free hosts as pointers
|
# Supported apps integration configuration. These empty spaces can be set up using free hosts as pointers
|
||||||
# A particular example is using the "https://yewtu.be" or a self-hosted host to integrate the invidious app to librex
|
# A particular example is using the "https://yewtu.be" or a self-hosted host to integrate the invidious app to librex
|
||||||
export APP_INVIDIOUS=${APP_INVIDIOUS:-""}
|
export APP_INVIDIOUS=${APP_INVIDIOUS:-""}
|
||||||
export APP_BIBLIOGRAM=${APP_BIBLIOGRAM:-""}
|
|
||||||
export APP_RIMGO=${APP_RIMGO:-""}
|
export APP_RIMGO=${APP_RIMGO:-""}
|
||||||
export APP_SCRIBE=${APP_SCRIBE:-""}
|
export APP_SCRIBE=${APP_SCRIBE:-""}
|
||||||
export APP_LIBRARIAN=${APP_LIBRARIAN:-""}
|
export APP_LIBRARIAN=${APP_LIBRARIAN:-""}
|
||||||
|
@ -47,6 +46,7 @@ export APP_QUETRE=${APP_QUETRE:-""}
|
||||||
export APP_LIBREMDB=${APP_LIBREMDB:-""}
|
export APP_LIBREMDB=${APP_LIBREMDB:-""}
|
||||||
export APP_BREEZEWIKI=${APP_BREEZEWIKI:-""}
|
export APP_BREEZEWIKI=${APP_BREEZEWIKI:-""}
|
||||||
export APP_ANONYMOUS_OVERFLOW=${APP_ANONYMOUS_OVERFLOW:-""}
|
export APP_ANONYMOUS_OVERFLOW=${APP_ANONYMOUS_OVERFLOW:-""}
|
||||||
|
export APP_SUDS=${APP_SUDS:-""}
|
||||||
|
|
||||||
# GNU/Curl configurations. Leave 'CURLOPT_PROXY' blank whether you don't need to use a proxy for requests
|
# GNU/Curl configurations. Leave 'CURLOPT_PROXY' blank whether you don't need to use a proxy for requests
|
||||||
# Generally, a proxy is needed when your IP address is blocked by search engines in response to multiple requests within a short time frame. In these cases, it is recommended to use rotating proxies
|
# Generally, a proxy is needed when your IP address is blocked by search engines in response to multiple requests within a short time frame. In these cases, it is recommended to use rotating proxies
|
||||||
|
|
|
@ -18,12 +18,6 @@
|
||||||
"original_name" => "YouTube",
|
"original_name" => "YouTube",
|
||||||
"original_url" => "youtube.com"
|
"original_url" => "youtube.com"
|
||||||
),
|
),
|
||||||
"bibliogram" => array(
|
|
||||||
"instance_url" => "${APP_BIBLIOGRAM}",
|
|
||||||
"project_url" => "https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instances.md",
|
|
||||||
"original_name" => "Instagram",
|
|
||||||
"original_url" => "instagram.com"
|
|
||||||
),
|
|
||||||
"rimgo" => array(
|
"rimgo" => array(
|
||||||
"instance_url" => "${APP_RIMGO}",
|
"instance_url" => "${APP_RIMGO}",
|
||||||
"project_url" => "https://codeberg.org/video-prize-ranch/rimgo#instances",
|
"project_url" => "https://codeberg.org/video-prize-ranch/rimgo#instances",
|
||||||
|
@ -97,7 +91,14 @@
|
||||||
"project_url" => "https://github.com/httpjamesm/AnonymousOverflow#clearnet-instances",
|
"project_url" => "https://github.com/httpjamesm/AnonymousOverflow#clearnet-instances",
|
||||||
"original_name" => "StackOverflow",
|
"original_name" => "StackOverflow",
|
||||||
"original_url" => "stackoverflow.com"
|
"original_url" => "stackoverflow.com"
|
||||||
|
),
|
||||||
|
"suds" => array(
|
||||||
|
"instance_url" => "${APP_SUDS}",
|
||||||
|
"project_url" => "https://git.vern.cc/cobra/Suds/src/branch/main/instances.json",
|
||||||
|
"original_name" => "Snopes",
|
||||||
|
"original_url" => "snopes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
),
|
),
|
||||||
|
|
||||||
"curl_settings" => array(
|
"curl_settings" => array(
|
||||||
|
|
|
@ -22,7 +22,6 @@ ENV CONFIG_BITTORRENT_TRACKERS="&tr=http://nyaa.tracker.wf:7777/announce&tr=udp:
|
||||||
# Supported apps integration configuration. These empty spaces can be set up using free hosts as pointers
|
# Supported apps integration configuration. These empty spaces can be set up using free hosts as pointers
|
||||||
# A particular example is using the "https://yewtu.be" or a self-hosted host to integrate the invidious app to librex
|
# A particular example is using the "https://yewtu.be" or a self-hosted host to integrate the invidious app to librex
|
||||||
ENV APP_INVIDIOUS=""
|
ENV APP_INVIDIOUS=""
|
||||||
ENV APP_BIBLIOGRAM=""
|
|
||||||
ENV APP_RIMGO=""
|
ENV APP_RIMGO=""
|
||||||
ENV APP_SCRIBE=""
|
ENV APP_SCRIBE=""
|
||||||
ENV APP_LIBRARIAN=""
|
ENV APP_LIBRARIAN=""
|
||||||
|
@ -35,6 +34,7 @@ ENV APP_QUETRE=""
|
||||||
ENV APP_LIBREMDB=""
|
ENV APP_LIBREMDB=""
|
||||||
ENV APP_BREEZEWIKI=""
|
ENV APP_BREEZEWIKI=""
|
||||||
ENV APP_ANONYMOUS_OVERFLOW=""
|
ENV APP_ANONYMOUS_OVERFLOW=""
|
||||||
|
ENV APP_SUDS=""
|
||||||
|
|
||||||
# GNU/Curl configurations. Leave 'CURLOPT_PROXY' blank whether you don't need to use a proxy for requests
|
# GNU/Curl configurations. Leave 'CURLOPT_PROXY' blank whether you don't need to use a proxy for requests
|
||||||
# Generally, a proxy is needed when your IP address is blocked by search engines in response to multiple requests within a short time frame. In these cases, it is recommended to use rotating proxies
|
# Generally, a proxy is needed when your IP address is blocked by search engines in response to multiple requests within a short time frame. In these cases, it is recommended to use rotating proxies
|
||||||
|
|
|
@ -30,12 +30,6 @@
|
||||||
else if (!empty($frontends[$frontend]["instance_url"]))
|
else if (!empty($frontends[$frontend]["instance_url"]))
|
||||||
$frontend = $frontends[$frontend]["instance_url"];
|
$frontend = $frontends[$frontend]["instance_url"];
|
||||||
|
|
||||||
if ($original == "instagram.com")
|
|
||||||
{
|
|
||||||
if (!strpos($url, "/p/"))
|
|
||||||
$frontend .= "/u";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (empty(trim($frontend)))
|
if (empty(trim($frontend)))
|
||||||
return $url;
|
return $url;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue