Back to Portfolio

VideoKit by Bagdja: In-Browser Lyric Video & Narration Editor

A web app that turns lyrics or subtitles into ready-to-post videos: multilingual text, per-line visuals, recorded narration with voice effects, and MP4 export. Rendering runs entirely in the user's browser, with no render servers.

November 19, 2026
0 views
 1
 2
 3
 4

A web app that turns lyrics or subtitles into ready-to-post videos: multilingual text, per-line visuals, recorded narration with voice effects, and MP4 export. Rendering runs entirely in the user's browser, with no render servers.

VideoKit is a suite of video tools for content creators, part of the Bagdja ecosystem. Its main tool, Video Lyric Editor, turns a lyrics or subtitle file (SRT) into a lyric video for TikTok, Reels, Shorts, and YouTube. Every line can have its own clip or image, text can appear in several languages at once (including Korean, Japanese, and Chinese), and the result is exported directly as an MP4 file.

The core challenge was moving the entire video rendering pipeline from the server into the user's browser. Video, subtitles, and audio are processed on the user's device, which keeps server costs minimal and means user files never need to be uploaded. Browser renders are tested against reference renders and reach a visual similarity score (SSIM) of 0.97.

Key features

  • Editor with live preview. The preview uses the same subtitle engine as the final export, so what you see while editing is what you get in the video.
  • Time-proportional cue timeline. Cues can be moved, resized, inserted anywhere, or shifted all at once. Every edit can be undone.
  • Multilingual text. Default styles are set per language line, with per-cue overrides when needed.
  • Per-cue narration recording from the microphone. The cue text is shown while recording (teleprompter), with a level meter and a clipping warning.
  • Narration voice effects. Presets (Clear, Warm, Storyteller) plus manual controls: hum removal, EQ, compression, room reverb, pitch shifting, voice thickness (formant), and end-of-sentence echo. Effects can be tuned against a recorded test sample, and personal presets are saved to the user's account.
  • Avatar Recorder, a second tool for faceless creators. The user's own 3D avatar (VRM) follows their face and voice through the webcam. Avatars are stored in the account and work across devices.
  • Single sign-on with Bagdja accounts.

Technology

  • Frontend: Next.js (static export), TypeScript, Zustand.
  • In-browser video rendering: WebCodecs, Web Workers with OffscreenCanvas, and libass compiled to WebAssembly for subtitles.
  • Audio: Web Audio API, plus custom-written voice processing algorithms for pitch and formant shifting.
  • Avatar: Three.js with three-vrm, and MediaPipe Face Landmarker.
  • Backend: NestJS as a backend-for-frontend (OAuth2 PKCE, httpOnly session cookies, JWKS token verification), PostgreSQL (Supabase) with hand-written SQL migrations, and private storage with presigned uploads.
  • Deployment: Docker on Coolify.
  • Quality: unit tests plus automated end-to-end tests in Chrome, including verification of the exported MP4 files.

My role: architecture and full-stack development, from the in-browser rendering engine and editor UI/UX to audio processing, the API, and deployment.


 

🛠️Technologies Used

ReactTypeScriptZustandWebCodecsWebAssemblylibassWeb WorkersOffscreenCanvasWeb Audio APIMediaRecorderThree.js
https://videokit.bagdja.com

Project Details

Created:November 19, 2026
Views:0
0

About the Developer

Nandang Hermawan

Nandang Hermawan

Senior Fullstack Developer

Full Stack Developer with over 9 years of experience leading technical projects from concept to deployment. Skilled in both backend and frontend development, I enjoy collaborating with cross-functional teams to deliver solutions that drive real business value.