{"id":22815956,"url":"https://github.com/sodabyte/simple-sysmonitor-api","last_synced_at":"2025-03-30T22:30:08.746Z","repository":{"id":262037431,"uuid":"886029602","full_name":"sodabyte/simple-sysmonitor-api","owner":"sodabyte","description":"A simple system monitoring API written in Go, exposing system metrics (memory, disk usage, CPU, and processes) over HTTP.","archived":false,"fork":false,"pushed_at":"2024-11-10T03:57:50.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T03:41:33.357Z","etag":null,"topics":["api","golang","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sodabyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-10T02:03:32.000Z","updated_at":"2025-02-05T03:17:19.000Z","dependencies_parsed_at":"2024-11-10T04:29:56.665Z","dependency_job_id":"3ea3defb-4d44-4fec-a729-c4a6a1f18e1d","html_url":"https://github.com/sodabyte/simple-sysmonitor-api","commit_stats":null,"previous_names":["sodabyte/simple-sysmonitor-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodabyte%2Fsimple-sysmonitor-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodabyte%2Fsimple-sysmonitor-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodabyte%2Fsimple-sysmonitor-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodabyte%2Fsimple-sysmonitor-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sodabyte","download_url":"https://codeload.github.com/sodabyte/simple-sysmonitor-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390746,"owners_count":20769474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","golang","rest-api"],"created_at":"2024-12-12T14:05:56.555Z","updated_at":"2025-03-30T22:30:08.714Z","avatar_url":"https://github.com/sodabyte.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a personal project for learning Go, exposing system monitoring data via an HTTP API for easy integration with web UIs.\n\n## Notes\n\n- The binary is mainly run in Termux. It may work on other Linux machines, but this hasn't been fully tested.\n- To successfully retrieve CPU and partition data, the application must be run with **superuser** privileges. (Yes, my device is rooted with magisk.)\n- The API will panic if the `/cpu-usage` endpoint is accessed without superuser privileges.\n\n## Endpoints\n\n- `GET /processes` - List of running processes.\n- `DELETE /processes/:pid` - Kill a process by its PID.\n- `GET /disk-usage` - Disk usage statistics.\n- `GET /disk-io` - Disk input/output statistics.\n- `GET /partitions` - System partition information.\n- `GET /memory-usage` - Memory usage statistics.\n- `GET /cpu-usage` - CPU usage statistics.\n\n## Contribution\n\nFeel free to open issues or pull requests if you'd like to contribute.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsodabyte%2Fsimple-sysmonitor-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsodabyte%2Fsimple-sysmonitor-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsodabyte%2Fsimple-sysmonitor-api/lists"}