Matt Baer 4abb1d8b03 | hace 3 años | |
---|---|---|
cmd/publicbio | hace 3 años | |
less | hace 3 años | |
static | hace 3 años | |
templates | hace 3 años | |
.gitignore | hace 5 años | |
LICENSE | hace 3 años | |
Makefile | hace 5 años | |
README.md | hace 5 años | |
app.go | hace 3 años | |
go.mod | hace 3 años | |
go.sum | hace 3 años | |
handler.go | hace 3 años | |
routes.go | hace 3 años | |
sample.json | hace 5 años | |
templates.go | hace 3 años | |
user.go | hace 5 años |
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!