How ledccn/iyuuplus works
IYUUPlus is a resident PHP service and web UI for configuring and scheduling private-tracker automation. The principal workflow gathers torrent hashes from configured downloaders, submits them to the IYUU service, and sends returned torrent links to downloaders for checking and seeding. Separate capabilities include RSS-based torrent acquisition, site-specific scraping, torrent migration, and notifications. Several engines and controllers are unsampled; those subsystem links are shown as unverified where appropriate.
Main entry points: AutoReseed.php Auto reseed · SitesBase.php Site scraping · Config.php Config management · ConfigParser Job config parsers
Components 21
Web and configuration
- Web UI
public - API controllers
app/controller - User and login
app/domain/Users.php - Config management
app/domain/Config.php - Config files
app/common/Config.php
Scheduled jobs
- Job config parsers
app/domain/ConfigParser - Crontab scheduler
app/domain/Crontab.php - Job commands
app/domain/Command
Torrent workflows
- Auto reseed
src/Reseed/AutoReseed.php - RSS acquisition
src/Rss/AbstractRss.php - Site scraping
src/Spiders/SitesBase.php - Torrent migration
src/Reseed/MoveTorrent.php - HTML selector
src/Library/Selector.php - Torrent table utilities
src/Library/Table.php - Reseed listeners
src/Reseed/Listener
External services
- Downloader RPC
src/Library/Rpc.php - IYUU API
- Downloaders
- PT trackers
- Notifications
src/Notify/NotifyFactory.php
Other components
- Operator
Connections 25
- Operator → Web UI: configures
- Web UI → API controllers: sends requests
- API controllers → User and login: checks login
app/controller/BaseController.php - API controllers → Config management: manages settings
- Config management → Config files: reads and writes
app/domain/Config.php - Config management → Crontab scheduler: updates schedules
app/domain/Config.php - Crontab scheduler → Job commands: dispatches jobs
app/domain/Crontab.php - Job commands → Job config parsers: loads job settings
- Job config parsers → Config management: resolves settings
app/domain/ConfigParser/Reseed.php - Job config parsers → Config files: reads config
- Auto reseed → IYUU API: submits hashes
- Auto reseed → Downloader RPC: uses downloader RPC
- Downloader RPC → Downloaders: calls API
- Downloaders → Auto reseed: provides hashes
- IYUU API → Auto reseed: returns torrent links
- RSS acquisition → Downloader RPC: pushes torrents
src/Rss/AbstractRss.php - Site scraping → Downloader RPC: pushes torrents
src/Spiders/SitesBase.php - Site scraping → HTML selector: parses pages
src/Spiders/SitesBase.php - PT trackers → RSS acquisition: serves feeds
- PT trackers → Site scraping: serves pages
- Torrent migration → Downloaders: moves torrents
- Auto reseed → Reseed listeners: emits events
- Reseed listeners → Job config parsers: uses settings
src/Reseed/Listener/ClientHashSuccessListener.php - Notifications → IYUU API: sends notices
- Site scraping → Torrent table utilities: uses utilities
src/helper.php