{"id":36455848,"url":"https://github.com/acgtools/sub-renamer","last_synced_at":"2026-01-20T06:37:00.413Z","repository":{"id":208668569,"uuid":"721285826","full_name":"acgtools/sub-renamer","owner":"acgtools","description":"CLI tool to automatically rename subtitle files to match corresponding video files. 自动为字幕文件匹配视频并重命名的 CLI 工具。","archived":false,"fork":false,"pushed_at":"2023-12-09T18:33:56.000Z","size":1879,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-12T00:51:44.263Z","etag":null,"topics":["anime","cli","cli-app","go","golang","open-source","video"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/acgtools.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":"2023-11-20T18:35:18.000Z","updated_at":"2024-12-12T22:48:33.000Z","dependencies_parsed_at":"2023-12-09T19:33:21.345Z","dependency_job_id":null,"html_url":"https://github.com/acgtools/sub-renamer","commit_stats":null,"previous_names":["dreamjz/sub-renamer"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/acgtools/sub-renamer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acgtools%2Fsub-renamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acgtools%2Fsub-renamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acgtools%2Fsub-renamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acgtools%2Fsub-renamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acgtools","download_url":"https://codeload.github.com/acgtools/sub-renamer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acgtools%2Fsub-renamer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28597677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: 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":["anime","cli","cli-app","go","golang","open-source","video"],"created_at":"2026-01-11T23:03:21.852Z","updated_at":"2026-01-20T06:37:00.397Z","avatar_url":"https://github.com/acgtools.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sub-Renamer\n\nEnglish | [简体中文](./README_ZH_CN.md)\n\nA CLI tool designed to automatically rename subtitle files corresponding to matched video files. \n\n\u003cbr/\u003e\n\nIf this repo is helpful to you, please consider giving it a star (o゜▽゜)o☆ . Thank you OwO. \n\n\u003e Random Wink OvO\n\n\u003c!-- If you want to deploy your own service for random waifu. Check: https://github.com/dreamjz/waifu-getter --\u003e\n\u003cimg src=\"https://waifu-getter.vercel.app/sfw?eps=wink\" /\u003e\n\n\u003cbr /\u003e\n\n\u003c!-- \n  If you prefer to use your own Moe-Counter\n  please refer to the tutorial \n  in its original repo: https://github.com/journey-ad/Moe-Counter\n  and deploy it to the Replit or Glitch\n--\u003e\n![](https://political-capable-roll.glitch.me/get/@acgtoolssubrenamer?theme=rule34)\n\n## Installation\n\n### Using `go`\n\n```sh\n$ go install -ldflags \"-w -s\" github.com/acgtools/sub-renamer@latest\n```\n\n### Download from releases\n\n[Release page](https://github.com/acgtools/sub-renamer/releases)\n\n## Quick Start\n\n```sh\n$ sub-reanmer -h\nsub-renamer \u003cvideo dir\u003e \u003csub dir\u003e\n\nUsage:\n  sub-renamer [flags]\n\nFlags:\n  -c, --copy               copy subtitles after renaming\n  -h, --help               help for sub-renamer\n      --log-level string   log level, options: debug, info, warn, error (default \"info\")\n  -v, --version            version for sub-renamer\n\n```\n\n### How to use on windows\n\n1. Download the zip file and extract it to the folder you’d like.\n\n2. Open the `cmd`: you can search for “cmd” in the Windows search bar, then click \"Command Prompt\"\n\n3. Copy the path of the folder you just extracted. Input the following command and press `enter`:\n\n   ```cmd\n   cd /d \"\u003cpath you copied\u003e\"\n   ```\n\n4. Copy the path of the video and subtitle folder, input the following command, and press `enter`:\n\n   \u003e **Caution:  Please ensure that the video file path is provided as the first argument.**\n   \u003e\n   \u003e Since it will rename files in the second parameter, this process is irreversible. Creating backups for video files is otherwise cumbersome due to their large size.\n\n   ```cmd\n   # Rename subtitle files only\n   .\\sub-renamer.exe \"\u003cvideo path\u003e\" \"\u003csubtitle path\u003e\"\n   \n   # Using -c will copy subtitle files to the video folder after renaming\n   .\\sub-renamer.exe -c \"\u003cvideo path\u003e\" \"\u003csubtitle path\u003e\"\n   ```\n\n![](./docs/assets/how_to_use.gif)\n\n## Issue\n\nFeel free to create issues to report bugs or request new features. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facgtools%2Fsub-renamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facgtools%2Fsub-renamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facgtools%2Fsub-renamer/lists"}