Skip to content

Instantly share code, notes, and snippets.

@fu-sen
Last active November 3, 2024 11:43
Show Gist options
  • Save fu-sen/a82dee9637cf6fa17b9b45bdafa86a3a to your computer and use it in GitHub Desktop.
Save fu-sen/a82dee9637cf6fa17b9b45bdafa86a3a to your computer and use it in GitHub Desktop.
Nostr 名物かまど bot - npub1kamad0sd3gq8lqzdzpsht7yv7tetarwznvjceeymhecagwtr93tsq7yzx6 - https://nostter.app/kamado@balloon-jp.vercel.app
#!/bin/sh
# install algia ( https://github.com/mattn/algia )
# mv config-kamado.json ~/.config/algia/
# (or MOVE config-kamado.json ~\AppData\Roaming\algia\)
# ( config.json の詳細は https://gist.github.com/fu-sen/360d6d08ebffdb97e1472859ab242cf8 )
# crontab -e
# 0 * * * * ~~~/nostr-kamado.sh (毎時 0 分)
# 0,30 * * * * ~~~/nostr-kamado.sh (毎時 0 分・30 分)
set -e
algia -a kamado n \
"🎵か~('□')ま~('□')ど~('o') か~('□')ま~('□')ど~('o')" \
" 瀬戸の海は お母さん" \
" 讃岐の山は お父さん" \
" か~('□')ま~('□')ど~('o') か~('□')ま~('□')ど~('o')" \
" 丸い心は かまどのお菓子" \
"名物かまど"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment