commit 8a3e4e5207f59d42bfd6075e3792267266c86e71 from: Bradley Taunt date: Fri Jun 07 14:27:38 2024 UTC Homepage changes, README updates, swap to lowdown, cleanup commit - 8c47200dd81639b7cb1a3a165f4bb2eec2517970 commit + 8a3e4e5207f59d42bfd6075e3792267266c86e71 blob - ada76ca71e72163bb0d7b0e0dd54c485b9a23a39 blob + 6fedcb2ebbc5df78252b0e9a3e8c908264371559 --- README.md +++ README.md @@ -3,12 +3,11 @@ barf barf is an extremely minimal blog generator. -The entire build script is less than 100 lines of shell. +The entire build script is >170 lines of shell. It could *almost* be called "suckless", but probably isn't. -(barf is a modified/forked version of Karl Bartel's fantastic blog.sh -(https://github.com/karlb/karl.berlin). Be sure to check it out since +(barf is a modified/forked version of Karl Bartel's fantastic [blog.sh](https://github.com/karlb/karl.berlin). Be sure to check it out since my version does things slightly different.) You can see a [live demo here](https://barf.btxx.org) @@ -39,10 +38,14 @@ linux ----- - rsync -- smu (see below) +- lowdown - entr (optonal) - standard UNIX tools +Example on Alpine: + + sudo apk add rsync lowdown + openbsd ------- @@ -53,10 +56,12 @@ https://barf.btxx.org/openbsd - gcc - cmake - rsync +- lowdown - gsed -- smu (see below) - entr (optional) + doas pkg_add coreutils gcc cmake rsync lowdown gsed + macOS ----- @@ -66,9 +71,11 @@ https://barf.btxx.org/macos - coreutils - gnu-sed - rsync -- smu (see below) +- lowdown - entr (optional) + brew install coreutils gnu-sed rsync lowdown + basic setup ----------- @@ -77,15 +84,8 @@ and "footer.html" files with your own information, nav Be sure to edit the **domain** variable inside `barf` or else your feed won't validate! -Then, clone and build my patched version of smu: +Then build: - git clone https://git.btxx.org/smu - cd smu - # OpenBSD users: change sudo to doas - sudo make install - -Then clone this directory and build: - make build Your blog content will be in the `build` directory. @@ -155,11 +155,11 @@ or even speed things up are more than welcome! ## Can I use other Markdown parsers? -Of course! Simply edit the main `barf` script and swap out `smu` with +Of course! Simply edit the main `barf` script and swap out `lowdown` with something else. I wouldn't advise doing this if you already have pre-existing -content based-off `smu`, since this could break some of your pages. +content based-off `lowdown`, since this could break some of your pages. -But give smu (https://git.btxx.org/smu) a try - it is very lightweight and fast! +But give `lowdown` a try - it is very lightweight and fast! MORE FAQs TO COME... blob - 47ba0956d5e1b1c456c1f0e74290e7a3bf3d021e blob + 10a92ca00dab086dae589b438bd0f81dfe7644f1 --- barf +++ barf @@ -14,7 +14,7 @@ elif [ "$os_name" = "Darwin" ]; then fi set -eu -MARKDOWN=smu +MARKDOWN=lowdown IFS=' ' # Create tab separated file with filename, title, creation date, last update blob - fac6c4101b9609e8a8518a7be26753ba1a206a38 blob + 698aa5ca861e7a823ad7c1688ed4b2721ebd83c0 --- build/about/index.html +++ build/about/index.html @@ -7,7 +7,7 @@ About `barf` - +
-

About barf

-

barf is a minimal and suckless-inspired blog generator. It is a tweaked and slightly patched version of Karl Bartel's fantastic blog.sh.

-

Why?

-

This project was created by me, Bradley Taunt, out of frustration with overly complex and bloated blogging options. I tried so many "minimal" generators but each one ended up having some glaring issue or heavy reliance on dependencies.

-

I wanted to have a system that I could easily replicate on any Linux machine. Something that didn't require me to download half the internet just to get up and running. I'm a sucker for keeping things simple.

+

About barf

+

barf is a minimal and suckless-inspired blog generator. It is a tweaked and slightly patched version of Karl Bartel’s fantastic blog.sh.

+

Why?

+

This project was created by me, Bradley Taunt, out of frustration with overly complex and bloated blogging options. I tried so many “minimal” generators but each one ended up having some glaring issue or heavy reliance on dependencies.

+

I wanted to have a system that I could easily replicate on any Linux machine. Something that didn’t require me to download half the internet just to get up and running. I’m a sucker for keeping things simple.