
RIVR
RIVR is the world's first open source torrent search engine. It scrapes torrent websites (Kickass, ThePirateBay, isoHunt, Limetorrents, 1337x), and gives fast results with a ranking based on torrent hash, seeders and leechers. For each torrent it provides a magnet link and when available a torrent file displaying its contents. RIVR is a personal project I decided to make open source with the hope of finding people to build a distributed torrent search engine with high quality results.
Features
- Scrapers for Kickass, ThePirateBay, isoHunt, Limetorrents, 1337x
- Fast search using Sphinx
- Autocomplete suggestions
- Movie & TV series info when the search query is relevant
- View torrent contents
Installation
-
Create a MySQL database and import schema.sql, sources.sql and trackers.sql from install folder.
-
Download and import the MySQL dump from https://goo.gl/vW0kqd. It contains ~13M torrents.
-
Edit includes/config.php with your MySQL host, username, password and database name.
-
Edit install/sphinx.conf.in (mysql_all source) with your MySQL host, username, password and database name and change all the file paths to yours.
-
Use install/sphinx.conf.in to create the Sphinx indexes:
sudo -u sphinx indexer --config sphinx.conf.in --all
-
Access Sphinx indexes with MySQL client:
mysql -h 0 -P 9306
-
Execute the following commands to attach regular indexes to real-time indexes:
ATTACH INDEX orig TO RTINDEX rtindex;