Please sign in to access this page

Linux API

Linux API Used AI

10 devlogs
9h 57m
Created by Ivole32

A linux API server to get system informations and other live informations about your linux machine.

Timeline

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?!

Update attachment

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.

Update attachment

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.

Update attachment

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.

Update attachment

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.

Update attachment

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.

Update attachment

I've added a new route for admins to create users, making user management easier!

Update attachment

I worked on the user management again...

Update attachment

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.

Update attachment

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!

Update attachment