verpi
๐ฅ
Demo
verpi.mp4
Note: Normally all 8 LEDs would be lit up but I only have 6 projects on vercel so only 6 are lit up.
๐ฅ
Setup your own version
Setting up verpi for yourself is very simple! Just follow the instructions below. If you have any problems please make an issue on this repo.
๐ต
Getting the parts
- Case, Card, Heat sink, and other tools - $8.99
- Raspberry Pi Zero WH (Zero W with Headers) - $39.95
- Power supply - $9.95
- Pimoroni blinkt - ~$8.32
๐ฅ
Install the pimoroni blinkt
To install the pimoroni blinkt simply set it on the GPIO headers. The correct way round is where it has curves on the top that match the corners of your Raspberry Pi.
๐ผ๏ธ
Flash an image
To flash an operating system to the micro sd card please use the Raspberry Pi Imager program. You only need Raspberry Pi OS Lite for verpi to operate (with some dependencies installed later).
๐ฅพ
Headless boot
So you can ssh to the pi on boot please follow this tutorial for setting up the raspberry pi headless. It should only take a few seconds to do as you only need to make two small files.
Headless Raspberry Pi Tutorial.
๐
Installing the needed deps
Before actually installing verpi you need a few deps installed. Please run the following terminal command on your raspberry pi:
sudo apt -yq update && sudo apt -yq upgrade && sudo apt install -yq wiringpi git wget
๐
Creating a token
- Create a token on vercel's token page with a name of verpi.
- Copy the token to your clipboard.
- On the raspberry pi add a file to
~/.config/verpi/
calledconf.toml
. - Add the following to that file, replacing
<TOKEN>
with your token.
token = "<TOKEN>"
๐
Installing verpi
To install verpi just run the following command on your raspberry pi:
wget -q -O - https://raw.githubusercontent.com/gleich/verpi/master/setup.py | python3 - install
This script will install a temporary version of golang to produce a binary and install a systemd service. It will not mess with whatever version of go you might already have installed on the pi.
๐
Uninstalling verpi
To uninstall verpi just run the following command on your raspberry pi:
wget -q -O - https://raw.githubusercontent.com/gleich/verpi/master/setup.py | python3 - uninstall
๐
Contributing
Before contributing please read the CONTRIBUTING.md file.