Want to change just a couple lines?
The only dependency you need is `podman
- podman https://podman.io/docs/installation On ubuntu just use
sudo apt install podman
and run the distribute script
./distribute.shThat will use a podman container to build the entire app and it will put the output
in ./dist.
Change the PLATFORM environment variable to build for different platforms.
For example to build for linux aarch64:
PLATFORM=linux/aarch64 ./distribute.shBelow are all the dependencies this app needs.
- Download the following dependecies from your system's package manager. On ubuntu use:
sudo apt install pkg-config libchafa-dev build-essential - Optional: vscode with these recommended extensions:
- "ms-vscode.cpptools-extension-pack",
- "golang.go",
- "ms-vscode.makefile-tools"
These are the versions of the tools used to build and run the project:
- chafa 1.16.0
You can just run make
makeThis will build the app.
Or Generate the needed code with
go generateand run with go run.
go run . firefoxe, good for local testing or sending to friends
Remove all build artifacts.
make cleanThe distribute script creates an statically linked binary in a alpine linux podman container.