From 67cd0ab571d3a4de359781789f0437e5a6527154 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 26 Aug 2022 16:02:56 +0200 Subject: [PATCH] # Search for "tube" tagged tiddlers to get URL # Download video, add to ipfs and import new tiddler # Publish !! --- tools/TUBE.copy.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/TUBE.copy.sh b/tools/TUBE.copy.sh index 72c769b0..0520acf3 100755 --- a/tools/TUBE.copy.sh +++ b/tools/TUBE.copy.sh @@ -7,6 +7,14 @@ MY_PATH="`dirname \"$0\"`" # relative MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized ME="${0##*/}" +# Need TW index.html path + IPNS publication Key (G1PUB format) +# Search for "tube" tagged tiddlers to get URL +# Download video, add to ipfs and import new tiddler +# Publish !! + +## BEWARE, DO NOT MODIFY TW DURING THIS PROCESS !! +# TODO use crontab to run regularly + INDEX="$1" [[ ! $INDEX ]] && echo "Please provide path to source TW index.html" && exit 1 [[ ! -f $INDEX ]] && echo "Fichier TW absent. $INDEX" && exit 1