{"id":18869538,"url":"https://github.com/markjay4k/spin","last_synced_at":"2025-06-19T07:38:07.955Z","repository":{"id":219058450,"uuid":"746988910","full_name":"markjay4k/Spin","owner":"markjay4k","description":"Self-hosted automated torrent finder and downloader","archived":false,"fork":false,"pushed_at":"2024-09-22T03:24:52.000Z","size":21550,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-30T23:33:54.089Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markjay4k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-01-23T03:13:37.000Z","updated_at":"2024-09-22T03:24:56.000Z","dependencies_parsed_at":"2024-02-04T06:24:26.741Z","dependency_job_id":"1c7107df-1bfa-478b-b0dc-f04bf0860a2e","html_url":"https://github.com/markjay4k/Spin","commit_stats":null,"previous_names":["markjay4k/spin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjay4k%2FSpin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjay4k%2FSpin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjay4k%2FSpin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjay4k%2FSpin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markjay4k","download_url":"https://codeload.github.com/markjay4k/Spin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239816513,"owners_count":19701753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-08T05:16:58.358Z","updated_at":"2025-02-20T10:16:49.696Z","avatar_url":"https://github.com/markjay4k.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SPIN\n\nDisplay popular IMDb movies by genres, find torrents using [Torrent-Api-py](https://github.com/Ryuk-me/Torrent-Api-py),\nand download by interfacing with [Transmission](https://github.com/transmission/transmission).\n\n## INSTALL\n\n```shell\ngit clone https://github.com/markjay4k/Spin.git\ncd Spin\n```\ncreate a `.env` file\n\n| `variable`             | `values`           |\n|------------------------|--------------------|\n| `SPIN_PATH`            | `./spin`           |\n| `DOWNLOAD_COVER_IMAGE` | `0`                |\n| `DATABASE_NETWORK`     | `redpanda`         |\n| `DATABASE_NAME`        | `redpanda`         |\n| `REDIS_EXPIRE_SECONDS` | `72000`            |\n| `REDIS_IP_ADDR`        | `redpanda`         |\n| `REDIS_PORT`           | `6379`             |\n| `LOG_LEVEL`            | `INFO`             |\n| `JF_MOVIE_DIR`         | `/jellyfin/media`  |\n| `TORRENT_API_HOST`     | `localip`          |\n| `TORRENT_API_PORT`     | `8009`             |\n| `TORRENT_API_PATH`     | `./Torrent-Api-py` |\n| `TAGENT_PORT`          | `5000`             |\n| `TRANSMISSION_IP`      | `localip`          |\n| `TRANSMISSION_PORT`    | `9091`             |\n| `TRANSMISSION_USER`    | `user`             |\n| `TRANSMISSION_PASS`    | `password`         |\n| `CRON_SCHEDULE`        | `'0 4 * * *'`      |\n\n## CODE OVERVIEW \n\n- `spin.py`: CLI script used to download top40 movies by genre from IMDb\n- `movies.py`: Interfaces with `Cinemagoer` to download movie metadata\n- `red.py`: Interfaces with the Redis database docker container\n- `_images.py`: downloads cover art, adds border to movies already in Jellyfin\n- `__init__.py`: Starts Redis container if down and loads environment variables \n- `clogger.py`: logging module\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkjay4k%2Fspin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkjay4k%2Fspin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkjay4k%2Fspin/lists"}