Update librarian
This commit is contained in:
parent
b8dc028d15
commit
a014aaa130
|
@ -1,80 +1,16 @@
|
|||
From 1b8e6bebdf22a5b1bbf9babb35fb04df80332f26 Mon Sep 17 00:00:00 2001
|
||||
Date: Mon, 4 Jul 2022 12:22:44 -0400
|
||||
Subject: [PATCH] test
|
||||
From ff8c203f7c54d34ac489d9f53c9b0777c974852f Mon Sep 17 00:00:00 2001
|
||||
From: Administrator <tildemaster@vern.cc>
|
||||
Date: Fri, 2 Sep 2022 09:15:08 -0400
|
||||
Subject: [PATCH] Add Doom One ColourScheme
|
||||
|
||||
---
|
||||
config.example.yml | 56 --------------------------------------
|
||||
static/css/themes/dark.css | 22 +++++++--------
|
||||
static/css/video.css | 4 +--
|
||||
views/partials/head.hbs | 5 ----
|
||||
4 files changed, 13 insertions(+), 74 deletions(-)
|
||||
delete mode 100644 config.example.yml
|
||||
static/css/themes/dark.css | 20 ++++++++++----------
|
||||
static/css/video.css | 4 ++--
|
||||
views/partials/head.hbs | 12 +-----------
|
||||
3 files changed, 13 insertions(+), 23 deletions(-)
|
||||
|
||||
diff --git a/config.example.yml b/config.example.yml
|
||||
deleted file mode 100644
|
||||
index 50c43e1..0000000
|
||||
--- a/config.example.yml
|
||||
+++ /dev/null
|
||||
@@ -1,56 +0,0 @@
|
||||
-DOMAIN: 'https://domain.tld'
|
||||
-PORT: '3000'
|
||||
-# Optional: Set address to bind to, example: 127.0.0.1
|
||||
-ADDRESS: ''
|
||||
-# Running a custom API server is not recommended and is not suitable for a public instance
|
||||
-API_URL: 'https://api.na-backend.odysee.com/api/v1/proxy'
|
||||
-# Use a custom video streaming endpoint (if using custom API server or proxying videos)
|
||||
-VIDEO_STREAMING_URL: ''
|
||||
-STREAMING_API_URL: 'https://api.na-backend.odysee.com/api/v1/proxy'
|
||||
-USE_HTTP3: false
|
||||
-FIBER_PREFORK: false
|
||||
-# Block access to claims in case of DMCA
|
||||
-BLOCKED_CLAIMS:
|
||||
- - claimId
|
||||
-# AUTH_TOKEN and HMAC_KEY is automatically generated
|
||||
-AUTH_TOKEN: ''
|
||||
-HMAC_KEY: ''
|
||||
-# Create IMAGE_CACHE_DIR before enabling image caching
|
||||
-IMAGE_CACHE: false
|
||||
-IMAGE_CACHE_DIR: '/var/cache/librarian'
|
||||
-IMAGE_CACHE_CLEANUP_INTERVAL: 24h
|
||||
-# Live streams are proxied through the instance (unless LIVE_STREAMING_URL is set)
|
||||
-# and may cause increased bandwidth usage.
|
||||
-ENABLE_LIVE_STREAM: false
|
||||
-# Using an external proxy (such as https://codeberg.org/librarian/stream-proxy)
|
||||
-# for livestreams is recommended. Due to limitations with Go's HTTP library,
|
||||
-# resolution with the built-in proxy is limited to 480p.
|
||||
-LIVE_STREAMING_URL: ''
|
||||
-# Rewrite links to other frontends
|
||||
-FRONTEND:
|
||||
- youtube: 'https://yt.domain.tld'
|
||||
- twitter: 'https://twitter.domain.tld'
|
||||
- imgur: 'https://imgur.domain.tld'
|
||||
- instagram: 'https://insta.domain.tld'
|
||||
- tiktok: 'https://tiktok.domain.tld'
|
||||
- reddit: 'https://reddit.domain.tld'
|
||||
-# Instance privacy: This is required to get your instance listed. For more info,
|
||||
-# See: https://codeberg.org/librarian/librarian/wiki/Instance-privacy
|
||||
-INSTANCE_PRIVACY:
|
||||
-# This is the default if you are using NGINX and have not disabled data collection.
|
||||
-# Read https://codeberg.org/librarian/librarian/wiki/Instance-privacy
|
||||
- DATA_NOT_COLLECTED: false
|
||||
- DATA_COLLECTED_IP: true
|
||||
- DATA_COLLECTED_URL: true
|
||||
- DATA_COLLECTED_DEVICE: true
|
||||
- DATA_COLLECTED_DIAGNOSTIC_ONLY: false
|
||||
- # The country your instance is located. Leave blank if hosting on darknet.
|
||||
- INSTANCE_COUNTRY: "United States"
|
||||
- # Put the name of your hosting provider. If hosting from home, use the name of your ISP. Leave blank if hosting on darknet.
|
||||
- INSTANCE_PROVIDER: "Amazon Web Services"
|
||||
- # Cloudflare use is discouraged. You can set this to false if it is not proxied (gray cloud icon)
|
||||
- INSTANCE_CLOUDFLARE: false
|
||||
- # Optional: Explain your usage of data (if collected) and how it is stored.
|
||||
- MESSAGE: ""
|
||||
- # Link to your privacy policy, leave blank if you don't have one.
|
||||
- PRIVACY_POLICY: ""
|
||||
\ No newline at end of file
|
||||
diff --git a/static/css/themes/dark.css b/static/css/themes/dark.css
|
||||
index f9755b6..d81058e 100644
|
||||
index 56ba94d..b6b4f7b 100644
|
||||
--- a/static/css/themes/dark.css
|
||||
+++ b/static/css/themes/dark.css
|
||||
@@ -1,12 +1,12 @@
|
||||
|
@ -110,15 +46,7 @@ index f9755b6..d81058e 100644
|
|||
}
|
||||
|
||||
.badge {
|
||||
@@ -26,17 +26,17 @@ body {
|
||||
}
|
||||
|
||||
.relVid__link {
|
||||
- color: #ffffff;
|
||||
+ color: #bbc2cf;
|
||||
}
|
||||
.streamOffline {
|
||||
background-color: --var(--purple);
|
||||
@@ -30,10 +30,10 @@ body {
|
||||
}
|
||||
|
||||
select {
|
||||
|
@ -127,25 +55,25 @@ index f9755b6..d81058e 100644
|
|||
}
|
||||
|
||||
code {
|
||||
background-color: #616161;
|
||||
color: white;
|
||||
background-color: #616161 !important;
|
||||
color: white !important;
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
||||
diff --git a/static/css/video.css b/static/css/video.css
|
||||
index a694db7..1db0103 100644
|
||||
index c1713dc..7dde1eb 100644
|
||||
--- a/static/css/video.css
|
||||
+++ b/static/css/video.css
|
||||
@@ -69,7 +69,7 @@ li br {
|
||||
@@ -13,7 +13,7 @@ video {
|
||||
aspect-ratio: 16 / 9;
|
||||
max-height: 720px;
|
||||
width: 100%;
|
||||
- background-color: #000;
|
||||
+ background-color: #282c34;
|
||||
}
|
||||
|
||||
.relVid__link {
|
||||
- color: #000;
|
||||
+ color: #bbc2cf;
|
||||
}
|
||||
|
||||
.relVid__thumbnailWrapper {
|
||||
@@ -135,4 +135,4 @@ li br {
|
||||
.streamOffline {
|
||||
@@ -132,4 +132,4 @@ li br {
|
||||
margin-top: -1.75em;
|
||||
height: 1.5em;
|
||||
}
|
||||
|
@ -153,19 +81,25 @@ index a694db7..1db0103 100644
|
|||
\ No newline at end of file
|
||||
+}
|
||||
diff --git a/views/partials/head.hbs b/views/partials/head.hbs
|
||||
index 7ec6edd..fe328f0 100644
|
||||
index ffa79c8..36d67ef 100644
|
||||
--- a/views/partials/head.hbs
|
||||
+++ b/views/partials/head.hbs
|
||||
@@ -15,8 +15,3 @@
|
||||
@@ -14,14 +14,4 @@
|
||||
|
||||
<link rel="stylesheet" href="/static/css/base.css"/>
|
||||
<link rel="stylesheet" href="/static/fonts/Material-Icons-Outlined.css" />
|
||||
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="/static/css/themes/dark.css"/>
|
||||
-<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="/static/css/themes/dark.css"/>
|
||||
-{{#if theme}}
|
||||
-{{#noteq theme "system"}}
|
||||
-<link rel="stylesheet" href="/static/css/themes/{{theme}}.css"/>
|
||||
-{{/noteq}}
|
||||
-{{/if}}
|
||||
-{{#if settings.theme}}
|
||||
-{{#noteq settings.theme "system"}}
|
||||
-<link rel="stylesheet" href="/static/css/themes/{{settings.theme}}.css"/>
|
||||
-{{/noteq}}
|
||||
-{{/if}}
|
||||
\ No newline at end of file
|
||||
+<link rel="stylesheet" href="/static/css/themes/dark.css"/>
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
Loading…
Reference in New Issue