Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raynigon/frame-light
Simple Webserver which provides an api and ui to switch on lights connected to a raspberry pi
https://github.com/raynigon/frame-light
golang gpio raspberry-pi
Last synced: about 1 month ago
JSON representation
Simple Webserver which provides an api and ui to switch on lights connected to a raspberry pi
- Host: GitHub
- URL: https://github.com/raynigon/frame-light
- Owner: raynigon
- License: mit
- Created: 2020-07-10T09:44:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T16:32:37.000Z (over 3 years ago)
- Last Synced: 2024-10-09T12:35:59.500Z (about 1 month ago)
- Topics: golang, gpio, raspberry-pi
- Language: Go
- Homepage:
- Size: 813 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# frame-light
Simple Webserver which provides an api and ui to switch on lights connected to a raspberry pi## Installation
Execute the following script to install the application
```bash
DOWNLOAD_URL=$(curl -s https://api.github.com/repos/raynigon/frame-light/releases/latest | \
python3 -c "import sys, json; print(list(filter(lambda x: '$(arch)'[:-1] in x['name'], json.load(sys.stdin)['assets']))[0]['url'])")
wget "--header=Accept: application/octet-stream" -O frame-light.zip $DOWNLOAD_URL
unzip frame-light.zip
```