1
0
Fork
You've already forked nbb
0
nbb - no bullshit blogging
  • Rust 89.6%
  • HTML 9.6%
  • Dockerfile 0.8%
Find a file
2025年05月03日 18:12:59 -07:00
.github/workflows Try fixing GH Actions (again) 2025年02月07日 00:05:15 -07:00
blog add static assets per post 2022年01月28日 10:26:01 -07:00
nbb_config Add path prefix for serving from subdomain 2025年04月24日 17:10:52 -06:00
nbb_consts Bump major version 2025年04月24日 17:11:35 -06:00
nbb_core Pick the correct index to get config location 2025年04月23日 21:00:34 -06:00
nbb_markdown Remove pointless identity 2025年05月02日 16:25:37 -07:00
nbb_renderer Fix tiny little templating typo 2025年02月06日 23:56:37 -07:00
nbb_server Don't lowercase paths 2025年05月03日 18:12:59 -07:00
src add the basic framework (still needs lots of work) 2022年01月28日 05:38:49 -07:00
templates add the basic framework (still needs lots of work) 2022年01月28日 05:38:49 -07:00
.dockerignore Docker attempt #1 2022年01月28日 06:05:48 -07:00
.gitignore add the basic framework (still needs lots of work) 2022年01月28日 05:39:08 -07:00
Cargo.lock Bump major version 2025年04月24日 17:11:35 -06:00
Cargo.toml Bump onig_sys to get nbb building again: onig/rust-onig#180 2025年04月23日 18:54:39 -06:00
config.yaml Add path prefix for serving from subdomain 2025年04月24日 17:10:52 -06:00
docker-compose.yml add docker-compose.yml 2022年01月28日 13:01:37 -07:00
Dockerfile change Docker to use an unprivileged user 2022年01月28日 13:36:01 -07:00
Dockerfile.aarch64 add ARM 32 + 64 bit Dockerfiles 2022年01月28日 13:42:32 -07:00
Dockerfile.armv7 add ARM 32 + 64 bit Dockerfiles 2022年01月28日 13:42:32 -07:00
LICENSE add EUPL and update README.md with more info 2022年01月28日 14:25:17 -07:00
nbb.service Add nbb.service 2025年04月23日 23:28:37 -06:00
README.md add EUPL and update README.md with more info 2022年01月28日 14:25:17 -07:00
rust-toolchain.toml Try fixing GH Actions 2025年02月07日 00:04:15 -07:00

nbb

no bullshit blogging

copy markdown files to your data directory, and fire up the server: that's it to get started

if you want more reasons:

  • blazing fast, but still insanely lightweight
  • image/asset serving
  • custom CSS + HTML supported on each page
  • hidden blogposts

installation

standard

download the latest release from the GitHub Releases page, and download config.yaml from this repo

start with ./nbb /path/to/config.yaml

docker

download docker-compose.yml, and config.yaml and put both into the same directory

then run docker-compose up -d to start up

this binds to port 8080 by default: edit docker-compose.yml to change this port

configuration

open up config.yaml in a text editor

everything is heavily commented with an explanation

usage

put new .md files into ./blog (by default)

then visit http://localhost:8080/blog/name where name is the name of the file on disk, minus the .md extension

if you need static assets, place them in a new folder with the same name as the file, minus extension

these assets will be available at /blog/name/:assets

if you need global static assets, put them into /static where they will be available at /static/:assets

more help

check out the wiki

credits

thanks to libreddit for the Docker image builds

license

EUPL-1.2