{"id":26964642,"url":"https://github.com/disrupted/subclean","last_synced_at":"2025-04-03T06:34:27.932Z","repository":{"id":38235757,"uuid":"328037160","full_name":"disrupted/subclean","owner":"disrupted","description":"🧙📖 Simple CLI to instantly enhance your movie \u0026 TV show subtitles","archived":false,"fork":false,"pushed_at":"2025-03-30T00:32:53.000Z","size":1114,"stargazers_count":20,"open_issues_count":10,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-01T19:03:24.224Z","etag":null,"topics":["cli","command-line","movie","plex","python","radarr","sonarr","srt","subtitle","tv"],"latest_commit_sha":null,"homepage":"","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/disrupted.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,"publiccode":null,"codemeta":null}},"created_at":"2021-01-08T23:46:28.000Z","updated_at":"2024-06-02T08:36:34.000Z","dependencies_parsed_at":"2023-10-12T07:48:15.125Z","dependency_job_id":"a6b27d1d-b7bb-43a3-ba85-5eb0ac0a8911","html_url":"https://github.com/disrupted/subclean","commit_stats":{"total_commits":282,"total_committers":3,"mean_commits":94.0,"dds":0.5957446808510638,"last_synced_commit":"b1ce6e8016db390b881425d7567a9997579f3d29"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disrupted%2Fsubclean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disrupted%2Fsubclean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disrupted%2Fsubclean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disrupted%2Fsubclean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/disrupted","download_url":"https://codeload.github.com/disrupted/subclean/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246697913,"owners_count":20819462,"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":["cli","command-line","movie","plex","python","radarr","sonarr","srt","subtitle","tv"],"created_at":"2025-04-03T06:34:27.335Z","updated_at":"2025-04-03T06:34:27.904Z","avatar_url":"https://github.com/disrupted.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Subclean\n\n\u003e Simple CLI to instantly enhance your movie \u0026 TV show subtitles.\n\n## Installation\n\n```\npip install subclean\n```\n\n## Example\n\n```\n$ subclean subtitle.srt\n12:35:30.337 | INFO | Importing subtitle subtitle.srt\n12:35:30.344 | INFO | BlacklistProcessor running\n12:35:30.397 | INFO | SDHProcessor running\n12:35:30.421 | INFO | DialogProcessor running\n12:35:30.426 | INFO | ErrorProcessor running\n12:35:30.458 | INFO | LineLengthProcessor running\n12:35:30.466 | INFO | Saving subtitle subtitle_clean.srt\n```\n\n![before-after](https://github.com/disrupted/subclean/blob/main/docs/img/subclean-diff.png?raw=true)\n\n## Usage\n\n```\nsubclean [-h] [-v] [-V] [-o OUTPUT | --overwrite]\n                   [--processors {LineLength,SDH,Blacklist,Error,Style,Dialog}\n                   [--regex REGEX] [--line-length LINE_LENGTH]\n                   FILE [FILE ...]\n\npositional arguments:\n  FILE                  Subtitle file to be processed\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -v, --verbose         Increase output verbosity\n  -V, --version         show program's version number and\n                        exit\n  -o OUTPUT, --output OUTPUT\n                        Set output filename\n  --overwrite           Overwrite input file\n  --processors {LineLength,SDH,Blacklist,Error,Style,Dialog}\n                        Processors to run\n                        (default: Blacklist SDH Dialog Error LineLength Style)\n  --regex REGEX         Add custom regular expression to BlacklistProcessor\n  --line-length LINE_LENGTH\n                        Maximum total line length when concatenating short lines.\n                        (default: 50)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisrupted%2Fsubclean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdisrupted%2Fsubclean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisrupted%2Fsubclean/lists"}