Logo by @Iceikory
A browser extension for creating, uploading and viewing community created captions on video sharing sites such as YouTube, Vimeo and niconico.
Get the extension: Chrome / Edge | Firefox
Website: NekoCap.com
Get the extension: Chrome / Edge | Firefox
Website: NekoCap.com
Join the Discord here:
- Built in caption editor accessible directly from supported video sharing sites
- Custom caption positioning
- Support for hotkeys from various editing software
- Caption file export (SRT)
- More to come
- Caption file loading (SRT, VTT, SBV, SSA, ASS, TXT supported)
- Caption upload
- Caption viewing
- Advanced Substation Alpha (SSA/ASS) caption rendering
- Caption rating system
- Captioned video search
- Captioner profiles
- Caption review page
- Captioner moderation tools (verify, reject)
- YouTube
- Vimeo
- bilibili
- niconico
- TVer
- Netflix (editor disabled)
- Ensure you are using Node 16 (does not work with later versions yet)
- Run
npm install
- Copy the contents of
.env.sample
to.env
and fill in the details.- Firebase variables are used for auth
- Run
npm run watch
to start the webpack dev server for both the extension and the NekoCap website - Go to
chrome://extensions
in Chrome and load the unpacked extension from thedist/extension
folder - Go to
http://localhost:12341
to access the NekoCap website
- Create a folder called
fonts
in thepublic
folder. - Add woff2 webfonts that you want to serve from the website into that folder
- Modify
src/common/substation-fonts.ts
to assign font names to the corresponding woff2 files in that folder. - Run
npm run fontlist
to generate thepublic/fontlist.json
file that will be pulled by the extension and website to know which fonts are available. You can serve this file and the fonts separately so that you don't have to redeploy when new fonts are added.
- Copy the contents of
.env.sample
to.env.prod
and fill in the details.- Add
PRODUCTION=1
to the end of the file.
- Add
- Run
npm run build
to build both the extension and the website- Run
npm run build:ext
to build just the extension - Run
npm run build:web
to build just the website
- Run
- The output will be in
.next/
anddist/extension
- License information of utilized packages will be in *.licenses.txt next to the output javascript
- Follow step 1 in Creating a production build
- Copy the contents of
Dockerfile.sample
toDockerfile
and change whatever is necessary. - Copy the nginx template
docker/default.conf.template
todocker/default.conf
and change the configuration to suit your needs. - Run
docker build
with your desired options.
Refer to the list of environment variables here.
Many great packages helped to bring this to life but extra kudos go to these projects without which NekoCap would not have been the same:
- SubtitleOctopus - ASS rendering
- React Hotkeys - Easy to use hotkeys (use the latest Github build and not the outdated npm one)
- subtitle.js - SRT and VTT parsing
- ass-compiler - ASS parsing
Translations:
- Arabic: Adnamie
- French: Adnamie
- Japanese: rama_onehalf
- Persian: Pikhosh
- Vietnamese: Golđén