June 19, 2025
I've made a discord bot for testing commands and permissions in javascript since im not used to making a bot from this language. I also made the SQLite3 tables to save the stats of players and current games going on. For now it's time to implement the logic of the commands.
# Objective Guess your opponent's secret 4-digit number with unique digits. # Setup - Each player chooses a secret 4-digit number - No repeated digits allowed # Gameplay - Players take turns guessing - After each guess, you get feedback: - Fame = correct digit in correct position - Dot = correct digit in wrong position # Example Secret: 0348 Guess: 0123 Feedback: 1 Fame (0), 1 Dot (3) # Winning First to guess the number correctly (4 Fames) wins!
Added dashboard to demo website.
This is the end of the project. I wasn't able to ship the connection with C++ and the Windows API. So i might continue with the linux part of the project wich has a formidable job ammount. I loved participating in this project. Thanks for reading.
Linux is a kernel, the systems that users have are so different that there is no assurance that my app is completely userfriendly. To be able to use all its functionalities in Linux you would need to be very lucky and/or have a minimum knowledge of the commands needed for the actions inside your system.
I modified the backend to not have the passwords hardcoded there but loaded through the .env
or settings.ini
file. (this should've been the Dev-log 003 but never posted it, so now i changed part of this, now i just load this in the enviroment file:
ini
SECRET_KEY=
DEFAULT_USERNAME=
DEFAULT_PASSWORD=
DATABASE_FILENAME=
)
I modified the backend to not have hardcoded passwords, now it uses a .db file that is handled through the sqlite3
module, besides now having the hashing system with salting integrated to not save the passwords in plain text.
I implemented the user type I had in mind with the permissions, although the permissions still have no functionality.
I integrated all the frontend part with the API in Flask. I may use Flask for the login part and as a connector to my specific use of the Windows API through C++. For the linux part.
I realized that on mobile the web page was almost useless and fixed it with some css.
I added a cookie system instead of saving locally the token that allows you to see the dashboard and fixed bugs like seeing the dashboard (even for a microsecond) without being logged in, being able to see files that you should only see if you are logged in and pretty much everything that has to do with permissions is at least 90% fixed (still need to check if there are bugs).
We continue with the ideas from the previous devlog about file loading depending on the type of user and the ability to modify commands in linux.
I will talk in depth about what I have in mind for cross-platform:
I have mainly 2 ideas:
Make 2 bridge modules in python that you import 1 or another depending on the operating system that the server is using and that the modules have the same function names, so no matter which one is imported, you only have to write 1 time the code (of course with some changes, for example, the option to modify commands will only be for linux).
Make 2 different codes.
Something tells me that I will end up doing the first one.
I've modified the UI (styles.css) to have the Rose Piné theme and ended up using Flask to make a simple backend for login and a little intro to frontend data delivery.
.env
file or a settings.ini
file.struct User
{
string name;
string password_hash;
Permissions permissions;
}
````
Started the project with the frontend with a bit of basic functionallity to make sure the logic is all good, and found some problems:
1. If you're going to control multiple devices you would need to know the IP of each one of them. I will keep in mind the option of making a server that redirects to the device you want to control. Also since this is a cross-platform project, it would be great to have both OS (in case of a dual boot or something similar) in the same place.
2. The UI is not consistent. The solution i had for this is to choose a palette that i can use for everything UI related, in this case i think i will be using Rose Pine
3. Implemented a simple API trough FastAPI (python) for the linux part to be more convenient, but faced some problems; In fact, so many that im not counting this as added for now.
📄 Project Description Local SysPilot is a cross-platform, local-network-based system control dashboard. Its core goal is to allow users to remotely manage their own computers (Linux) within a local network or VPN—not through the public internet. Through a secure web interface, you can perform actions like shutting down, locking, or controlling media playback on your device from another trusted device on the same network. The backend is built for each platform: 🐧 On Linux, it uses Python and Flask for easy scripting and control. 🔧 Core Features Secure login with a lightweight web-based control panel System actions: shutdown, lock, sleep, media control Runs locally or over VPN, not exposed to the public web Modular backend for easy extension (e.g., custom commands) Future support for viewing basic system metrics (CPU/RAM, uptime)
This was widely regarded as a great move by everyone.