{"id":36797374,"url":"https://github.com/ygncode/real-debrid-downloader","last_synced_at":"2026-01-12T13:31:08.320Z","repository":{"id":330178229,"uuid":"1121795230","full_name":"ygncode/real-debrid-downloader","owner":"ygncode","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-02T03:51:46.000Z","size":56238,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-07T19:52:53.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ygncode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-23T15:09:08.000Z","updated_at":"2026-01-02T03:51:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ygncode/real-debrid-downloader","commit_stats":null,"previous_names":["ygncode/real-debrid-downloader"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ygncode/real-debrid-downloader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ygncode%2Freal-debrid-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ygncode%2Freal-debrid-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ygncode%2Freal-debrid-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ygncode%2Freal-debrid-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ygncode","download_url":"https://codeload.github.com/ygncode/real-debrid-downloader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ygncode%2Freal-debrid-downloader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28339143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-12T13:31:07.525Z","updated_at":"2026-01-12T13:31:08.309Z","avatar_url":"https://github.com/ygncode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RD Downloader - Real-Debrid Movie Downloader\n\nA web application that lists movies from a directory and allows downloading new movies via Real-Debrid API with automatic subtitle fetching.\n\n## Features\n\n- List movies from a specified directory\n- Add torrents via magnet links or .torrent files\n- Select which files to download from torrents\n- Real-time download progress tracking via SSE\n- Automatic subtitle download using Subliminal CLI\n- Automatic extraction of .rar archives\n- Clean, cinematic dark theme UI\n- Password protection (optional)\n- Delete files from collection\n\n## Installation\n\n### Prerequisites\n\n- Go 1.21 or later\n- Real-Debrid account and API key\n- unrar for extracting .rar archives (macOS: `brew install unrar`, Linux: `sudo apt install unrar`)\n- (Optional) Subliminal for subtitles: `pip install subliminal`\n\n### Build from source\n\n```bash\ngit clone https://github.com/ygncode/real-debrid-downloader.git\ncd real-debrid-downloader\nmake build\n```\n\n### Download release\n\nDownload the latest release for your platform from the [Releases](https://github.com/ygncode/real-debrid-downloader/releases) page.\n\n## Usage\n\n```bash\n# Using the binary\n./bin/rd-downloader --path=/path/to/movies --api-key=YOUR_API_KEY\n\n# Or with environment variable\nexport REALDEBRID_API_KEY=YOUR_API_KEY\n./bin/rd-downloader --path=/path/to/movies\n\n# With custom port\n./bin/rd-downloader --path=/path/to/movies --api-key=YOUR_API_KEY --port=3000\n\n# With password protection\n./bin/rd-downloader --path=/path/to/movies --api-key=YOUR_API_KEY --password=MySecurePass123\n\n# With custom subliminal path\n./bin/rd-downloader --path=/path/to/movies --api-key=YOUR_API_KEY --subliminal-path=/home/user/miniconda3/bin/subliminal\n```\n\n### Command Line Options\n\n| Flag | Description | Default |\n|------|-------------|---------|\n| `--path`, `-p` | Path to movies directory (required) | - |\n| `--api-key` | Real-Debrid API key | `$REALDEBRID_API_KEY` |\n| `--port` | Web server port | 8080 |\n| `--password` | Password to protect web interface | - |\n| `--subliminal-path` | Custom path to subliminal binary | auto-detect |\n| `--daemon`, `-d` | Run in background (daemon mode) | false |\n| `--stop` | Stop the running daemon | - |\n| `--status` | Check if daemon is running | - |\n\n## Running as a Background Service (Daemon Mode)\n\nRD Downloader supports running as a background daemon, which is useful for servers or persistent deployments.\n\n### Starting the Daemon\n\n```bash\n# Start in background\n./bin/rd-downloader --daemon --path=/path/to/movies --api-key=YOUR_API_KEY\n\n# Output:\n# rd-downloader started in background (PID: 12345)\n# Log file: ~/.rd-downloader/rd-downloader.log\n# Web interface: http://localhost:8080\n```\n\n### Checking Status\n\n```bash\n./bin/rd-downloader --status\n\n# If running:\n# rd-downloader is running (PID: 12345)\n# Log file: ~/.rd-downloader/rd-downloader.log\n\n# If not running:\n# rd-downloader is not running\n```\n\n### Stopping the Daemon\n\n```bash\n./bin/rd-downloader --stop\n\n# Output:\n# rd-downloader stopped successfully\n```\n\n### Viewing Logs\n\n```bash\n# View live logs\ntail -f ~/.rd-downloader/rd-downloader.log\n```\n\n### Daemon Files Location\n\nAll daemon-related files are stored in `~/.rd-downloader/`:\n\n| File | Purpose |\n|------|---------|\n| `rd-downloader.db` | SQLite database |\n| `rd-downloader.pid` | Process ID file |\n| `rd-downloader.log` | Log output |\n\n## How It Works\n\n1. **Add Torrent**: Paste a magnet link or upload a .torrent file\n2. **Select Files**: Choose which files from the torrent to download\n3. **Download**: Real-Debrid processes the torrent, then files are downloaded to your movies folder\n4. **Extract**: If downloaded files are .rar archives, they are automatically extracted and the archive is removed\n5. **Subtitles**: English subtitles are automatically downloaded for video files (optional)\n\n## Tech Stack\n\n- **Backend**: Go with Gin framework\n- **Frontend**: htmx + vanilla JavaScript\n- **Database**: SQLite (via GORM)\n- **Styling**: Custom CSS with cinematic dark theme\n\n## Development\n\n```bash\n# Install dependencies\nmake deps\n\n# Run in development mode\nmake dev PATH=/path/to/movies API_KEY=YOUR_KEY\n\n# Build\nmake build\n\n# Build for all platforms\nmake build-all\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fygncode%2Freal-debrid-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fygncode%2Freal-debrid-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fygncode%2Freal-debrid-downloader/lists"}