Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaudum/piwebcam
Raspberry Pi Webcam
https://github.com/chaudum/piwebcam
Last synced: about 22 hours ago
JSON representation
Raspberry Pi Webcam
- Host: GitHub
- URL: https://github.com/chaudum/piwebcam
- Owner: chaudum
- Created: 2021-02-10T13:10:15.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-29T19:02:47.000Z (11 months ago)
- Last Synced: 2024-06-19T16:26:00.338Z (5 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# piwebcam
_A webcam tool for Raspberry Pi with a web interface written in Go._
> This project was created to learn Go basics.
## Installation
Requires **Go >= 1.11**.
On Raspian, for example, install using `apt`:```
sudo apt install golang
```Clone this Git repository on your Raspberry Pi in the home directory of the
user `pi`:```
git clone https://github.com/chaudum/piwebcam.git
cd piwebcam
go build piwebcam.go
```The `piwebcam` binary can be invoked within the same folder.
### systemd service
The project contains a template for a systemd service file to run the program
in the background. Edit `systemd/piwebcam.service` to adjust configuration
parameters. Make sure the `-http.root` is set correctly!```
vi systemd/piwebcam.service
```Thereafter, enable the file and start the service.
```
sudo systemctl enable `readlink -f systemd/piwebcam.service`
sudo systemctl start piwebcam
```