mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-06-28 09:58:25 +00:00
update readme
This commit is contained in:
parent
bceb7a61ef
commit
ecacbab2a5
30
README.md
30
README.md
@ -13,9 +13,24 @@ https://git.nadeko.net/Fijxu/-/packages/container/invidious/latest
|
|||||||
|
|
||||||
## Features and changes of this fork:
|
## Features and changes of this fork:
|
||||||
|
|
||||||
- [Use a Redis compatible DB for video cache instead of just PostgreSQL](https://git.nadeko.net/Fijxu/invidious/commit/bbc5913b8dacaed4d466bcc466a0782d5e3f5edc): 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).
|
- ~~[Use a Redis compatible DB for video cache instead of just PostgreSQL](https://git.nadeko.net/Fijxu/invidious/commit/bbc5913b8dacaed4d466bcc466a0782d5e3f5edc): 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 on `config.yml`:~~
|
||||||
|
```yaml
|
||||||
|
redis_url: tcp://127.0.0.1:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
- [Ability to use different video caching backends](https://git.nadeko.net/Fijxu/invidious/commit/e76867aaba022d64ebab73648a37a0c63b788e0f): 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.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
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:
|
||||||
|
|
||||||
It can be set using this on `config.yml`:
|
|
||||||
```yaml
|
```yaml
|
||||||
redis_url: tcp://127.0.0.1:6379
|
redis_url: tcp://127.0.0.1:6379
|
||||||
```
|
```
|
||||||
@ -41,6 +56,17 @@ It can be set using this on `config.yml`:
|
|||||||
use_innertube_for_feeds: false
|
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.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
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.
|
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.
|
Loading…
Reference in New Issue
Block a user