{"id":50740222,"url":"https://github.com/n8tbyte/capcut-subtitle-json-to-srt","last_synced_at":"2026-06-10T16:32:14.991Z","repository":{"id":290327186,"uuid":"974060326","full_name":"n8tbyte/capcut-subtitle-json-to-srt","owner":"n8tbyte","description":"A utility designed to extract subtitles from CapCut desktop project drafts into a standard .srt file.","archived":false,"fork":false,"pushed_at":"2025-05-19T19:42:48.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-27T21:35:15.474Z","etag":null,"topics":["autocaption","capcut","capcut-pc","subtitles"],"latest_commit_sha":null,"homepage":"https://capcut.en.uptodown.com/windows/download/91204437","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/n8tbyte.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}},"created_at":"2025-04-28T07:41:24.000Z","updated_at":"2025-10-12T10:07:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ec39f0d-5b97-4037-a558-2ce62b04ab4b","html_url":"https://github.com/n8tbyte/capcut-subtitle-json-to-srt","commit_stats":null,"previous_names":["naruepanart/capcut-subtitle","naruepanart/capcut-subtitle-1.5","naruepanart/capcut-subtitle-json-to-srt","n8tbyte/capcut-subtitle-json-to-srt"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/n8tbyte/capcut-subtitle-json-to-srt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n8tbyte%2Fcapcut-subtitle-json-to-srt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n8tbyte%2Fcapcut-subtitle-json-to-srt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n8tbyte%2Fcapcut-subtitle-json-to-srt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n8tbyte%2Fcapcut-subtitle-json-to-srt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n8tbyte","download_url":"https://codeload.github.com/n8tbyte/capcut-subtitle-json-to-srt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n8tbyte%2Fcapcut-subtitle-json-to-srt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34161283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["autocaption","capcut","capcut-pc","subtitles"],"created_at":"2026-06-10T16:32:09.355Z","updated_at":"2026-06-10T16:32:14.978Z","avatar_url":"https://github.com/n8tbyte.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Capcut-subtitle-json-to-srt\n\n**A utility designed to extract subtitles from CapCut desktop project drafts into a standard `.srt` file.**\n\nThis tool interacts directly with the local project files created by the CapCut desktop application to read and process subtitle data.\n\n## Prerequisites\n\n*   CapCut Desktop application installed.\n*   Access to the CapCut project data folder on your system.\n\n## Step 1: Locate Your CapCut Project Folder\n\nCapCut saves project drafts in specific directories. You need the path to the *specific project* you want to extract subtitles from.\n\n*   **Default Base Locations:**\n    *   **Windows:** `C:\\Users\\\u003cYourUsername\u003e\\AppData\\Local\\CapCut\\User Data\\Projects\\com.lveditor.draft\\`\n    *   **macOS:** `/Users/\u003cYourUsername\u003e/Movies/CapCut/User Data/Projects/com.lveditor.draft`\n    *(Replace `\u003cYourUsername\u003e` with your actual username)*\n\n*   **Finding Your Project:**\n    1.  Navigate to the base location above.\n    2.  Inside `com.lveditor.draft`, you'll find subfolders, each usually corresponding to a single CapCut project (often with long, unique names like `12345678-ABCD-1234-ABCD-1234567890AB`).\n    3.  Identify the folder for the project you want. Check modification dates or look inside for project details if unsure.\n    4.  **Copy the full path** to that specific project folder.\n\n## Step 2: Configure the Tool\n\n1.  In the same directory where `capcut-subtitle.exe` (or the executable) is located, create a plain text file named `file-path.txt`.\n2.  Open `file-path.txt` with a text editor (like Notepad, TextEdit).\n3.  Paste the **full path** to the CapCut project folder (copied in Step 1) into this file.\n    *   *Example (Windows):* `C:\\Users\\MyUser\\AppData\\Local\\CapCut\\User Data\\Projects\\com.lveditor.draft\\12345678-ABCD-1234-ABCD-1234567890AB`\n    *   *Example (macOS):* `/Users/MyUser/Movies/CapCut/User Data/Projects/com.lveditor.draft/FEDCBA98-4321-DCBA-4321-BA9876543210FE`\n4.  Ensure there is **nothing else** in the file – just the single line containing the path.\n5.  Save and close `file-path.txt`.\n\n## Step 3: Run the Tool\n\n1.  Double-click `capcut-subtitle.exe` (or the actual executable file name).\n2.  The tool will read the project path from `file-path.txt`, find the project's subtitle data, and extract it.\n\n## Expected Outcome\n\n*   A subtitle file named `subtitles.srt` will be created in the **same directory** as the `capcut-subtitle.exe` executable. This file contains the extracted subtitles in the standard SubRip Text format, ready for use in video players or other editing software.\n\n## Troubleshooting\n\n*   Ensure the path in `file-path.txt` is absolutely correct and points to a valid CapCut project folder containing project data (like `draft_info.json`).\n*   Make sure `file-path.txt` is in the *same directory* as the executable.\n*   Ensure the CapCut project actually contains subtitles.\n*   Consider closing the CapCut application before running the tool to avoid potential file access conflicts.\n\n## How to Build\n\n```\ngo build -trimpath -ldflags=\"-s -w\" -o capcut-subtitle-json-to-srt.exe .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn8tbyte%2Fcapcut-subtitle-json-to-srt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn8tbyte%2Fcapcut-subtitle-json-to-srt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn8tbyte%2Fcapcut-subtitle-json-to-srt/lists"}