{"id":21667212,"url":"https://github.com/musevarg/raspberry-pi-local-portal","last_synced_at":"2026-04-13T05:36:54.973Z","repository":{"id":117063326,"uuid":"276651604","full_name":"musevarg/Raspberry-Pi-Local-Portal","owner":"musevarg","description":"A local portal to display stats about network drives and devices, internet connection and other information.","archived":false,"fork":false,"pushed_at":"2020-07-02T15:19:37.000Z","size":6506,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T08:26:20.479Z","etag":null,"topics":["d3-visualization","javasrcipt","linux","mariadb","material-design-lite","php","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/musevarg.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":"2020-07-02T13:19:47.000Z","updated_at":"2024-05-29T07:35:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"1c561fb9-591e-4622-9396-f455ceabed27","html_url":"https://github.com/musevarg/Raspberry-Pi-Local-Portal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musevarg%2FRaspberry-Pi-Local-Portal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musevarg%2FRaspberry-Pi-Local-Portal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musevarg%2FRaspberry-Pi-Local-Portal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musevarg%2FRaspberry-Pi-Local-Portal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/musevarg","download_url":"https://codeload.github.com/musevarg/Raspberry-Pi-Local-Portal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566931,"owners_count":20473451,"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":["d3-visualization","javasrcipt","linux","mariadb","material-design-lite","php","raspberry-pi"],"created_at":"2024-11-25T11:35:00.233Z","updated_at":"2025-12-31T00:07:08.045Z","avatar_url":"https://github.com/musevarg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a small project that kept me busy during the Covid-19 lockdown.\n\n# Raspberry Pi Local Portal\n\nA web-based one page application that display stats about network drives and devices, internet connection and other information. It is running on a [Raspberry Pi](https://www.raspberrypi.org) and uses the [Apache Web Server](https://httpd.apache.org), [MariaDB](https://mariadb.org), [Material Design Lite](https://getmdl.io/index.html) and [d3](https://d3js.org). It uses PHP to run linux commands and return data from them.\n\n![](https://raw.githubusercontent.com/musevarg/Raspberry-Pi-Local-Portal/master/scr1.png?token=ALYNMCCXBYITPFMCVGN62YS67X4LE)\n\nThe first block provides IP information. I find it useful in checking whether I am successfully connected to a VPN server or not.\n\nThe second block simply returns weather information in my location.\n\nThe third block returns storage information of the two external drives and the SD Card connected to the Raspberry Pi.\n\nThe bottom part of the fourth block contains an html `marquee` that displays the latest news from [France 24](https://www.france24.com/en/) and [Loudersound](https://www.loudersound.com). If clicked, a new tab opens the article on the respective website. The top part of the block will play France 24 Live if clicked on.\n\nThe fifth block displays the status and information of the devices connected to the network. Every time a new device is seen, it is added to a local db. The process to resolve hostnames takes a few seconds per devices so the data is not refreshed on every page display, instead I added a refresh button to do this.\n\nThe last block, located at the very bottom, simply displays whether I am connected to the internet or not. I added this because I lose my internet connection once in a while. If the connection cannot be established, a red WiFi incon is displayed with a warning message. If the internet connection is live, the WiFi icon is green and fortune message is returned from [FortuneCookieMessage.com](http://www.fortunecookiemessage.com).\n\nFinally, the Raspberry Pi runs a [Plex Media Server](https://www.plex.tv) and [Pi-Hole](https://pi-hole.net). Both these services come with their own local web-based control panels. Since these web apps are stored on the Pi as well, I added a link to them in the menu on the left of the portal. The top part shows the Pi's CPU temperature and RAM usage.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusevarg%2Fraspberry-pi-local-portal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmusevarg%2Fraspberry-pi-local-portal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusevarg%2Fraspberry-pi-local-portal/lists"}