One tap. Best torrent. Every time.
π Quick Start β’ π± Features β’ ποΈ Architecture β’ βοΈ Configuration
Tory is an intelligent torrent discovery app built with Flutter. It aggregates results from 17+ torrent indexers via its own tory-server backend, scores them using a multi-factor algorithm, and surfaces the best results through a polished dark UI. Discover movies via TMDB, anime via AniList + Jikan, and browse episodes with full season/episode pickers β all with one tap to magnet link.
- 17 Torrent Sources β 1337x, YTS, NyaaSi, PirateBay, TorrentGalaxy, EZTV, RARBG, KickAss, and more
- Multi-Factor Scoring β Seeders (40%), S/L ratio (25%), file size (15%), recency (10%), source reliability (10%)
- SubsPlease / Erai-raws Bonus β +5 score for known quality anime release groups
- Dual Search β Runs two query formats in parallel (scene S01E02 + SubsPlease style), merges & deduplicates results
- TMDB Integration β Trending, popular, and top-rated movies & TV shows with poster art
- AniList Integration β Trending, popular, and latest airing anime via GraphQL API
- Jikan / MAL β Episode details with thumbnails, titles, air dates, scores, filler/recap tags
- Season & Episode Pickers β Two-step UI: bottom sheet with episode range cards β full-screen episode browser
- Season Extraction β Detects season numbers from titles ("2nd Season", "Part 3", Roman numerals)
- Short Title Detection β Strips subtitles after colons for SubsPlease-style queries
- Smart Query Format β S1:
Title - 03, S2+:Title S2 - 03(matching real fansub naming)
- Deep Navy Dark Theme β Custom
AppThemewith crimson accents throughout - Shimmer Loading β Skeleton placeholders while content loads
- Score Badges β Color-coded quality indicators on every torrent card
- Source Chips β Quick-switch between indexers with emoji icons
- Sort Filters β Best Match, Most Seeders, Smallest, Newest, Largest, Latest
- Scroll-to-Top β Auto-scrolls when switching sort modes
- Code Push β Hot-patch the app without a store release
- Patch Version Display β About screen shows current patch number
- Bundletool Script β Included
build_universal_apk.ps1to convert AAB β APK
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Flutter App (Dart) β
β β
β ββββββββββββ ββββββββββββ ββββββββββββ βββββββββββββββββ β
β β Home β β Search β β Episodes β β Settings β β
β β Screen β β Screen β β Screen β β Screen β β
β ββββββ¬ββββββ ββββββ¬ββββββ ββββββ¬ββββββ βββββββββββββββββ β
β β β β β
β ββββββ΄βββββββββββββββ΄βββββββββββββββ΄βββββ β
β β Provider (State Mgmt) β β
β β SearchProvider Β· SettingsProvider β β
β ββββββ¬βββββββββββββββ¬βββββββββββββββ¬βββββ β
β β β β β
β ββββββ΄βββββ βββββββ΄βββββ βββββββ΄βββββββ β
β β API β β TMDB β β AniList β β
β β Service β β Service β β Service β β
β ββββββ¬βββββ βββββββ¬βββββ βββββββ¬βββββββ β
βββββββββΌβββββββββββββββΌβββββββββββββββΌβββββββββββββββββββββββββββ
β β β
βΌ βΌ βΌ
ββββββββββββ βββββββββββββ ββββββββββββββββ ββββββββββββββ
βtory- β β TMDB API β βAniList GQL β β Jikan API β
βserver β β v3 β β β β (MAL) β
β:8080 β β β β β β β
ββββββββββββ βββββββββββββ ββββββββββββββββ ββββββββββββββ
tory/
βββ lib/
β βββ main.dart # Entry point
β βββ app.dart # MaterialApp setup
β βββ core/
β β βββ constants.dart # Sources, API keys, categories
β β βββ theme.dart # AppTheme (deep navy + crimson)
β βββ models/
β β βββ torrent.dart # Torrent data model + scoring
β β βββ tmdb_media.dart # TMDB movie/TV model
β β βββ anilist_media.dart # AniList model + season extraction
β βββ services/
β β βββ api_service.dart # Torrents-Api HTTP client
β β βββ tmdb_service.dart # TMDB API v3
β β βββ anilist_service.dart # AniList GraphQL
β β βββ storage_service.dart # SharedPreferences wrapper
β βββ providers/
β β βββ search_provider.dart # Search state + dual-search + sorting
β β βββ settings_provider.dart # API URL, TMDB key, default source
β βββ screens/
β β βββ splash_screen.dart # Animated splash
β β βββ home_screen.dart # TMDB + AniList discovery sections
β β βββ search_screen.dart # Search UI with source/sort chips
β β βββ episode_screen.dart # TMDB episode browser
β β βββ anime_episode_screen.dart# Anime episode browser (Jikan)
β β βββ favorites_screen.dart # Saved items
β β βββ settings_screen.dart # Config + About (version/patch)
β βββ widgets/
β βββ torrent_card.dart # Torrent result card
β βββ torrent_detail_sheet.dart # Bottom sheet details
β βββ media_card.dart # TMDB media card
β βββ anime_card.dart # AniList anime card
β βββ episode_picker_sheet.dart # TMDB season picker sheet
β βββ anime_episode_sheet.dart # Anime episode range sheet
β βββ score_badge.dart # Color-coded score indicator
β βββ source_chip.dart # Source selector chip
β βββ shimmer_loader.dart # Skeleton loading effect
βββ assets/
β βββ logo.png
βββ shorebird.yaml # Shorebird app config
βββ build_universal_apk.ps1 # AAB β universal APK script
βββ pubspec.yaml
- Flutter SDK 3.8+
- Node.js (LTS) for the backend
- Shorebird CLI (optional, for OTA updates)
- TMDB API Key β get one here
# Clone and start the tory-server backend
git clone https://github.com/nirmaleeswar30/tory-server.git
cd tory-server
npm install
npm start
# Runs on http://localhost:8080cd Tory
flutter pub get
flutter runOpen Settings in the app to set:
- API Base URL β defaults to
https://tory-server.vercel.app(or set your own) - TMDB API Key β your v3 API key
- Default Source β preferred torrent indexer
| Source | Emoji | Reliability | Best For |
|---|---|---|---|
| YTS | π¬ | 95% | Movies (small size) |
| 1337x | π₯ | 90% | Everything |
| NyaaSi | π | 90% | Anime |
| RARBG | β‘ | 90% | Movies & TV |
| TorrentGalaxy | π | 85% | General |
| EZTV | πΊ | 85% | TV Shows |
| PirateBay | π΄ββ οΈ | 80% | General |
| KickAss | π₯ | 75% | General |
| BitSearch | π | 75% | General |
| ETTV | π‘ | 75% | TV |
| Torlock | π | 70% | General |
| Zooqle | π | 70% | General |
| GloTorrents | π | 70% | General |
| MagnetDL | π§² | 70% | General |
| TorrentProject | π | 70% | General |
| LimeTorrent | π | 65% | General |
| TorrentFunk | π΅ | 65% | General |
Score = Seeders (40%) + S/L Ratio (25%) + Size (15%) + Recency (10%) + Source (10%)
+ SubsPlease/Erai-raws bonus (+5)
| Service | URL | Purpose |
|---|---|---|
| tory-server | https://tory-server.vercel.app/api/{source}/{query} |
Torrent search |
| TMDB | https://api.themoviedb.org/3/ |
Movie & TV metadata |
| AniList | https://graphql.anilist.co |
Anime discovery |
| Jikan | https://api.jikan.moe/v4/ |
Episode details (MAL) |
# Create a release
shorebird release android
# Convert AAB to universal APK
.\build_universal_apk.ps1
# Push a patch (after code changes)
shorebird patch androidPatch number is displayed in Settings β About.
| Layer | Technology |
|---|---|
| UI | Flutter 3.8 / Dart 3.8 |
| State | Provider |
| Storage | SharedPreferences |
| OTA | Shorebird Code Push |
| Backend | Node.js (tory-server) |
| Movie Data | TMDB API v3 |
| Anime Data | AniList GraphQL + Jikan v4 |
Educational Purpose Only. This project is intended for educational and research purposes. Users are responsible for complying with all applicable laws and regulations in their jurisdiction. The developers do not endorse or encourage the downloading of copyrighted material without proper authorization.
Built with β€οΈ using Flutter & Dart