blob: 0476f1b7567cc711b316324ff35aa2b3dc8148b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# barf
**barf is an extremely minimal blog generator.**
The entire build script is >170 lines of shell.
It could almost be called "suckless", but probably isn't. It was created for those focused on writing, not tinkering.
You can learn more by reading the [official README](https://git.sr.ht/~bt/barf).
**barf** = blogs are really fun
---
### Get setup in 2 minutes
**Install dependencies:**
For Linux (Alpine example):
sudo apk add rsync coreutils
For macOS:
brew install rsync coreutils gnu-sed
For OpenBSD:
doas pkg_add coreutils gsed cmake gcc
**Clone `smu` for markdown parsing:**
git clone https://git.sr.ht/~bt/smu
cd smu
make
make install
**Clone barf:**
git clone https://git.sr.ht/~bt/barf
1. Open project, change the `domain` variable at the top of the core barf file
2. Run: `make build`
3. Upload the contents of `build` to your server!
4. Profit?
---
### Articles
|