blogging platform in Go
Find a file
Naman Sood 608097e431
All checks were successful
/ Deploy blog to deuterium (push) Successful in 1m10s
don't output the ssh private key
I voided the old one but man wtf
2024-11-21 21:32:58 -05:00
.forgejo/workflows don't output the ssh private key 2024-11-21 21:32:58 -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.