神代綺凛

[开源] 二次元搜图QQ机器人
因酷Q停止运营,本项目已转为依赖 go-cqhttp R.I.P. CoolQ
扫描右侧二维码阅读全文
13
2018/07

[开源] 二次元搜图QQ机器人

因酷Q停止运营,本项目已转为依赖 go-cqhttp

R.I.P. CoolQ

Head Pic: 「第六駆逐隊」/「ふわり」のイラスト [pixiv]

搜图机器人

QQ:*

抱歉,因各种复杂的原因,本体已经转为私用,现已不再公开允许加好友或群,有兴趣可自行部署玩耍

开源

项目最初是使用酷Q的易语言 SDK 开发,后使用 Node.js 重写并开源

开源版本不含咬人功能,因为懒得移植了……

用法及功能

请见 GitHub README 以及 wiki

示例

普通搜图

利用 ascii2d 搜索局部图

搜番

搜本子

搬瓦工VPS优惠套餐,建站稳如狗,支持支付宝,循环出账94折优惠码BWH3HYATVBJW
年付$47CN2线路,1核/1G内存/20G硬盘/1T@1Gbps【点击购买
季付$47CN2 GIA线路,1核/1G内存/20G硬盘/1T@2.5Gbps【点击购买
Last modification:July 21st, 2022 at 10:15 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment Cancel reply

