commit a2a158753d38e6f381f1dbb74003567fb5662242
parent 60fcc2b9246e548ab014958556d1f100ef75e5f3
Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 26 Aug 2023 19:23:38 +0200
Add README.md and standardize on .memeblob
Diffstat:
2 files changed, 55 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -0,0 +1,54 @@
+# Meme Tools
+
+The meme tools are the extension of the bitreich meme philosophy to a new
+level. For now memes is intertangled into annna (
+git://bitreich.org/annna ) and descriptions of the meme1 and meme2
+format.
+
+But memes need to be independent!
+
+This is what meme tools repository is for, to collect tools in easily
+converting memecaches, adding memes, exchanging memes and more. Only
+creativity is the limit.
+
+See the memecache at bitreich.org:
+
+ gophers://bitreich.org/1/memecache
+
+## Tools in annna for memes
+
+ annna-add-hashtag
+ annna-add-hashtag-mass
+ annna-add-hashtag-mass-single
+ annna-add-hashtag-mass-string
+ annna-check-hashtags
+ annna-check-hashtags-cronjob
+ annna-get-hashtag-uri
+
+## .meme File Format
+
+ meme\n
+ #tag0 URI/path\n
+ ...
+
+## .meme 2 File Format
+
+ meme2\n
+ #tag0 URI/path shas256sumofmemefile\n
+ ...
+
+## .memeblob.zip format
+
+* A zip file containing:
+
+ $somefile.meme (best is meme2)... references to:
+ somememe.jpg
+ someothermeme.jpg
+ somevideomeme.mp4
+
+## Bugs
+
+Please send bugs and comments to:
+
+ Christoph Lohmann <20h@r-36.net>
+
diff --git a/dir2memeblob b/dir2memeblob
@@ -8,7 +8,7 @@ fi
memefile="$1"
outname="${memefile%.*}"
-outzip="${outname}.meme.blob.zip"
+outzip="${outname}.memeblob.zip"
[ ! -e "${memefile}" ] && sh ./dir2meme >"${memefile}"
if [ "$(uname)" = OpenBSD ]
then