1
0
Fork
You've already forked librarian
0
forked from librarian/librarian
An alternative frontend for LBRY/Odysee.
  • Go 67%
  • Handlebars 20.2%
  • CSS 6.4%
  • JavaScript 5.8%
  • Shell 0.4%
  • Other 0.2%
2022年02月07日 18:03:22 -05:00
api Redirect reposts ( #77 ) 2022年02月07日 17:22:38 -05:00
data Move frontpage channels to other file 2021年12月29日 18:30:41 -05:00
pages Fix downloading when file cant be displayed 2022年02月07日 18:03:22 -05:00
proxy Initial livestream support 2022年01月30日 14:00:59 -05:00
static Fix color of spinner in dark mode 2022年02月01日 22:51:32 -05:00
types Redirect reposts ( #77 ) 2022年02月07日 17:22:38 -05:00
utils URL encode links 2022年02月07日 16:19:28 -05:00
views Option to download files that cant be displayed ( #78 ) 2022年02月07日 17:57:34 -05:00
.gitignore Add librarian binaries to gitignore 2021年10月08日 19:22:58 -04:00
.gitlab-ci.yml Use buildx binary instead of building 2022年02月07日 16:38:16 -05:00
build.sh Better compression 2022年01月12日 10:33:02 -05:00
config.example.yml Add option to disable livestreams 2022年01月30日 14:12:12 -05:00
docker-compose.yml Change the restart policy of the compose file 2022年01月17日 23:38:08 +01:00
Dockerfile Cache dependancies 2022年01月27日 23:30:30 -05:00
go.mod Retry HTTP requests 2022年01月05日 19:34:15 -05:00
go.sum Retry HTTP requests 2022年01月05日 19:34:15 -05:00
LICENSE Initial commit 2021年04月12日 00:44:46 +00:00
main.go Add support for claims with no channel ( #76 ) 2022年02月06日 19:15:30 -05:00
README.md Add lbry.mutahar.rocks 2022年02月07日 17:56:56 -05:00

# librarian An alternative frontend for LBRY/Odysee. Inspired by [Invidious](https://github.com/iv-org/invidious) and [Libreddit](https://github.com/spikecodes/libreddit). License: AGPLv3+ Matrix CI

Features

User features

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

Technical features

  • Copylefted libre software under the AGPL
  • No Code of Conduct
  • No Contributor License Agreement or Developer Certificate of Origin

* 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 does not collect any data.

Instances

Open an issue to have your instance listed here!

Website Country Cloudflare
lbry.bcow.xyz (official) 🇨🇦 CA
lbry.itzzen.net 🇺🇸 US
odysee.076.ne.jp (edited source code) 🇯🇵 JP
librarian.davidovski.xyz 🇬🇧 UK
lbry.ix.tc 🇬🇧 UK
librarian.pussthecat.org 🇩🇪 DE
lbry.mutahar.rocks 🇫🇷 FR
ecc5mi5ncdw6mxhjz6re6g2uevtpbzxjvxgrxia2gyvrlnil3srbnhyd.onion
vrmbc4brkgkaysmi3fenbzkayobxjh24slmhtocambn3ewe62iuqt3yd.onion

Install

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

Docker (recommeded)

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 .

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