{"id":22726993,"url":"https://github.com/igglybuff/mreg","last_synced_at":"2025-08-11T19:09:53.616Z","repository":{"id":96136150,"uuid":"162581588","full_name":"Igglybuff/mreg","owner":"Igglybuff","description":"Generates a \"Match releases\" expression for your autodl-irssi filter based on dvdsreleasedates.com's \"Most Requested DVD Release Dates\" section.","archived":false,"fork":false,"pushed_at":"2018-12-20T23:17:34.000Z","size":15,"stargazers_count":15,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T15:46:49.025Z","etag":null,"topics":["autodl-irssi","bash","beautifulsoup4","flask","python3","requests"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Igglybuff.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}},"created_at":"2018-12-20T13:13:07.000Z","updated_at":"2024-01-03T06:00:09.000Z","dependencies_parsed_at":"2023-06-11T15:00:40.841Z","dependency_job_id":null,"html_url":"https://github.com/Igglybuff/mreg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Igglybuff/mreg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Igglybuff%2Fmreg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Igglybuff%2Fmreg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Igglybuff%2Fmreg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Igglybuff%2Fmreg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Igglybuff","download_url":"https://codeload.github.com/Igglybuff/mreg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Igglybuff%2Fmreg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269939926,"owners_count":24500364,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["autodl-irssi","bash","beautifulsoup4","flask","python3","requests"],"created_at":"2024-12-10T17:08:07.809Z","updated_at":"2025-08-11T19:09:53.570Z","avatar_url":"https://github.com/Igglybuff.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mreg (match releases expression generator)\n\n## How to use\n\n```\n$ git clone https://github.com/Igglybuff/mreg.git\n$ cd mreg\n```\n\n### Bash script:\n\nThe bash script will dump the expression as a single string to STDOUT.\n\n```\n$ ./mreg.sh\nBohemian?Rhapsody*,The?House?with?a?Clock?in?its?Walls*,Venom*,Bad?Times?at?the?El?Royale*,Fantastic?Beasts:?The?Crimes?of?Grindelwald*,Assassination?Nation*,The?Grinch*,Halloween*,Spider-Man:?Into?the?Spider-Verse*,First?Man*,Creed?II*,Hunter?Killer*,A?Star?Is?Born*,Life?Itself*,Ralph?Breaks?the?Internet*,Fahrenheit*,The?Predator*,Instant?Family*,The?Nutcracker?and?the?Four?Realms*,Johnny?English*,Strikes?Again*,Overlord*,McQueen*,A?Simple?Favor*,Peppermint*\n```\n\n### Python Flask app:\n\nThe flask app will run an HTTP server exposing the expression as text for use with `curl`. It doesn't do any caching, so every time you refresh it will hit dvdsreleasedates.com again.\n\n```\n$ pip3 install -r requirements.txt\n$ python3 server.py\n * Serving Flask app \"server\" (lazy loading)\n * Environment: production\n   WARNING: Do not use the development server in a production environment.\n   Use a production WSGI server instead.\n * Debug mode: off\n * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)\n```\n\nThe application will be exposed on `0.0.0.0` at port `5000`. Access it by navigating to http://127.0.0.1:5000/ in your web browser.\n\n### Python CLI tool:\n\n```\n$ pip3 install -r requirements.txt\n$ pip install .\n$ mreg --help\nUsage: mreg [OPTIONS]\n\nOptions:\n  -c, --autodlcfg TEXT  The path to your autodl.cfg file.  [default:\n                        ~/.autodl/autodl.cfg]\n  -f, --filter TEXT     The name of your autodl-irssi filter for movies.\n                        [required]\n  --help                Show this message and exit.\n$ mreg --autodlcfg \"/home/rtorrent/.autodl/autodl.cfg\" --filter \"filter 1080p/720p Movies IPT\"\nYour filter was updated successfully!\n```\n\nYou can use environment variables instead of command line options instead if you prefer:\n\n```\nexport MREG_AUTODLCFG_PATH=/home/rtorrent/.autodl/autodl.cfg\nexport MREG_FILTER_NAME=\"filter 1080p/720p Movies IPT\"\n```\n\n### Docker\n\n`mreg` can run in a docker container and trigger at your desired frequency. The frequency interval is configured with the `INTERVAL` environment variable, e.g. `-e INTERVAL=21600` would update your `autodl.cfg` every six hours. The default is 7200 seconds (2 hours).\n\nYou must map your `autodl.cfg` file into the container with `-v /path/to/your/autodl.cfg:/root/.autodl/autodl.cfg`. If you want to put `autodl.cfg` somewhere else inside the container, make sure you set the `MREG_AUTODLCFG_PATH` environment variable too with `-e MREG_AUTODLCFG_PATH=/path/to/container/autodl.cfg`.\n\n#### `docker run`\n\n`$ docker run -it --rm --name mreg -v /path/to/your/autodl.cfg:/root/.autodl/autodl.cfg -e MREG_FILTER_NAME=\"filter 1080p/720p Movies IPT\" -e MREG_AUTODLCFG_PATH=/root/.autodl/autodl.cfg wigglytuff/mreg:latest`\n\nReplace `-it --rm` with `-d` when you are confident it is working.\n\n#### `docker-compose`\n\n```\nversion: '3'\n\nservices:\n  mreg:\n    container_name: mreg\n    image: \"wigglytuff/mreg:latest\"\n    volumes:\n      - /path/to/your/autodl.cfg:/root/.autodl/autodl.cfg\n    environment:\n      - MREG_FILTER_NAME=\"filter 1080p/720p Movies IPT\"\n    restart: always\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figglybuff%2Fmreg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figglybuff%2Fmreg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figglybuff%2Fmreg/lists"}