- Go 67%
- Handlebars 20.2%
- CSS 6.4%
- JavaScript 5.8%
- Shell 0.4%
- Other 0.2%
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
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 GradeOdysee 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)
- 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