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