{"id":18894766,"url":"https://github.com/tcbyrd/youtube-captionr","last_synced_at":"2026-05-05T20:39:46.656Z","repository":{"id":118256354,"uuid":"88230059","full_name":"tcbyrd/youtube-captionr","owner":"tcbyrd","description":"Dashboard for quick editing of the Machine Generated YouTube Captions","archived":false,"fork":false,"pushed_at":"2017-04-14T16:50:41.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T22:43:05.914Z","etag":null,"topics":["bulma-css","captions","utf8","youtube","youtube-api-v3"],"latest_commit_sha":null,"homepage":"https://tcbyrd.github.io/youtube-captionr/search.html","language":"CSS","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/tcbyrd.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}},"created_at":"2017-04-14T03:37:37.000Z","updated_at":"2020-09-04T15:59:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa97428c-8e59-4a66-95fa-13e25c983de0","html_url":"https://github.com/tcbyrd/youtube-captionr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcbyrd%2Fyoutube-captionr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcbyrd%2Fyoutube-captionr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcbyrd%2Fyoutube-captionr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcbyrd%2Fyoutube-captionr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcbyrd","download_url":"https://codeload.github.com/tcbyrd/youtube-captionr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239869224,"owners_count":19710486,"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":["bulma-css","captions","utf8","youtube","youtube-api-v3"],"created_at":"2024-11-08T08:24:33.791Z","updated_at":"2026-02-27T15:30:15.718Z","avatar_url":"https://github.com/tcbyrd.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"### YouTube Captionr\n\n**NOTE**: This is in the very early stages of development and is not yet fully functional. \n\nI felt like the UI for editing captions in the YouTube dashboard was a bit over complicated for my needs, so while looking at the v3 API I realized I could do a couple of interesting things:\n\n1. View a [list](https://developers.google.com/apis-explorer/#search/youtube.captions.list/) of the standard captions for any public video by it's ID\n2. [Download](https://developers.google.com/apis-explorer/#search/youtube.captions.download/m/youtube/v3/youtube.captions.download) the captions in several formats for offline editing\n3. Edit the machine translated captions in multiple languages\n\nAt first, I thought I'd just download the caption files, edit, and do a quick re-upload, but then I realized if I have edit access to the video, I could also [update](https://developers.google.com/apis-explorer/#search/youtube.captions.update/m/youtube/v3/youtube.captions.update) the caption through the same API. So I started to see how easy it would be to just throw the captions in a couple of text fields and update it right in a web browser.\n\nThis is my initial spike at that concept. Right now you just select a language and search for a specific video, but it successfully pulls in the `SRT` formatted text into two text fields, decoded with [UTF-8](https://www.npmjs.com/package/utf8) for multiple language support. I even added some quick jquery to sync the scroll areas.\n\nI'm open to suggestions if this is useful to anyone. Here are the features I'm planning to implement:\n- Upload the edited caption back to YouTube\n- Allow the \"Original\" and \"Edit\" containers to be their own independent languages to aid with translation workflows\n- Let users save their editing session in Local Storage (a good excuse to play around with service workers, maybe?)\n- Embed the video on the page so you can watch it while you edit\n  - Eventually, it would be nice to be able to keep the text area in sync with the video.\n\n#### Getting Started\nThe main thing you'll need is an OAuth Client token from Google. First, create a project on Google Cloud, enabled the YouTube v3 API and use this link to generate your credentials:\nhttps://console.cloud.google.com/apis/credentials/oauthclient/ (choose the \"Web Application\" option)\n\nNext, add your `OAUTH2_CLIENT_ID` to `auth.js`. It should be formatted something like this:\n`\u003corganizationId\u003e-\u003crandom-string-of-characters\u003e.apps.googleusercontent.com`\n\nThen you just need to startup a simple web server. I included a [Caddyfile](https://github.com/mholt/caddy) that will start this up on http://locahost:8000/search.html, but it should work just fine with SimpleHTTPServer and products of that ilk.\n\nThat's all for now. Just find an ID of a YouTube video and click search to see the raw captions in multiple languages!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcbyrd%2Fyoutube-captionr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcbyrd%2Fyoutube-captionr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcbyrd%2Fyoutube-captionr/lists"}