667 comments

  1. zetalpha  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 62.0.3202.97(Google Chrome 62.0.3202.97)
    有tg的机器人版本吗?
    tg几个都试了不太好用
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 70.0.3538.102(Google Chrome 70.0.3538.102)
      @zetalpha 没有,但可以移植,这是后话了
  2. 楼顶的猫  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3493.3(Google Chrome 69.0.3493.3)
    尝试了一波,并没有成功,还请大佬把GitHub上的文档写详细一点 ..........
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 70.0.3538.77(Google Chrome 70.0.3538.77)
      @楼顶的猫 就是 酷Q->CQ HTTP->本程序 呀
  3.   Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 49.0.2623.87(Google Chrome 49.0.2623.87)
    大佬,我看见一个机器人2131406931应该就是用你的项目做的,不过搜图模式下连熊猫头那种表情图都能搜出来,这是用了什么方法啊,自己添加的js嘛?
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 70.0.3538.77(Google Chrome 70.0.3538.77)
      @枫 只是碰巧网络上有人传表情图而已,搜图最主要的作用是搜来源于p站/推特的图以及cos
      所有的搜图都利用saucenao
  4. 七曜星痕  Windows 10 x64 Edition(Windows 10 x64 Edition) / Yandex Browser 18.9.1.954(Yandex Browser 18.9.1.954)
    私聊30次是指群里私聊还是加了好友的单聊……另外坐等恢复加群功能
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 70.0.3538.77(Google Chrome 70.0.3538.77)
      @七曜星痕 好友
      恢复加群是不可能的了,因为QQ有群上限
  5. A  Android 8.0.0(Android 8.0.0) / Google Chrome 70.0.3538.80(Google Chrome 70.0.3538.80)
    大佬有那种设定好时间就能主动给我发消息提醒的类似助理功能的机器人吗?还有这种机器人上哪去找?
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3497.100(Google Chrome 69.0.3497.100)
      @A 那么你为什么不用系统自带的提醒呢……
      1. A  Android 8.0.0(Android 8.0.0) / Google Chrome 70.0.3538.80(Google Chrome 70.0.3538.80)
        @神代綺凜 感觉在QQ上接收提醒更人性化,有些不是很重要的事情设置闹钟会感觉压力好大。
  6. 真央  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.26(Google Chrome 63.0.3239.26)
    大大可以弄个概率按复读次数增长增高禁言复读机的插件吗୧(๑•̀⌄•́๑)૭
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3497.100(Google Chrome 69.0.3497.100)
      @真央 在后续计划中
  7. LoneFireBlossom  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3497.100(Google Chrome 69.0.3497.100)
    报个(可能的)问题,给竹竹发送其中的图片后,得到的结果如截图所示,这个链接在电脑上显示“需要用手机qq查看”而且也没有复制链接的按钮,在安卓手机和ipad上下载了qq浏览器也打不开这个链接。
    链接:https://pan.baidu.com/s/1tmgXwRMEgwzWJ_N2g8_UWA 密码:1gm1
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3497.100(Google Chrome 69.0.3497.100)
      @LoneFireBlossom 这并不是bug,因为原结果本来就没有链接
      你可以到 http://saucenao.com 上用这张图搜索试试,出来的匹配结果是没有出处的
      后续版本我对这种情况加一些提示之类的吧
      1. LoneFireBlossom  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3497.100(Google Chrome 69.0.3497.100)
        @神代綺凜 谢谢解惑。
  8. 都督  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 69.0.3497.100(Google Chrome 69.0.3497.100)
    看完 發現 完不懂怎麼用啊 大佬 (╯‵□′)╯︵┴─┴
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3497.100(Google Chrome 69.0.3497.100)
      @都督 救不了了
  9. 余生  Android 5.1(Android 5.1) / Google Chrome 57.0.2987.108(Google Chrome 57.0.2987.108)
    允许我加入我自己的机器人插件里吗?会不会骂我盗版?
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3497.100(Google Chrome 69.0.3497.100)
      @余生 注明功能来源即可
  10. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3497.81(Google Chrome 69.0.3497.81)
    id指的是什么
    1. Formateur  Windows 10 x64 Edition(Windows 10 x64 Edition) / Maxthon 5.2.3.4000(Maxthon 5.2.3.4000)
      @神代綺凜 我去看了下saucenao搜到的图有一个【dA ID: xxxxxxx】,他可能说的是这个
  11. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
    好像邮件提醒没问题来着(
  12. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
    呃,那可能压力有点大……
  13. 纯亦  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
    该评论仅登录用户及评论双方可见
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
      @纯亦 能把本子图片发我一下来测试吗,发我邮箱就行
      1. 纯亦  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
        @神代綺凜 我....我忘记了....我仔细找找
  14. 围观群众  Android 8.0.0(Android 8.0.0) / IBrowse r(IBrowse r)
    碰到过几次bug
    搜本子图时能搜到图
    返回的链接的缩略图也正确
    但是点开链接后却发现是另一部漫画
    这个情况碰到了好几次
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
      @围观群众 能提供一下出错的图片吗
      https://sm.ms/
      去这里上传然后把链接发到评论(私密)
      1. 围观群众  Android 8.0.0(Android 8.0.0) / IBrowse r(IBrowse r)
        @神代綺凜 我研究了一下发现……
        我找的是一个单行本的图……
        返回的nhentai打开却是一部短篇
        我找了一下发现……
        那个短篇的名字就是单行本的名字……
        那个单行本包含的链接返回的短篇和我搜索的图片……
        1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
          @围观群众 重名就没办法了,因为识图也是只能拿到名字的,我这里只是多加了一部把名字拿到nhentai搜索然后取第一个搜索结果的链接
  15. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
    问题修复了,而且后来想了想显示短链接也蛮好的……
  16. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
    这个倒是好办,那我直接显示pid不显示链接就行了(
  17. 神代綺凜  Mac OS X(Mac OS X) / Safari(Safari)
    这个bug我已经发现了,会研究修复
    短链接感觉就不是很必要了其实。。
  18. 纯亦  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 67.0.3396.99(Google Chrome 67.0.3396.99)
    那个,有没有打算在telegram上也弄个类似的机器人?
    我觉得QQ这个机器人马上要阵亡了,先不说腾讯不支持机器人
    关键是你这个是可以搜本子的...吃枣药丸啊
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.75(Google Chrome 68.0.3440.75)
      @纯亦 药丸了再说吧,炸了我就移植去tg
  19. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 67.0.3396.99(Google Chrome 67.0.3396.99)
    可以,我声明了GPL3.0协议,代码开源,可以免费使用和引用,修改、衍生代码的也必须开源、免费使用,但不允许修改后和衍生的代码做为闭源的商业软件发布和销售
  20. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 67.0.3396.99(Google Chrome 67.0.3396.99)
    那干嘛不直接再跑个竹竹,我甚至都开源了