All checks were successful
/ Deploy blog to deuterium (push) Successful in 1m19s
Signed-off-by: Naman Sood <mail@nsood.in> apparently I need node for setup-go Signed-off-by: Naman Sood <mail@nsood.in> setup-node needs node I'm sobbing Signed-off-by: Naman Sood <mail@nsood.in> go wants version now Signed-off-by: Naman Sood <mail@nsood.in> tailscale action needs sudo Signed-off-by: Naman Sood <mail@nsood.in> add cap net admin for tailscale Signed-off-by: Naman Sood <mail@nsood.in> troubleshoot Signed-off-by: Naman Sood <mail@nsood.in> runner doesn't have pipefail Signed-off-by: Naman Sood <mail@nsood.in> checkout v1 ded Signed-off-by: Naman Sood <mail@nsood.in> don't output the ssh private key I voided the old one but man wtf long live tailscale ssh Signed-off-by: Naman Sood <mail@nsood.in> |
||
---|---|---|
.forgejo/workflows | ||
cmd/prose | ||
posts | ||
static | ||
styles | ||
templates | ||
.gitignore | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE.md | ||
README.md |
Prose
Prose is a blogging platform written in Go, which I am building to serve my own blog.
Setup
As of July 2023, libsass
is no longer available, so the environment running this binary must have access to sass
on the PATH.
Usage
Blog posts should be created in the format title-slug.md
. Work in progress posts should be stored as WIP-title-slug.md
. Static content should be stored in the static/
folder, appropriately arranged.
Posts will be served as /title-slug
, and files like static/random/file/structure.txt
will be served as /random/file/structure.txt
. When title slugs and static files conflict, slugs will have higher precdence. An RSS feed of the blog is available at /rss.xml
.
To start the server:
go run ./cmd/prose
Server will be live on port 8080.
The server can be deployed on a willing host using Docker:
docker build -t prose .
docker run -p 8080:8080 -it prose
License
The code in this repository (everything other than the contents of posts/
and static/
) is licensed under the MIT license; see LICENSE.md. The blog posts themselves are licensed under CC-BY-ND 4.0.