blogging platform in Go
Find a file
Naman Sood 6a17f7ed45
All checks were successful
/ Deploy blog to deuterium (push) Successful in 1m50s
fix bug in post sorting
Signed-off-by: Naman Sood <mail@nsood.in>
2024-11-29 08:02:43 -05:00
.forgejo/workflows move to forgejo actions 2024-11-21 22:23:47 -05:00
cmd/prose rewrite code a bit 2024-11-23 02:53:25 -05:00
common rewrite code a bit 2024-11-23 02:53:25 -05:00
errorcatcher rewrite code a bit 2024-11-23 02:53:25 -05:00
postmap fix bug in post sorting 2024-11-29 08:02:43 -05:00
posts posts: ubuntu motd ads 2024-11-22 20:29:45 -05:00
server remove Post.Render 2024-11-29 08:02:26 -05:00
static posts: ubuntu motd ads 2024-11-22 20:29:45 -05:00
stylemap rewrite code a bit 2024-11-23 02:53:25 -05:00
styles styles: break large inline code blocks 2024-04-30 23:53:02 -04:00
templates rewrite code a bit 2024-11-23 02:53:25 -05:00
tplmap rewrite code a bit 2024-11-23 02:53:25 -05:00
watcher rewrite code a bit 2024-11-23 02:53:25 -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 rewrite code a bit 2024-11-23 02:53:25 -05:00
go.sum rewrite code a bit 2024-11-23 02:53:25 -05: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.