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