{"id":21229988,"url":"https://github.com/frklan/eyvind","last_synced_at":"2026-01-27T07:33:07.658Z","repository":{"id":178549502,"uuid":"118325582","full_name":"frklan/eyvind","owner":"frklan","description":"A simple control panel for a raspberry pi print server ","archived":false,"fork":false,"pushed_at":"2024-10-20T14:21:34.000Z","size":605,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T00:32:28.558Z","etag":null,"topics":["nodejs","raspberry-pi-zero-w"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frklan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","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,"zenodo":null}},"created_at":"2018-01-21T10:40:52.000Z","updated_at":"2024-10-20T14:21:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b9b8e33-ffec-47ea-82ab-947ea925f74f","html_url":"https://github.com/frklan/eyvind","commit_stats":null,"previous_names":["frklan/eyvind"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frklan/eyvind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frklan%2Feyvind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frklan%2Feyvind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frklan%2Feyvind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frklan%2Feyvind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frklan","download_url":"https://codeload.github.com/frklan/eyvind/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frklan%2Feyvind/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28808021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:14:39.408Z","status":"ssl_error","status_checked_at":"2026-01-27T07:14:39.098Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nodejs","raspberry-pi-zero-w"],"created_at":"2024-11-20T23:31:03.064Z","updated_at":"2026-01-27T07:33:07.632Z","avatar_url":"https://github.com/frklan.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eyvind\n[![Raspberry Pi Zero W](https://img.shields.io/badge/RaspberryPI-Zero%20W-brightgreen.svg)](https://www.raspberrypi.org/products/raspberry-pi-zero-w/)\n[![Build Status](https://travis-ci.org/frklan/eyvind.svg?branch=master)](https://travis-ci.org/frklan/Eyvind)\n[![GitHub release](https://img.shields.io/github/release/frklan/Eyvind.svg)](https://github.com/frklan/Eyvind/releases)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/frklan/Eyvind/issues)\n[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](https://github.com/frklan/Eyvind/blob/master/LICENSE)\n\nA NodeJS based app to serve as a very small (and insecure) control panel for a printer server based on a Rapberry PI Zero W. Allows an inexperienced user to shutdown and reboot the PI, as well as display the last few lines of the system and cups error logs.\n\nNote: there is NO security measures implemented - if you have access to the PI wifi you will be able to reboot it.\n\n## Running the app\n\n### Prerequisites\n\n* NodeJS\n\n### Compiling/running\n\nTo compile/run issue the following commands\n\n````\n$ git clone git@github.com:frklan/Eyvind.git\n$ cd Eyvind\n$ npm install\n$ npm start \n````\n\nAccess the app at [PI ip-address]:3000.\n\n### Installing\nTo have the app autostart at boot do the following:\n\n1) Symlink npm and node to /usr/bin if they are not already installed there\n\n````\n$ sudo ln -s /home/pi/bin/n/bin/npm /usr/bin/npm\n$ sudo ln -s /home/pi/bin/n/bin/node /usr/bin/node\n````\n\n2) Create eyvind.service in /etc/systemd/system/\n\n````\n[Service]\nWorkingDirectory=/home/pi/src/eyvind\nExecStart= /home/pi/bin/n/bin/npm start /home/pi/src/eyvind/app.js\nRestart=always\nStandardOutput=syslog\nStandardError=syslog\nSyslogIdentifier=eyvind\nUser=pi\nGroup=pi\nEnvironment='NODE_ENV=production'\n\n[Install]\nWantedBy=multi-user.target\n````\n\nMake sure that 'WorkingDirectory' and the paths to npm and eyvind app.js are correct.\n\n3) Install with ````sudo systemctl enable eyvind```` \n\n4) Reboot the pi, or start with start with ````sudo systemctl start eyvind```` to avoid rebooting.\n\nConsole output (info or error messages) from eyvind will show up in /var/log/syslog\n\n### Permissions\nThe pi user needs to be able to execute commands as root (i.e. using sudo command), one way to do this is to add ```pi ALL=(ALL) NOPASSWD: ALL``` to ```etc/sudoers.d/010_pi-nopasswd```. This, however is also pretty unsecure.\n\n## Contributing\n\nContributions are always welcome!\n\nWhen contributing to this repository, please first discuss the change you wish to make via the issue tracker, email, or any other method with the owner of this repository before making a change.\n\nPlease note that we have a code of conduct, you are required to follow it in all your interactions with the project.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/frklan/Teleport2Lobby/tags).\n\n## Authors\n\n* **Fredrik Andersson** - *Initial work* - [frklan](https://github.com/frklan)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n\n## Acknowledgments\n* An excellent help testing NodeJS apps while development is [NodeMon](https://nodemon.io/), as well as having an awesome looking web page\n* README based on [PurpleBooth's](https://github.com/PurpleBooth) template\n\n\n\n\n\n[![HitCount](http://hits.dwyl.io/frklan/Eyvind.svg)]()","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrklan%2Feyvind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrklan%2Feyvind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrklan%2Feyvind/lists"}