Matt Baer 3218627068 | há 3 anos | |
---|---|---|
cmd/publicbio | há 6 anos | |
less | há 6 anos | |
static/css | há 6 anos | |
templates | há 3 anos | |
.gitignore | há 6 anos | |
LICENSE | há 6 anos | |
Makefile | há 6 anos | |
README.md | há 5 anos | |
app.go | há 6 anos | |
go.mod | há 3 anos | |
go.sum | há 3 anos | |
handler.go | há 6 anos | |
routes.go | há 6 anos | |
sample.json | há 6 anos | |
templates.go | há 3 anos | |
user.go | há 6 anos |
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!