Skip to content

Metastem/librarian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

librarian

An alternative frontend for LBRY/Odysee. Inspired by Invidious and Libreddit.

License: AGPLv3+ Matrix

Table of Contents

Features

  • Lightweight
  • No ads
  • No tracking
  • No crypto garbage

Demo

🎞️ Video πŸ“Ί Channel πŸ“° Article

Comparison

Comparing Librarian to Odysee.

Speed

Tested using Google PageSpeed Insights.

Librarian Odysee
Performance 99 27
Request count 17 470
Resource Size 702 KiB 2,457 KiB
Time to Interactive 0.9s 18.4s

Privacy

Odysee

Odysee Privacy Grade

Odysee has admitted to using browser fingerprinting for ads and loads multiple ads, trackers, and an annoying cookie banner.

We and our partners process data to provide: Use precise geolocation data. Actively scan device characteristics for identification. Store and/or access information on a device. Personalised ads and content, ad and content measurement, audience insights and product development.

They also use your data for these purposes and you cannot opt-out of it.

  • Ensure security, prevent fraud, and debug
  • Technically deliver ads or content
  • Match and combine offline data sources
  • Link different devices
  • Receive and use automatically-sent device characteristics for identification

See what trackers and cookies they use: https://themarkup.org/blacklight.?url=odysee.com

Librarian

Librarian itself does not collect any data but instance operators may collect data. You can view a "privacy nutrition label" by clicking on the "Privacy" link at the bottom.

Instances

Open an issue to have your instance listed here!

Clearnet

URL Country Provider Privacy Livestreams Notes
lbry.bcow.xyz (official) πŸ‡³πŸ‡± NL Fly.io ⚠️ Data collected βœ…οΈ
odysee.076.ne.jp πŸ‡―πŸ‡΅ JP GMOグローバルァむン βœ… Data not collected βœ…οΈ Edited source code
librarian.pussthecat.org πŸ‡©πŸ‡ͺ DE Hetzner ⚠️ Data collected βœ…οΈ
lbry.projectsegfau.lt πŸ‡³πŸ‡± NL BuyVM βœ… Data not collected βœ…οΈ
librarian.esmailelbob.xyz πŸ‡¨πŸ‡¦ CA OVH βœ… Data not collected βœ…οΈ
lbry.vern.cc πŸ‡ΊπŸ‡Έ US OVHCloud βœ… Data not collected ❌️ Edited theme
lbry.slipfox.xyz πŸ‡ΊπŸ‡Έ US Hetzner βœ… Data not collected ❌️
lbry.mywire.org πŸ‡·πŸ‡Ί RU justhost.ru βœ… Data not collected ❌️
lbry.ooguy.com πŸ‡ΈπŸ‡° SK STARK INDUSTRIES βœ… Data not collected ❌️

Tor

URL Privacy Live streams Notes
librarian.esmail5pdn24shtvieloeedh7ehz3nrwcdivnfhfcedl7gf4kwddhkqd.onion βœ… Data not collected βœ…οΈ Onion of librarian.esmailelbob.xyz
lbry.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion βœ… Data not collected ❌️ Onion of lbry.vern.cc. Edited theme
5znbzx2xcymhddzekfjib3isgqq4ilcyxa2bsq6vqmnvbtgu4f776lqd.onion βœ… Data not collected ❌️ Onion of lbry.slipfox.xyz
bxewpsswttslepw27w2hhxhlizwm7l7y54x3jw5cfrb64hb6lgc557ad.onion βœ… Data not collected ❌️ Onion of lbry.ooguy.com

Automatically redirect links

LibRedirect

Use LibRedirect to automatically redirect Odysee links to Librarian! This needs to be enabled in settings.

GreaseMonkey script

There is a script to redirect Odysee links to Librarian. https://codeberg.org/zortazert/GreaseMonkey-Redirect/src/branch/main/odysee-to-librarian.user.js

Install

Librarian can run on any platform Go compiles on, memory usage varies on instance usage due to caching.

Make sure to join our Matrix chat to get notified on updates for Odysee API changes.

It is strongly recommended to use Caddy as your reverse proxy especially if you have livestreams or video proxy enabled. Caddy is simple to configure, automatically manages your TLS certificates, and provides better performance with support for HTTP/2 and /3 (allow UDP port 443 in your firewall to use HTTP/3).

Docker (recommended)

Install Docker and docker-compose, then clone this repository.

git clone https://codeberg.org/librarian/librarian
cd librarian

Edit the config file using your preferred editor.

mkdir data
cp config.example.yml data/config.yml
nvim data/config.yml

You can also edit docker-compose.yml if you want to change ports or build from source.

You can now run Librarian. πŸŽ‰

sudo docker-compose up -d

Automatic updates

Watchtower can automatically update your Docker containers.

Create a new docker-compose.yml file or add the watchtower section to your existing docker-compose.yml file.

version: "3"
services:
  watchtower:
    image: containrrr/watchtower
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

Build from source

For more detailed instructions, follow the guide.

Requirements

  • Go v1.16 or later

Clone the repository and cd into it.

git clone https://codeberg.org/librarian/librarian
cd librarian

Build Librarian.

go build .

To include version information use:

go build -ldflags "-X codeberg.org/librarian/librarian/pages.VersionInfo=$(date '+%Y-%m-%d')-$(git rev-list --abbrev-commit -1 HEAD)"

Edit the config file using your preferred editor.

cp config.example.yml config.yml
nvim config.yml

You can now run Librarian. πŸŽ‰

./librarian

go install

You can install Librarian using Go.

go install codeberg.org/librarian/librarian@latest

Edit the config file using your preferred editor.

cp config.example.yml config.yml
nvim config.yml

You can now run Librarian. πŸŽ‰

librarian # If GOBIN is in your PATH
$HOME/go/bin/librarian # If GOBIN is not in PATH

Configuration

See config.example.yml for configuration.

Contributing

Pull requests are welcome! If you have any questions or bug reports, open an issue.

License

This software is released under the AGPL-3.0 license. If you make any modifications to the code and distribute it (including use on a network server), you must publicly distribute your changes and release them under the AGPL-3.0.