June 15, 2025
I will add another page that lists system resource usage.
This PHP file outputs system resource usage in a JSON format.
It checks the system CPU load averages (1 minute, 5 minutes and 15 minutes), RAM and storage usage.
I added the Last Updated time at the bottom. The time is set when the page is loaded and services are checked.
I added more CSS and a filter that allows you to choose All, Active or Inactive.
After experiencing problems while trying to make the table responsive, I thought cards would work better. It did. I also added more CSS to improve its appearance.
I added a HTML page and JavaScript file that gets the data from the JSON PHP and displays it in a table. Minimal CSS is used for the Online and Offline text and will be improved.
This PHP file outputs port and systemd service statuses in JSON format. It will be used like an API for the status page.
For ports, it attempts to open a connection with the server and reports if it's successful or fails. For systemd services, it runs the command systemctl is-active with the service name and reports the status.
The true/false and active/inactive is changed to Online and Offline.
A simple, user-friendly PHP and JavaScript-based status page that attempts TCP connections to ports and checks systemd statuses for services. The data is displayed in cards, and you can filter by status (All, Active or Inactive)
I added @napi-rs/canvas (fast, built in Rust) to create the graphics.
The graphics are created with the code, stored temporarily in buffer and sent to the channel where the original (quoted) message was sent.
This code is only the start and will be improved in future devlogs to include the quoted message's author and profile picture.
I copied some of the code from the /gif command to update the /cat command.
Like the /gif command, the /cat command now downloads the image and temporarily stores it locally on the server. The code I used before requested and sent the URL and Discord would load the image like a preview.
A Discord.js bot that gets and sends weather data from OpenWeatherMap. Commands - /temp: Gets the current temperature - /wind: Gets the current wind information - /conditions: Gets the current weather conditions - /sun: Gets the sunrise and sunset times - /info: Information about the bot - /commands: List of commands - /weather: Everything in one message The demo link is an invite to the Discord server, where you can run commands and use the bot.
This was widely regarded as a great move by everyone.