Blaze

Blaze is a Rust script designed to run 24/7 on a server, providing a summary of resource usage every 30 minutes to a Discord channel via Webhook.

It also sends alerts to Discord when specific conditions are met, such as high resource usage (RAM and CPU) by any process, potential DDoS attack indications, or unusually high server resource usage.

How It Started

When I started learning to code, I decided to create websites as projects instead of watching numerous tutorials. I built this website (you are here now) and hosted it on Vercel for free.

A few months later, I discovered Coolify and decided to self-host the website using Coolify by renting a VPS. After setting up the servers and Coolify, my website was up and running. However, to check the server stats, I had to log in to the VPS, even though I use Discord every day.

I spent a few hours on GitHub searching for a code that would send server stats like CPU, RAM, and storage usage to my Discord server but couldn’t find any. So, I decided to build my own tool.

I researched to find a programming language suitable for this task and found Rust to be an excellent choice. Despite having no prior knowledge of Rust, I sought help from ChatGPT to build the tool. After two weeks of development and testing on my PC, I finally made it work as intended.

I then installed the tool on my VPS, and it has been running perfectly for a month. I shared a screenshot of it on Coolify’s Discord server, and many people liked it. I spent another week improving the tool and made it open source under the MIT license for everyone to use without any restrictions.

How It’s Going

The source code for Blaze received 10 stars, over 100 visitors, and more than 50 clones within the first 14 days of its launch.

I plan to add more useful features but this project takes a lot of my time because I need to test it thoroughly before each new release. Since this tool runs on people’s production servers, it is crucial that it reports accurate data and alerts.