Matt Baer 4abb1d8b03 | pirms 3 gadiem | |
---|---|---|
cmd/publicbio | pirms 3 gadiem | |
less | pirms 3 gadiem | |
static | pirms 3 gadiem | |
templates | pirms 3 gadiem | |
.gitignore | pirms 5 gadiem | |
LICENSE | pirms 3 gadiem | |
Makefile | pirms 5 gadiem | |
README.md | pirms 5 gadiem | |
app.go | pirms 3 gadiem | |
go.mod | pirms 3 gadiem | |
go.sum | pirms 3 gadiem | |
handler.go | pirms 3 gadiem | |
routes.go | pirms 3 gadiem | |
sample.json | pirms 5 gadiem | |
templates.go | pirms 3 gadiem | |
user.go | pirms 5 gadiem |
Create a simple public bio for yourself. An open source alternative to about.me, Linktree, Linkkle, etc.
Right now it’s only made for a single user. Edit sample.json
and then run:
go install ./cmd/publicbio
publicbio -u sample.json
You’ll see your site at localhost:8080
. Provide a different port with the -p
option.
Use publicbio
as a static site generator instead of server application with the -s
flag. HTML goes to stdout, so direct it to the file you want.
publicbio -u sample.json -s > bio.html
After updating styles, run make
.
Thanks to International for the initial design, and thanks to Shane for the name!