|
2 years ago | |
---|---|---|
cmd/publicbio | 2 years ago | |
less | 2 years ago | |
static | 2 years ago | |
templates | 2 years ago | |
.gitignore | 5 years ago | |
LICENSE | 2 years ago | |
Makefile | 5 years ago | |
README.md | 5 years ago | |
app.go | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
handler.go | 2 years ago | |
routes.go | 2 years ago | |
sample.json | 5 years ago | |
templates.go | 2 years ago | |
user.go | 5 years ago |
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!