Skip to main content
SV · Shrey Vats

Navigate Portfolio

Jump to pages, project details, or toggle theme

Back to projects
Systems & Rustshreyvats01/endroite

Endroite

A Telegram bot built with TypeScript and Node.js that automates adding custom audio tracks and visual effects to uploaded images and videos.

TypeScriptNode.jsTelegram APIStreams
Updated Mar 2026

Overview

Endroite is a utility bot for Telegram that takes user-uploaded photos or video clips, applies preset visual filters and background audio tracks, and replies with the finished video file. It was an exercise in handling media streams and child processes cleanly in Node.js.

How it works

Tap or hover stages to inspect
Media Processing QueueNode.js / Streams

Implementation details

01.

Queued media jobs

Video encoding uses significant CPU and memory, so incoming requests are queued rather than spawned all at once.

02.

Automatic temp file cleanup

Each job writes to an isolated temporary path and removes intermediate files whether encoding succeeds or fails.