Browse Source

remove bibliogram

Revvy 2 years ago
parent
commit
e4178913bd
6 changed files with 0 additions and 21 deletions
  1. 0 6
      config.php.example
  2. 0 1
      docker/README.md
  3. 0 1
      docker/attributes.sh
  4. 0 6
      docker/php/config.php
  5. 0 1
      docker/php/php.dockerfile
  6. 0 6
      misc/tools.php

+ 0 - 6
config.php.example

@@ -32,12 +32,6 @@
                 "original_name" => "YouTube",
                 "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(
                 "instance_url" => "",
                 "project_url" => "https://codeberg.org/video-prize-ranch/rimgo#instances", 

+ 0 - 1
docker/README.md

@@ -107,7 +107,6 @@ This docker image was developed with high configurability in mind, so here is th
 | Variables | Default | Examples | Description |
 |:----------|:-------------|:---------|:------|
 | 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_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. |

+ 0 - 1
docker/attributes.sh

@@ -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
 # 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_BIBLIOGRAM=${APP_BIBLIOGRAM:-""}
 export APP_RIMGO=${APP_RIMGO:-""}
 export APP_SCRIBE=${APP_SCRIBE:-""}
 export APP_LIBRARIAN=${APP_LIBRARIAN:-""}

+ 0 - 6
docker/php/config.php

@@ -18,12 +18,6 @@
                 "original_name" => "YouTube",
                 "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(
                 "instance_url" => "${APP_RIMGO}",
                 "project_url" => "https://codeberg.org/video-prize-ranch/rimgo#instances",

+ 0 - 1
docker/php/php.dockerfile

@@ -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
 # 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_BIBLIOGRAM=""
 ENV APP_RIMGO=""
 ENV APP_SCRIBE=""
 ENV APP_LIBRARIAN=""

+ 0 - 6
misc/tools.php

@@ -30,12 +30,6 @@
             else if (!empty($frontends[$frontend]["instance_url"]))
                 $frontend = $frontends[$frontend]["instance_url"];
 
-           if ($original == "instagram.com")
-            {
-                if (!strpos($url, "/p/"))
-                    $frontend .= "/u";
-            }
-
             if (empty(trim($frontend)))
                 return $url;