2022-03-19 11:52:07 +00:00
# libremdb
2022-09-11 14:07:24 +00:00
A free & open source IMDb front-end.
2022-03-19 11:52:07 +00:00
Inspired by projects like [teddit ](https://codeberg.org/teddit/teddit ), [nitter ](https://github.com/zedeus/nitter ) and [many others ](#similar-projects ).
2022-09-24 15:06:24 +00:00
| | |
2022-09-11 14:07:24 +00:00
| -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| < img src = "./public/img/misc/preview.png" title = "screenshot (desktop screen, light mode)" width = "1500" / > | < img src = "./public/img/misc/preview2.png" title = "screenshot (mobile screen, dark mode)" width = "385" / > |
2022-03-19 11:52:07 +00:00
---
2022-09-11 14:07:24 +00:00
## Some Features
2022-03-19 11:52:07 +00:00
- No ads or tracking
Browse any movie info without being tracked or bombarded by annoying ads.
- Modern interface
Modern interface with curated colors supporting both dark and light themes.
- Responsive design
Be it your small mobile or big computer screen, it's fully responsive.
- Lightweight
_[Up movie page](https://imdb.com/title/tt1049413/)_
2022-09-11 14:07:24 +00:00
(tested on Firefox v104; without scroll; simulated regular 4g)
| Network tab stats | libremdb | IMDb |
| ------------------------ | -------- | ------ |
| no. of requests | 22 | 180 |
| data transfered(gzipped) | 468KB | 1.88MB |
| load event fired in | 6.22s | 10.01s |
2022-03-19 11:52:07 +00:00
---
2022-06-03 21:34:17 +00:00
## Instances
2022-09-24 15:06:24 +00:00
### Clearnet
<!-- prettier - ignore -->
| Instance URL | Region | Notes |
| ------------ | ------ | ----- |
| 1. Clearnet | | |
| [libremdb.iket.me ](https://libremdb.iket.me ) | Canada | Operated by me |
| [libremdb.pussthecat.org ](https://libremdb.pussthecat.org ) | Germany | Operated by [PussTheCat.org ](https://pussthecat.org/ ) |
| [libremdbeu.herokuapp.com ](https://libremdbeu.herokuapp.com ) | Europe | Operated by [toyboatcash ](https://github.com/toyboatcash ) |
| [lmdb.tokhmi.xyz ](https://lmdb.tokhmi.xyz ) | U.S. | Operated by [Tokhmi ](https://tokhmi.xyz ) |
| [libremdb.esmailelbob.xyz ](https://libremdb.esmailelbob.xyz ) | Canada | Operated by [Esmail EL BoB ](https://esmailelbob.xyz ) |
| [ld.vern.cc ](https://ld.vern.cc ) | Canada | Operated by [~vern ](https://vern.cc ) |
| 2. Onion | | |
| [libremdb.esmail5pdn24shtvieloeedh7ehz3nrwcdivnfhfcedl7gf4kwddhkqd.onion ](http://libremdb.esmail5pdn24shtvieloeedh7ehz3nrwcdivnfhfcedl7gf4kwddhkqd.onion ) | Canada | Operated by [Esmail EL BoB ](https://esmailelbob.xyz ) |
| [ld.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion ](http://ld.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion ) | Canada | Operated by [~vern ](https://vern.cc ) |
| 3. I2P | | |
| [vernz3ubrntql4wrgyrssd6u3qzi36zrhz2agbo6vibzbs5olk2q.b32.i2p ](http://vernz3ubrntql4wrgyrssd6u3qzi36zrhz2agbo6vibzbs5olk2q.b32.i2p ) | Canada | Operated by [~vern ](https://vern.cc ) |
2022-06-03 21:34:17 +00:00
---
2022-09-11 14:07:24 +00:00
## Questions you might have
2022-03-19 11:52:07 +00:00
2022-09-24 15:06:24 +00:00
- How do I use it?
Replace `imdb.com` in any IMDb URL with any of the instances. For example: '[imdb.com/title/tt1049413](https://imdb.com/title/tt1049413/)' to '[libremdb.iket.me/title/tt1049413](https://libremdb.iket.me/title/tt1049413/)'.
To avoid changing the URLs manually, you can use [extensions ](#automatic-redirection ).
2022-03-19 11:52:07 +00:00
- Why is it so slow?
Whenever you request info about a movie/show on libremdb, 4 trips are made(2 between your browser and libremdb's server, and 2 between libremdb's server and IMDb's server) instead of the usual 2 trips when you visit a website. For this reason there's a noticable delay. This is a bit of inconvenience you'll have to face should you wish to use this website.
- It doesn't have all routes.
2022-09-11 14:07:24 +00:00
I'll implement more with time :)
2022-03-19 11:52:07 +00:00
2022-10-31 22:25:04 +00:00
- Is content served from third-parties, like Amazon?
2022-10-31 22:21:49 +00:00
Nope, libremdb proxies all image and video requests through the instance to avoid exposing your IP address, browser information and other personally identifiable metadata ([Contributor](https://github.com/httpjamesm)).
2022-03-19 11:52:07 +00:00
2022-09-11 14:07:24 +00:00
- Will Amazon track me then?
2022-10-31 22:21:49 +00:00
Also nope. All Amazon will see is the libremdb instance making the request, not you. IP address, browser information and other personally identifiable metadata is hidden from Amazon.
2022-03-19 11:52:07 +00:00
- Why not just use IMDb?
2022-09-24 15:06:24 +00:00
Refer to the [features section ](#some-features ) above.
2022-03-19 11:52:07 +00:00
- Why didn't you use other databases like [TMDB ](https://www.themoviedb.org/ ) or [OMDb ](https://www.omdbapi.com/ )?
IMDb simply has superior dataset compared to all other alternatives. With that being said, I'd encourage you to check out those alternatives too.
---
## Privacy
2022-09-11 14:07:24 +00:00
- Information collected:
None.
- Information stored in your browser:
A key named 'theme' is stored in Local Storage provided by your browser, if you ever override the default theme. To remove it, go to site data settings, and clear the data for this website. To permamently disable libremdb from storing your theme prefrences, either turn off JavaScript or disable access to Local Storage for libremdb.
2022-03-19 11:52:07 +00:00
2022-09-11 14:07:24 +00:00
- Information collected by other services:
2022-10-31 22:14:52 +00:00
~~libremdb connects to 'media-amazon.com' and 'media-imdb.com' for fetching images and videos. So, Amazon might log your IP address, and other information(such as http headers) sent by your browser.~~
2022-10-31 22:21:49 +00:00
2022-10-31 22:14:52 +00:00
None. libremdb proxies images anonymously through the instance for maximum privacy ([Contributor](https://github.com/httpjamesm)).
2022-03-19 11:52:07 +00:00
---
## To-Do
- [ ] add advanced search route
2022-09-11 14:07:24 +00:00
- [x] add did you know and reviews on movie info page
2022-09-24 15:06:24 +00:00
- [x] add a way to see trailer and other videos
- [ ] implement movie specific routes like:
2022-03-19 11:52:07 +00:00
2022-09-24 15:06:24 +00:00
- [ ] reviews(including critic reviews)
- [ ] video & image gallery
- [ ] sections under 'did you know'
- [ ] release info
- [ ] parental guide
2022-03-19 11:52:07 +00:00
2022-09-24 15:06:24 +00:00
- [ ] implement other routes like:
- [ ] lists
- [ ] moviemeter
- [ ] person info(includes directors and actors)
- [ ] company info
- [ ] user info
- [ ] use redis, or any other caching strategy
- [x] implement a better installation method
2022-10-31 22:14:52 +00:00
- [x] serve images and videos from libremdb itself
2022-03-19 11:52:07 +00:00
---
## Installation
2022-09-11 14:07:24 +00:00
As libremdb is made with Next.js, you can deploy it anywhere where Next.js is supported. Below are a few other methods:
2022-06-03 22:57:15 +00:00
### Manual
2022-03-19 11:52:07 +00:00
1. Install Node.js and Git.
for Node.js, visit [their website ](https://nodejs.org/en/ ).
2022-06-18 09:57:29 +00:00
for Git, run `sudo apt install git` if you're on a Debian-based distro. Else visit [their website ](https://git-scm.com/ ).
2022-03-19 11:52:07 +00:00
2022-10-31 22:14:52 +00:00
2. Install redis
You can install redis from [here ](https://redis.io ).
3. Clone and set up the repo.
2022-03-19 11:52:07 +00:00
```bash
2022-09-11 14:07:24 +00:00
git clone https://github.com/zyachel/libremdb.git # replace github.com with codeberg.org if you wish so.
2022-03-19 11:52:07 +00:00
cd libremdb
2022-09-11 14:07:24 +00:00
# optional configuration
cp .env.local.example .env.local
# replace 'pnpm' with yarn or npm if you use those
2022-03-19 11:52:07 +00:00
pnpm install
2022-09-11 14:07:24 +00:00
pnpm build
2022-03-19 11:52:07 +00:00
pnpm start
```
2022-09-24 15:06:24 +00:00
libremdb will start running at http://localhost:3000.
To change port, modify the last command like this: `pnpm start -- -p <port-number>` .
2022-03-19 11:52:07 +00:00
2022-10-31 22:14:52 +00:00
### Docker (Local & Recommended)
2022-06-03 22:57:15 +00:00
2022-10-31 22:14:52 +00:00
You can build the docker image using the provided Dockerfile and set it up using the example docker-compose file.
2022-06-03 22:57:15 +00:00
2022-10-31 22:14:52 +00:00
Change the docker-compose file to your liking and run `docker-compose up -d` to start the container, that's all!
### Docker (Built)
2022-10-31 22:26:15 +00:00
There's a [docker image ](https://github.com/PussTheCat-org/docker-libremdb-quay ) made by [@TheFrenchGhosty ](https://github.com/TheFrenchGhosty ) for [PussTheCat.org's instance ](https://libremdb.pussthecat.org ). You can use that in case you wish to use docker.
2022-03-19 11:52:07 +00:00
2022-06-20 10:44:09 +00:00
## Miscellaneous
### Automatic redirection
- [Redirector ](https://github.com/einaregilsson/Redirector )
config:
```
Description: redirect IMDb to libremdb
Example URL: https://www.imdb.com/title/tt0258463/?ref_=tt_sims_tt_t_4
2022-09-11 14:07:24 +00:00
Include pattern: https?:\/\/(www\.)?imdb\.com\/([^\?]*)
Redirect to: https://libremdb.iket.me/$2
2022-06-20 10:44:09 +00:00
Pattern type: Regular Expression
```
2022-09-24 15:06:24 +00:00
- [LibRedirect ](https://github.com/libredirect/libredirect/ )
2022-06-20 10:44:09 +00:00
### Similar projects
2022-03-19 11:52:07 +00:00
- [Teddit ](https://codeberg.org/teddit/teddit )
Teddit is an alternative Reddit front-end focused on privacy.
- [Nitter ](https://github.com/zedeus/nitter )
Nitter is a free and open source alternative Twitter front-end focused on privacy.
- [Bibliogram ](https://sr.ht/~cadence/bibliogram/ )
Bibliogram is an alternative front-end for Instagram.
2022-06-03 18:58:28 +00:00
- [Invidious ](https://invidious.io )
2022-03-19 11:52:07 +00:00
Invidious is an alternative front-end to YouTube.
- [Libreddit ](https://github.com/spikecodes/libreddit )
Libreddit is an alternative private front-end to Reddit.
- [Scribe ](https://git.sr.ht/~edwardloveall/scribe )
Scribe is an alternative Medium frontend.
2022-06-20 10:44:09 +00:00
- [full list → ](https://github.com/digitalblossom/alternative-frontends )
2022-03-19 11:52:07 +00:00
---
## Contact
2022-09-11 14:07:24 +00:00
I'm availabe on [[matrix]](https://matrix.to/#/@ninal:matrix.org) and [email ](mailto:aricla@protonmail.com ) in case you wish to contact me personally.
2022-03-19 11:52:07 +00:00
---
## License
Licensed under GNU AGPLv3.
2022-06-20 10:44:09 +00:00
See [License ](./LICENSE ) for full legalese.