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