An alternative frontend for LBRY/Odysee.
 
 
 
 
 
 
Go to file
Skylar "The Cobra" Widulski 4342ae24ad
Add vern onion
Signed-off-by: Aleksandar "The Cobra" Widulski <cobra@vern.cc>
2022-06-08 21:38:36 -04:00
api Settings page and SponsorBlock (#97) 2022-06-03 22:53:22 +02:00
data Update frontpage to match Odysee featured section 2022-03-05 21:29:46 -05:00
pages Limit nojs comments to 25 2022-06-04 19:35:32 -04:00
proxy Settings page and SponsorBlock (#97) 2022-06-03 22:53:22 +02:00
static Move buttons to right on channel page 2022-06-06 17:51:17 -04:00
types Add error message for paid content (#80) 2022-05-15 09:43:59 -04:00
utils Code cleanup and bug fixes 2022-06-04 19:33:15 -04:00
views Code cleanup and bug fixes 2022-06-04 19:33:15 -04:00
.gitignore Add librarian binaries to gitignore 2021-10-08 19:22:58 -04:00
.gitlab-ci.yml Add deploy step [skip ci] 2022-06-04 19:46:58 -04:00
Dockerfile Add version information (#102) 2022-06-03 20:00:43 -04:00
LICENSE Initial commit 2021-04-12 00:44:46 +00:00
README.md Add vern onion 2022-06-08 21:38:36 -04:00
build.sh Better compression 2022-01-12 10:33:02 -05:00
config.example.yml Automatically clean cache (closes #112) 2022-06-01 15:02:42 -04:00
docker-compose.yml Change the restart policy of the compose file 2022-01-17 23:38:08 +01:00
go.mod Update dependencies 2022-05-16 18:29:12 -04:00
go.sum Update dependencies 2022-05-16 18:29:12 -04:00
instances.json Add vern onion 2022-06-08 21:38:36 -04:00
main.go Settings page and SponsorBlock (#97) 2022-06-03 22:53:22 +02:00

README.md

librarian

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

License: AGPLv3+ Matrix CI

Features

  • Lightweight
  • JavaScript not required*
  • No ads
  • No tracking
  • No crypto garbage

* JavaScript is required to play livestreams except on Apple devices.

Demo

Video
Channel

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

Ads/trackers: (as of Feb 1, 2022)

  • Google
  • Vidcrunch
  • and many more listed on the list of partners in the cookie banner.

And they have previously used:

  • Traffic Junky (P***Hub)
  • Unruly Media

Librarian

Privacy varies by instance. You can view a "privacy nutrition label" by clicking on the "Privacy" link at the bottom. The official lbry.bcow.xyz instance collects some data for video streaming.

Instances

Open an issue to have your instance listed here!

Clearnet

URL Country Cloudflare Live streams
lbry.bcow.xyz (official) 🇨🇦 CA, 🇳🇱 NL, 🇸🇬 SG
odysee.076.ne.jp (edited source code) 🇯🇵 JP
librarian.pussthecat.org 🇩🇪 DE
lbry.mutahar.rocks 🇫🇷 FR
librarian.esmailelbob.xyz 🇨🇦 CA
lbry.vern.cc (edited theme) 🇨🇦 CA

Tor

URL Country Live streams
vrmbc4brkgkaysmi3fenbzkayobxjh24slmhtocambn3ewe62iuqt3yd.onion N/A
librarian.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd.onion N/A
lbry.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion (edited theme) N/A

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.

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 use the image instead of building it.

You can now run Librarian. 🎉

sudo docker-compose up -d

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