{"id":23099732,"url":"https://github.com/ssebastianoo/statspi","last_synced_at":"2025-08-14T00:19:14.073Z","repository":{"id":56378925,"uuid":"311282746","full_name":"ssebastianoo/statspi","owner":"ssebastianoo","description":"get stats about your raspberrypi","archived":false,"fork":false,"pushed_at":"2021-04-19T13:27:42.000Z","size":123,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-16T01:42:45.227Z","etag":null,"topics":["flask","raspberry"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/ssebastianoo.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}},"created_at":"2020-11-09T09:13:23.000Z","updated_at":"2024-11-16T20:44:25.000Z","dependencies_parsed_at":"2022-08-15T17:40:28.305Z","dependency_job_id":null,"html_url":"https://github.com/ssebastianoo/statspi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ssebastianoo/statspi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssebastianoo%2Fstatspi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssebastianoo%2Fstatspi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssebastianoo%2Fstatspi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssebastianoo%2Fstatspi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssebastianoo","download_url":"https://codeload.github.com/ssebastianoo/statspi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssebastianoo%2Fstatspi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270338419,"owners_count":24567112,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["flask","raspberry"],"created_at":"2024-12-16T23:20:35.262Z","updated_at":"2025-08-14T00:19:14.009Z","avatar_url":"https://github.com/ssebastianoo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StatsPi\n`statspi` is a local website that gives you info about your raspberry pi.\n\n![statspi](https://i.imgur.com/rlpZ1LX.png)\n\n### How to Run\nopen your terminal, go wherever you want and run\n```\ngit clone https://github.com/ssebastianoo/statspi\ncd statspi\npython3 -m pip install flask\npython3 -m pip install psutil\n```\nnow we need to setup this to run on boots and reboots, to do this we need to edit `rc.local`\n```\nsudo nano /etc/rc.local\n```\nscroll down, and paste (on the line befor `exit 0`)\n```\ncd \u003clocation to folder\u003e\nsudo python3 server.py \u0026\n```\nthe file should look something like this:\n```\n#!/bin/sh -e\n#\n# rc.local\n#\n# This script is executed at the end of each multiuser runlevel.\n# Make sure that the script will \"exit 0\" on success or any other\n# value on error.\n#\n# In order to enable or disable this script just change the execution\n# bits.\n#\n# By default this script does nothing.\n\n# Print the IP address\n_IP=$(hostname -I) || true\nif [ \"$_IP\" ]; then\n  printf \"My IP address is %s\\n\" \"$_IP\"\nfi\n\ncd /home/pi/Desktop/codes/statspi\nsudo python3 server.py \u0026\nexit 0\n```\nnow reboot the raspberry, open the browser from any device connected to the same wifi as the raspberry and go to `raspberry ip` (like `123.456.1.234`)\n\n### Setup Port and Host\nyou can edit `host` and `port` editing `config.json`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssebastianoo%2Fstatspi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssebastianoo%2Fstatspi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssebastianoo%2Fstatspi/lists"}