![]() From https://github.com/iv-org/invidious/pull/4003 Squashed commit 5bcc25b2da46e5b21ebc9d11a0963b4df8cd9402 Author: syeopite <syeopite@syeopite.dev> Date: Thu Nov 7 20:33:35 2024 -0800 Reduce footer buffer height commit 1341f67e85b27103514339c0ab4267dae7e7af09 Author: syeopite <syeopite@syeopite.dev> Date: Thu Nov 7 20:29:52 2024 -0800 Rename project homepage to project website commit d1b9769d8941e4ce7d95bc2f3a574586da47b3c9 Author: syeopite <syeopite@syeopite.dev> Date: Thu Nov 7 20:28:26 2024 -0800 Add footer buffer only in necessary templates commit 2c798c945215db683aa4be2e34747ea9f6bf1c8b Author: syeopite <syeopite@syeopite.dev> Date: Wed Mar 13 14:58:29 2024 -0700 Remove preferences and login link from footer commit d5571faec5435dff3a1c09d726c983fbc9836bb2 Author: syeopite <syeopite@syeopite.dev> Date: Wed Mar 13 14:52:43 2024 -0700 Add modified disclaimer to version tag commit a41bedbe64152ce5c51589c2d645276b89f4060a Author: syeopite <syeopite@syeopite.dev> Date: Wed Mar 13 14:50:44 2024 -0700 Typo commit 87cdc3b286a80f0a404e4b2891a58febe3aacad7 Author: syeopite <syeopite@syeopite.dev> Date: Wed Mar 13 14:48:06 2024 -0700 Add config option for instance donation link Co-authored-by: Arya K <arya@projectsegfau.lt> commit b5ae452bc5750e14f00d8e16d2fc8b708262fcc3 Author: syeopite <syeopite@syeopite.dev> Date: Wed Mar 13 14:38:18 2024 -0700 Add "Instance" section to footer commit 001ba71b9101445243d194887adbd0b95852cc54 Author: syeopite <syeopite@syeopite.dev> Date: Wed Mar 13 14:01:20 2024 -0700 Add config to add custom text in the footer Co-authored-by: Aural Glow <125497673+auralglow@users.noreply.github.com> commit 1da6933b8e41be43e0aa703d1f989869cabb56a2 Author: syeopite <syeopite@syeopite.dev> Date: Wed Mar 13 13:55:49 2024 -0700 Add new instance customization section in config commit dc9697157bca50aab56450ea76aa0ac18da18448 Author: syeopite <syeopite@syeopite.dev> Date: Wed Mar 13 13:35:39 2024 -0700 Add Invidious version to footer commit 629f95fcbead361f2e260a0a38e0839de7f1d735 Author: syeopite <70992037+syeopite@users.noreply.github.com> Date: Sat Sep 16 23:05:38 2023 +0000 Use instances.invidious.io instead of redirect Co-authored-by: TheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com> commit 3f0ea875c16eb3a87050a9a73bec536be41dde48 Author: syeopite <70992037+syeopite@users.noreply.github.com> Date: Sun Jul 30 06:10:18 2023 +0000 Update locales/en-US.json Co-authored-by: Samantaz Fox <coding@samantaz.fr> commit e9639aaef8222a458c0d67d72c18764487ba9750 Author: syeopite <syeopite@syeopite.dev> Date: Mon Jul 24 15:11:45 2023 -0700 Extract and implement footer overhaul from #2215 |
||
---|---|---|
.forgejo/workflows | ||
.github | ||
.vscode | ||
assets | ||
config | ||
docker | ||
kubernetes | ||
locales | ||
mocks@b55d58dea9 | ||
screenshots | ||
scripts | ||
spec | ||
src | ||
.ameba.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
CHANGELOG_legacy.md | ||
CHANGELOG.md | ||
crystal_formatters.py | ||
docker-compose.yml | ||
invidious.service | ||
LICENSE | ||
Makefile | ||
nginx.conf | ||
README.md | ||
shard.lock | ||
shard.yml | ||
TRANSLATION | ||
videojs-dependencies.yml |
nadeko.net Invidious fork
This is a fork of Invidious with features that I have done for my own instance. If you want to maintain an instance, feel free to use this fork and it's container images (they are also compatible with Podman, not just docker!)
https://git.nadeko.net/Fijxu/-/packages/container/invidious/latest
Caution
If you already have an Invidious instance running the upstream code, moving it to this fork will not work for you! This is due to the "Removal of materialized views on PostgreSQL" pull request that requires a migration of the database using it.
If you don't have an instance already, you can use this fork safely, but you will not be able to switch to upstream Invidious.
Features and changes of this fork:
-
Use a Redis compatible DB for video cache instead of just PostgreSQL: Invidious by default caches the video information for some hours in PostgreSQL. Since the data is accessed a lot, it is better off using an in memory database instead, it's faster and it will not wear out your SSD (due to constant writes to the database).It can be set using this onconfig.yml
:redis_url: tcp://127.0.0.1:6379
-
Ability to use different video caching backends: If you want, you can the PostgreSQL video cache the Redis one or the built-in in memory one that uses the LRU algorithm. Redis and LRU are recommended for public instances, but since Invidious has memory leaks, the LRU cache is lost if Invidious crashes or it's restarted, so because of this, redis is the default option.
video_cache: enabled: true backend: 1 # 0 is PSQL, 1 Redis, 2 Built-in LRU lru_max_size: 18000 # ~500MB (ignored if backend is 0 or 1)
If you choose to use Redis, make sure to set the
redis_url
config property:redis_url: tcp://127.0.0.1:6379
-
Removal of materialized views on PostgreSQL: If you don't have this on your Invidious public instance, your SSD will suffer and it will catch on fire https://github.com/iv-org/invidious/pull/2469#issuecomment-2012623454
-
Limit the DASH resolution sent to the clients: It can be set using
max_dash_resolution
on the config. Example:max_dash_resolution: 1080
-
Limit requests made to Youtube API when pulling subscriptions (feeds): Due to the recent changes of Youtube ("This helps protect out community", "Sign in to confirm you are not a bot"), subscriptions now have limited information, this is because Invidious by default, makes a video request to youtube to be able to get more information about the video, like
length_seconds
,live_now
,premiere_timestamp
, andviews
. If you have a lot of users with a ton of subscriptions, Invidious will basically spam youtube API all the time, resulting in a block from youtube.It can be set using this on
config.yml
:use_innertube_for_feeds: false
-
Autoreload configuration: If you are hosting Invidious on Linux without docker, this may be useful for you if you want to change the banner without restarting Invidious.
reload_config_automatically: true
Development features
- Option to disable CSP: Useful for local development, set
csp: false
on the config and done
There is more things that I added to this fork, but those are the most important ones. I also regularly merge unmerged pull requests from https://github.com/iv-org/invidious and random fixes as well. Is not the most stable codebase, but you can't really make something stable when youtube is trying to destroy every third party client out there.