blogging platform in Go
Find a file
Naman Sood aeabd9c209
All checks were successful
/ Deploy blog to hydrogen (push) Successful in 1m17s
posts: rituals
Signed-off-by: Naman Sood <mail@nsood.in>
2025-11-03 08:27:44 -05:00
.forgejo/workflows add deployer, switch host to hydrogen 2025-11-03 08:00:18 -05:00
cmd/prose rewrite code a bit 2024-11-23 02:53:25 -05:00
common update colors for banner generation 2025-09-04 10:55:10 -04:00
errorcatcher remove raymond, use go templates 2025-09-27 00:46:41 -04:00
postmap postmap: update mapstructure 2025-09-27 00:55:30 -04:00
posts posts: rituals 2025-11-03 08:27:44 -05:00
server remove raymond, use go templates 2025-09-27 00:46:41 -04:00
static redo figures to be better in every single way 2025-09-16 12:55:52 -04:00
stylemap rewrite code a bit 2024-11-23 02:53:25 -05:00
styles use smaller font size on smaller screens 2025-10-11 01:55:35 -04:00
templates use normal styles on error pages 2025-09-27 10:41:24 -04:00
tplmap remove raymond, use go templates 2025-09-27 00:46:41 -04:00
watcher delete unused code 2025-09-23 21:11:25 -04:00
.gitignore dockerify 2024-03-29 02:37:53 -04:00
deployer.sh add deployer, switch host to hydrogen 2025-11-03 08:00:18 -05:00
Dockerfile add deployer, switch host to hydrogen 2025-11-03 08:00:18 -05:00
go.mod postmap: update mapstructure 2025-09-27 00:55:30 -04:00
go.sum postmap: update mapstructure 2025-09-27 00:55:30 -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.