verpi

command module
v0.0.0-...-8019a0d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 7 Imported by: 0

README ΒΆ

verpi

πŸš₯ See the status of your vercel deployments on the pimoroni blinkt!

build test lint release

πŸŽ₯ Demo

https://user-images.githubusercontent.com/43759105/132117267-ec147769-a7af-4f61-bdc8-269a1fd8a466.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
πŸš₯ 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
  1. Create a token on vercel's token page with a name of verpi.
  2. Copy the token to your clipboard.
  3. On the raspberry pi add a file to ~/.config/verpi/ called conf.toml.
  4. 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 | sudo 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 | sudo python3 - uninstall

βš™οΈ Configuring verpi

Using the configuration file located at ~/.config/verpi/conf.toml you can change the brightness of the lights. By default, the brightness is set to 0.1. To turn the lights off you can set the brightness to 0.0 as seen below:

brightness = 0.0

Below is an example configuration file:

token = "<YOUR VERCEL TOKEN>"
brightness = 0.0

πŸ™Œ Contributing

Before contributing please read the CONTRIBUTING.md file.

πŸ‘₯ Contributors

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
pkg
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL