Matt Baer 3218627068 | преди 3 години | |
---|---|---|
cmd/publicbio | преди 6 години | |
less | преди 6 години | |
static/css | преди 6 години | |
templates | преди 3 години | |
.gitignore | преди 6 години | |
LICENSE | преди 6 години | |
Makefile | преди 6 години | |
README.md | преди 5 години | |
app.go | преди 6 години | |
go.mod | преди 3 години | |
go.sum | преди 3 години | |
handler.go | преди 6 години | |
routes.go | преди 6 години | |
sample.json | преди 6 години | |
templates.go | преди 3 години | |
user.go | преди 6 години |
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!