Skip to content

Instantly share code, notes, and snippets.

@fu-sen
fu-sen / note-on-misskey-widget-aiscript-app.aiscript
Last active February 11, 2023 09:01
Misskey: Button to post a fixed note on Misskey widget AiScript App | Misskey ウィジェット AiScript App 固定ノート(投稿)ボタン
// CC0 1.0 https://creativecommons.org/publicdomain/zero/1.0/deed
let button = `button name`
let result = `test`
Ui:render([
Ui:C:container({
children: [
Ui:C:postFormButton({
text: button
@fu-sen
fu-sen / note-on-misskey-widget-button.aiscript
Created February 11, 2023 08:58
Misskey: Button to post a fixed note on Misskey widget Button | Misskey ウィジェット ボタン 固定ノート(投稿)ボタン
// CC0 1.0 https://creativecommons.org/publicdomain/zero/1.0/deed
let data = {
text: "test"
visibility: "public"
}
Mk:api("notes/create" data)
@fu-sen
fu-sen / nostr-jihou.sh
Last active October 30, 2024 23:54
Nostr 時報 bot - npub1jlh0u43dasvsgnzlwrwujxf578h76d5j97nn55v46xs9z7hzg6hsmt5756 - https://nostter.app/jihou@balloon-jp.vercel.app
#!/bin/sh
# install algia ( https://github.com/mattn/algia )
# mv config-jihou.json ~/.config/algia/
# (or MOVE config-jihou.json ~\AppData\Roaming\algia\)
# ( config.json の詳細は https://gist.github.com/fu-sen/360d6d08ebffdb97e1472859ab242cf8 )
# crontab -e
# 0 * * * * ~~~/nostr-jihou.sh (毎時 0 分)
# 0,30 * * * * ~~~/nostr-jihou.sh (毎時 0 分・30 分)
@fu-sen
fu-sen / nostr-kamado.sh
Last active November 3, 2024 11:43
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 分)
@fu-sen
fu-sen / nostr-503.sh
Last active October 30, 2024 23:52
Nostr 503 bot - npub1503k6jatw82tde7kfu3tpkzjzu9mjkdy9wtdc9nafpe7z7ejg8dqla6xt4 - https://nostter.app/503@balloon-jp.vercel.app
#!/bin/sh
# install algia ( https://github.com/mattn/algia )
# mv config-503.json ~/.config/algia/
# (or MOVE config-503.json ~\AppData\Roaming\algia\)
# ( config.json の詳細は https://gist.github.com/fu-sen/360d6d08ebffdb97e1472859ab242cf8 )
# crontab -e
# 53 * * * * ~~~/nostr-503.sh (毎時 53 分)
# 3 5 * * * ~~~/nostr-503.sh (毎日 午前 5 時 3 分)
# 3 17 * * * ~~~/nostr-503.sh (毎日 午後 5 時 3 分)
@fu-sen
fu-sen / README.md
Last active November 16, 2024 08:27
algia (nostr CLI client written in Go) config..json
@fu-sen
fu-sen / nostr-sujahta.sh
Last active November 16, 2024 06:14
Nostr スジャータ時報 bot - npub1sujataln45lwfkt5v9yllcqwj49uj0wdu2tg240ef03fw7ae3vyst3f8nq - https://nostter.app/sujahta@balloon-jp.vercel.app
#!/usr/bin/bash
# install algia ( https://github.com/mattn/algia )
# mv config-sujahta.json ~/.config/algia/
# (or MOVE config-sujahta.json ~\AppData\Roaming\algia\)
# ( config.json の詳細は https://gist.github.com/fu-sen/360d6d08ebffdb97e1472859ab242cf8 )
# crontab -e
# 59 * * * * ~~~/nostr-sujahta.sh (毎時 59 分)
set -e
@fu-sen
fu-sen / nostr-mogmog.sh
Last active November 14, 2024 08:45
Nostr (・~・)mogmog bot - npub1mgmgmeh6jqzhhqlketsrncwtznexxxmr39pjc94v7qqhrl5pj26sss4jc7 - https://nostter.app/mogmog@balloon-jp.vercel.app
#!/usr/bin/bash
# install algia ( https://github.com/mattn/algia )
# mv config-mogmog.json ~/.config/algia/
# (or MOVE config-mogmog.json ~\AppData\Roaming\algia\)
# ( config.json の詳細は https://gist.github.com/fu-sen/360d6d08ebffdb97e1472859ab242cf8 )
# crontab -e
# 0 * * * * ~~~/nostr-mogmog.sh (毎時 0 分)
FOODS=(
@fu-sen
fu-sen / nostr-anko.sh
Last active June 3, 2026 23:39
Nostr あんこ…… bot - npub1ank0k9x0zf4ds6rd50deehhd6jplwpuwfcr8yd57qldytus8f2dq3mmmyc - https://nostter.app/anko@balloon-jp.vercel.app
#!/usr/bin/bash
# install algia ( https://github.com/mattn/algia )
# mv config-anko.json ~/.config/algia/
# (or MOVE config-anko.json ~\AppData\Roaming\algia\)
# ( config.json の詳細は https://gist.github.com/fu-sen/360d6d08ebffdb97e1472859ab242cf8 )
# crontab -e
# 0 * * * * ~~~/nostr-anko.sh (毎時 0 分)
ANKO=(
@fu-sen
fu-sen / nostr-3333.sh
Last active November 17, 2024 04:42
Nostr 🌞太陽のチカラコブ。bot🦾 - npub13333asxy62mpd5gcmxasfr8f49zscp03nkdk8dj6ek2pdrawdqnq4k87hx - https://nostter.app/3333@balloon-jp.vercel.app
#!/bin/sh
# install algia ( https://github.com/mattn/algia )
# mv config-3333.json ~/.config/algia/
# (or MOVE config-3333.json ~\AppData\Roaming\algia\)
# ( config.json の詳細は https://gist.github.com/fu-sen/360d6d08ebffdb97e1472859ab242cf8 )
# crontab -e
# 33 * * * * ~~~/nostr-3333.sh (毎時 33 分)
set -e