selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
torrentinim logo

Self-host torrentinim

v0.9.0

API-only torrent search engine with low memory footprint

BetaOpen SourceMIT
Updated9 hours ago
LanguageNim
Setup difficultyEasy
Stars
827
RAM
24MB (avg.)
Port
50123 (HTTP API)
Install with Linux

What is torrentinim?

Torrentinim is a self-hosted, API-only torrent search engine and crawler written in Nim. It downloads a single binary (~700 KB) that runs on Linux, macOS, and Windows, exposing a JSON search endpoint at /search. The engine scrapes multiple public torrent indexers (eztv, 1337x, nyaa, torrentdownloads.me, yts) and stores results in an embedded database, using about 24 MB of RAM on average. It is built to integrate with Sonarr and Radarr (marked as TODO in the docs) and can be configured via environment variables for port and CORS. No Docker image is published; users run the binary directly or compile from source.

Should you self-host torrentinim?

torrentinim scores 45/100 on selfhost.directory (how scoring works) and ranks #10 of 12 in Bittorrent. It has 827 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting. It is MIT-licensed and written mostly in Nim.

Its closest alternative on selfhost.directory is qBittorrent (84/100, 41 184 stars). It scores higher overall, so compare the two before you pick. See torrentinim vs qBittorrent side by side.

Features

  • API-only torrent search
  • CORS Configuration
  • Cross-platform binaries
  • Low memory footprint
  • Multi-site torrent crawling
  • Sonarr/Radarr compatibility (planned)Marked as TODO in the project goals

torrentinim README

How to install torrentinim

Install torrentinim with Linux

Environment variables
TORRENTINIM_PORT, ALLOW_ORIGINS, NUKE_MY_DATABASE

$ NUKE_MY_DATABASE=true ./torrentinim [system] Database nuke requested. Clearing all database tables and data. [system] Initializing database Torrentinim is running, bambino. http://localhost:50123

$ ./torrentinim Torrentinim is running, bambino. http://localhost:50123

Download the binary for your platform from GitHub Releases. Run with NUKE_MY_DATABASE=true on first run to initialize the database.

How to configure torrentinim

  • ALLOW_ORIGINSCORS allowed origins

    CORS allowed origins

  • NUKE_MY_DATABASEInitialize the database (set to true on first run only)

    Initialize the database (set to true on first run only)

    values: true

  • TORRENTINIM_PORT50123Port the app will run on

    Port the app will run on

torrentinim releases & version history

More in Bittorrent

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…