{"id":25938017,"url":"https://github.com/lanseria/media-srt","last_synced_at":"2025-03-04T03:32:23.026Z","repository":{"id":43882710,"uuid":"451323139","full_name":"lanseria/media-srt","owner":"lanseria","description":"通过腾讯云语音识别工具与Electron + Vitejs + Vue3 + Pinia.js 等完成的桌面端媒体字幕识别修正软件Through Tencent cloud voice recognition tool and Electron + Vitejs + Vue3 + Pinia. Js and other completed desktop media subtitle recognition correction software","archived":false,"fork":false,"pushed_at":"2022-07-31T00:17:45.000Z","size":622,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-01T05:55:47.710Z","etag":null,"topics":["electron","srt","subtitles","typescript","vue3"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/lanseria.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}},"created_at":"2022-01-24T05:04:23.000Z","updated_at":"2022-12-15T23:32:59.000Z","dependencies_parsed_at":"2022-08-02T23:30:53.264Z","dependency_job_id":null,"html_url":"https://github.com/lanseria/media-srt","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanseria%2Fmedia-srt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanseria%2Fmedia-srt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanseria%2Fmedia-srt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanseria%2Fmedia-srt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lanseria","download_url":"https://codeload.github.com/lanseria/media-srt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241778682,"owners_count":20019054,"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":["electron","srt","subtitles","typescript","vue3"],"created_at":"2025-03-04T03:32:22.053Z","updated_at":"2025-03-04T03:32:23.020Z","avatar_url":"https://github.com/lanseria.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MediaSrt 媒体字幕识别分割生成器(桌面版)\n\n## feature 功能\n\n- 识别音视频中的文字并转译成字幕软件\n- 可修正自动转译的文字\n- 使用腾讯云识别 API 请得到相关配置\n- 使用外置 ffmpeg 与 ffprobe 请配置好全局命令\n\n## Global npmrc config for china\n\n```.npmrc\nELECTRON_MIRROR=https://npm.taobao.org/mirrors/electron/v\nELECTRON_BUILDER_BINARIES_MIRROR=http://npm.taobao.org/mirrors/electron-builder-binaries/\n```\n\n## 开发使用\n\n```sh\n# 安装包\nyarn install\n\n# 使用开发\nyarn dev\n\n# 打包发布\nyarn build\n```\n\n## 开发过程\n\n[​DOING: 视频字幕识别与分割 ​](https://enjqkboeqf.feishu.cn/mindnotes/bmncnxAjFhPov4m0UISK01EMJAh)\n\n## 截图\n\n![](./doc/tencent-config.png)\n![](./doc/upload-media.png)\n![](./doc/split-srt.png)\n\n## Template by⚡Vite + Electron \u0026 Esbuild Template\n\nThis template is used to build vite + electron projects.\n\n**NOTE:** Main process is built with esbuild. After some modifications, it currently supports [`emitDecoratorMetadata`](https://www.typescriptlang.org/tsconfig#emitDecoratorMetadata).\n\n### Motivation\n\nIn the past, I've been building desktop clients with [vue](https://v3.vuejs.org/) + [vue-cli-plugin-electron-builder](https://github.com/nklayman/vue-cli-plugin-electron-builder), and they work very well. But as the project volume grows, webpack-based build patterns become slower and slower.\n\nThe advent of [vite](https://vitejs.dev/) and [esbuild](https://esbuild.github.io/) greatly improved the development experience and made me feel lightning fast ⚡.\n\nIt took me a little time to extract this template and thank you for using it.\n\n### How to use\n\n- Click the [Use this template](https://github.com/ArcherGu/fast-vite-electron/generate) button (you must be logged in) or just clone this repo.\n- In the project folder:\n\n  ```bash\n  # install dependencies\n  yarn # npm install\n\n  # run in developer mode\n  yarn dev # npm run dev\n\n  # build\n  yarn build # npm run build\n  ```\n\n### Relative\n\nMy blog post:\n\n- [极速 DX Vite + Electron + esbuild](https://archergu.me/posts/vite-electron-esbuild)\n- [用装饰器给 Electron 提供一个基础 API 框架](https://archergu.me/posts/electron-decorators)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanseria%2Fmedia-srt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flanseria%2Fmedia-srt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanseria%2Fmedia-srt/lists"}