PROJECT SHOWCASE

Tetra - Manage expressions

Thumbnail for Tetra - Manage expressions

Tetra started as a simple Discord bot called 7TVDiscord in September 2022, designed to import emotes from the 7TV platform. After making it public, it quickly gained popularity, reaching over 150 servers in just the first week.

The Problem It Solves

Discord's emote system has serious limitations, especially with file limits and inefficient GIF formats. Tetra simplifies this by automating the entire process - from downloading and optimizing to uploading emotes to servers. Users simply provide a link or emote name, and Tetra handles the rest.

Example of the bot in action

Web Application

To address Discord's interface limitations, I developed a web application that greatly improved Tetra's capabilities. The web app introduced features like bulk uploads, manual adjustments and better integration with platforms like 7TV, BTTV, and FFZ.

All emote modifications happen client-side using WASM (WebAssembly) with the gifsicle binary. I created a wrapper library for this purpose: xGify

Next chapter

After Tetra reached over 2,500 servers, Discord's handling of bots at this scale required major changes to the core logic. Given the need for these adaptations, I decided to completely rebuild the project. This rewrite will not only address the scaling challenges but also introduce a modernized web interface and improved optimization algorithms.

Preview of the new web panel

Looking Forward

Tetra has grown beyond my initial expectations, processing over 100,000 emotes and being actively used across Discord communities. I'm grateful for all the positive feedback received from users, and seeing the bot help so many servers brings me joy. This motivates me to keep improving and expanding its features further.


Technical Architecture

Tetra is a distributed system composed of several connected services, each serving a specific purpose: