Please sign in to access this page
A linux API server to get system informations and other live informations about your linux machine.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Devlog #10:
I haven’t worked on this project in a while, so I need to re-familiarize myself with the codebase and figure out what I was working on. I think I’ll continue with the system load feature?!
spend much time to improve the code structure with multiple files for better understanding etc. I also started to experiment with the system load feature, which is a bit complex because I can only load the average value for 1min, 5min and 15 min so I have to track any other average value by my own.
I added an endpoint to retrieve the system uptime. It returns the uptime in days, hours, minutes, and seconds, as well as the total uptime in seconds. Now I will focus on improving the code structure.
Since the last delog I added two new endpoints for listing system information and processes. The get_system_infos
endpoint returns system information, while the list_processes
endpoint lists all running processes.
After the last devlog I updated the requirements.txt file to the newer package versions. And fixed an internal server error when creating a new user.
Since the last devlog, I’ve made significant progress. I added functionality to delete your own account, or other accounts if you're an admin. I also improved the documentation at the /docs endpoint. Here's a quick overview:
- Added a short description explaining the functionality of each endpoint
- Added an overview of all possible return codes and their meanings
So I think I made big progress in user management so I can work on the real functionality of the API soon.
I started to implement a database to handle the user roles/api keys and endpoints to get informations about your role etc. or if you have an admin key about other users.
So here is my new project. I will focus on learning the basics of a new tool called FastAPI in python and then I'll start to create the functionality. I'm really looking forward to this project!