blob: e7922151ea70a4b3e8f2f030a8020d3608acc3e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
set -eu
rm -rf target
mkdir target
cp -r source/* target/
{
cat <<HEAD
# Welcome to my blog
HEAD
find . -path './source/2???/??/*.gmi' -type f -print0 | uv --project .. run coppewebite-indexer source/
} >target/index.gmi
uv --project .. run coppewebite-to-rss <target/index.gmi >target/index.rss --title Example --subtitle Subtitle --base-url https://www.example.com target/
|