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 inspectMedia Processing QueueNode.js / Streams
Architecture · Media Processing Queue
Node.js / Streams
02 · WORKERQueued Stream CompositorApplies visual effects and merges audio tracks in an async queue.
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.