index

id: d53da3a5d084eaa240bd003c9adf192ce041907659a9053d839a1dd53a842184

id (bech32): note165768fwssn42ys9aqq7f4hce9nsyryrktx5s20vrngwa2w5yyxzqq04k25

sig: 8f73cb9e0131ce1f0cfde8ddc3bcdeb04c3b3a8f2aff14250254bb44a1fce63c4f2084c88c8307c9da8e6c2eb6c29501757e16fbe2d906420bbfefdb1cca1951

created_at: 2023-08-09 22:38:27 +0900

created_at (unix time): 1691588307

content:

↓というか実際のコードがこちら

while :; do
inotifywait -q content.txt -e close_write
if [ -z "$(cat content.txt)" ]; then
echo 'Empty!'
continue
fi
if [ -f content-before.txt ] && diff -q content.txt content-before.txt; then
echo 'Same!'
continue
fi
node index.js
cp content.txt content-before.txt
done

JSON