blogging platform in Go
Find a file
Naman Sood d9d7ea1888
All checks were successful
/ Deploy blog to deuterium (push) Successful in 1m19s
move to forgejo actions
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>
2024-11-21 22:23:47 -05:00
.forgejo/workflows move to forgejo actions 2024-11-21 22:23:47 -05:00
cmd/prose dockerify 2024-03-29 02:37:53 -04:00
posts posts: chai 2024-11-11 12:52:52 -05:00
static posts: linux from windows installer 2024-04-30 22:17:57 -04:00
styles styles: break large inline code blocks 2024-04-30 23:53:02 -04:00
templates rss: guid is not permalink 2022-06-28 11:18:57 -05:00
.gitignore dockerify 2024-03-29 02:37:53 -04:00
Dockerfile reduce docker image size 2024-03-29 17:30:11 -04:00
go.mod style: libsass gone rip o7 2023-07-30 00:58:47 -04:00
go.sum style: libsass gone rip o7 2023-07-30 00:58:47 -04:00
LICENSE.md readme: clarify license 2023-09-13 01:47:08 -04:00
README.md dockerify 2024-03-29 02:37:53 -04:00

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.