哈姆次郎维护记录

本帖会存放我搭建和维护自己机器人的记录和碎碎念

2 个赞

神秘的坑

ubuntu jammy

sshd_configPasswordAuthentication KbdInteractiveAuthenticationUsePAM 都改成 no 了,重启 sshd 以及重启整机之后我还是能不用 key 输密码登录

3 个赞

我装的插件

另外诚挚地希望插件市场可以多选安装

yarn config set registry https://registry.npmmirror.com
yarn add -W \
@koishijs/plugin-echo koishi-plugin-feedback koishi-plugin-forward @koishijs/plugin-broadcast koishi-plugin-verifier koishi-plugin-shutdown @koishijs/plugin-broadcast @koishijs/plugin-callme koishi-plugin-cron @koishijs/plugin-recall koishi-plugin-sudo koishi-plugin-rryth koishi-plugin-repeater koishi-plugin-markdown koishi-plugin-puppeteer koishi-plugin-httpcat koishi-plugin-crazy-thursday koishi-plugin-hangman koishi-plugin-guess-number koishi-plugin-abbreviation koishi-plugin-blockly koishi-plugin-chess koishi-plugin-cache-memory koishi-plugin-dispose koishi-plugin-bilibili koishi-plugin-presence-wakatime koishi-plugin-chat koishi-plugin-booru koishi-plugin-booru-pixiv koishi-plugin-pixiv koishi-plugin-booru-gelbooru @ifrank/koishi-plugin-xibao koishi-plugin-messages koishi-plugin-marry koishi-plugin-sleep-manage koishi-plugin-changelog koishi-plugin-hitokoto koishi-plugin-spawn koishi-plugin-eval koishi-plugin-live2d koishi-plugin-adapter-repl koishi-plugin-adapter-mail koishi-plugin-switch koishi-plugin-autowithdraw koishi-plugin-emojimix koishi-plugin-spring-festival-ui koishi-plugin-gk-api koishi-plugin-rr-su-chat @tomlbz/koishi-plugin-openai koishi-plugin-rr-gpt koishi-plugin-a2b koishi-plugin-blame koishi-plugin-fake-msg koishi-plugin-poke-reply koishi-plugin-moyu2 koishi-plugin-lunatic koishi-plugin-mute-together koishi-plugin-rss koishi-plugin-status-pro koishi-plugin-search-bing koishi-plugin-lobby koishi-plugin-kbot koishi-plugin-steam koishi-plugin-npm-unused
列表
  • @koishijs/plugin-echo
  • koishi-plugin-feedback
  • koishi-plugin-forward
  • @koishijs/plugin-broadcast
  • koishi-plugin-verifier
  • koishi-plugin-shutdown
  • @koishijs/plugin-broadcast
  • @koishijs/plugin-callme
  • koishi-plugin-cron
  • @koishijs/plugin-recall
  • koishi-plugin-sudo
  • koishi-plugin-rryth
  • koishi-plugin-repeater
  • koishi-plugin-markdown
  • koishi-plugin-puppeteer
  • koishi-plugin-httpcat
  • koishi-plugin-crazy-thursday
  • koishi-plugin-hangman
  • koishi-plugin-guess-number
  • koishi-plugin-abbreviation
  • koishi-plugin-blockly
  • koishi-plugin-chess
  • koishi-plugin-cache-memory
  • koishi-plugin-dispose
  • koishi-plugin-bilibili
  • koishi-plugin-presence-wakatime
  • koishi-plugin-chat
  • koishi-plugin-booru
  • koishi-plugin-booru-pixiv
  • koishi-plugin-pixiv
  • koishi-plugin-booru-gelbooru
  • @ifrank/koishi-plugin-xibao
  • koishi-plugin-messages
  • koishi-plugin-marry
  • koishi-plugin-sleep-manage
  • koishi-plugin-changelog
  • koishi-plugin-hitokoto
  • koishi-plugin-spawn
  • koishi-plugin-eval
  • koishi-plugin-live2d
  • koishi-plugin-adapter-repl
  • koishi-plugin-adapter-mail
  • koishi-plugin-switch
  • koishi-plugin-autowithdraw
  • koishi-plugin-emojimix
  • koishi-plugin-spring-festival-ui
  • koishi-plugin-gk-api
  • koishi-plugin-rr-su-chat
  • @tomlbz/koishi-plugin-openai
  • koishi-plugin-rr-gpt
  • koishi-plugin-a2b
  • koishi-plugin-blame
  • koishi-plugin-fake-msg
  • koishi-plugin-poke-reply
  • koishi-plugin-moyu2
  • koishi-plugin-lunatic
  • koishi-plugin-mute-together
  • koishi-plugin-rss
  • koishi-plugin-status-pro
  • koishi-plugin-search-bing
  • koishi-plugin-lobby
  • koishi-plugin-kbot
  • koishi-plugin-steam
  • koishi-plugin-npm-unused
3 个赞

我想要的插件

  • 二维码解码
  • 词云
  • petpet
  • base64 编解码
  • encodeUri decodeUri
  • Unicode 码查
  • 能听懂中文的天气
  • 随机复读
  • 复读烫手山芋(不是复读的发言会引爆炸弹!
4 个赞

现在无需配置就可以热重载 koishi.yml 了,真不错

1 个赞

要使用 eval 插件需要在启动脚本中加入 --experimental-vm-modules

    "dev": "cross-env NODE_ENV=development koishi start -r esbuild-register -r yml-register --experimental-vm-modules",
    "start": "koishi start --experimental-vm-modules"
2 个赞


差点装错了

人生第一次使用 snap

1 个赞
  • 装了 Mongo 和激活了 Navicat
  • 申请了个 steam web api key
  • 很近的时间才知道 tmux 其实有和 screen 完全一样的用途,今天用了一下
1 个赞
  • blame 插件在我没加平台 id 的情况下会自己抛异常自己再接,然后无限循环爆破整个 node 的堆
  • bgmlist 和 gameinfo 插件都因为疑似风控发不出去,长文本和单图和合并转发都可以发
  • kbot 的群管做的真好,覆盖了退役的 switch 的功能
3 个赞

kot还有switch功能吗?我的没有诶uu

1 个赞

有的,你在 kbot 设置打开群管,在群管界面

4 个赞

竟然有这么方便的管理功能,学到了

配一张完整的群管图片

2 个赞
  • npm-unused 插件少带了个文件,反馈给 Koishi 之神修了
  • booru 插件的本地化文件大小写有问题,已经被键盘神修了,还没发版
  • bgmlist 插件不能用,疑似是 bgmlist.com 网页改版了,不再有代码中等待出现的 #app > main > div > header > a > span 元素
  • tmux 真的很好用
1 个赞

原来在这,我的侧边栏被折叠了没发现,感谢!

1 个赞

之前装了 rr-su-chat 一直没用,因为没看懂那个 isLoc 什么意思
今天更新到 0.2 打算试试,首先有 usage 好评

毫无疑问的开箱即用,延续了 openchat 的精神(有没有拜赛博佛祖的图

感觉比较有特色的地方在于可以自己预置不同人格的 prompt 然后切换

鼠GN 5/5

1 个赞

似乎如果分 guild 隔离上下文的话,用户名会被塞进对话里,产生一些奇怪的结果

1 个赞

安装了 imitate 插件,具体效果可能要过几天再看

1 个赞

安装了 systools 插件


image

感觉……没什么用
鼠GN 2/5

1 个赞

driftbottle


感觉很不错,但是我没有那么多机器人加了的群来用上,另外稍微担心炸群

2 个赞