神代綺凛

[开源] 二次元搜图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

667 comments

  1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 67.0.3396.99(Google Chrome 67.0.3396.99)
    这没意义啊
  2. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 67.0.3396.99(Google Chrome 67.0.3396.99)
    我用第三方的输入法倒是没有第一条问题(
    第二个问题提的好,我会考虑怎么解决
  3. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 67.0.3396.99(Google Chrome 67.0.3396.99)
    船新的竹竹,船新的BUG!
  4. Tatsumi  Windows 10(Windows 10) / Opera 53.0.2907.99(Opera 53.0.2907.99)
    这可以有!大佬中的大佬!
  5. 天空  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 66.0.3359.181(Google Chrome 66.0.3359.181)
    大概,这就是大佬吧
  6. goro  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 67.0.3396.62(Google Chrome 67.0.3396.62)
    请问这个机器人能做到保存QQ群里的发的所有图片这个功能吗,想自己买一个试试。或者有什么别的办法可以做到实时爬取QQ群图片的方案?
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 66.0.3359.181(Google Chrome 66.0.3359.181)
      @goro 可以,而且你需要的这个功能免费版就能实现,当然代码得自己写
      1. goro  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 67.0.3396.62(Google Chrome 67.0.3396.62)
        @神代綺凜 免费版是哪个啊,官网进去有两个版本。另外这个必须部署在WINDOWS上吗。博主是放在什么地方的。
        1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 66.0.3359.181(Google Chrome 66.0.3359.181)
          @goro 直接下的不用授权的就是免费版,酷Q Pro就是要钱的
          有Linux版
          我自己是放Windows服务器上的,方便管理
          1. goro  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 67.0.3396.62(Google Chrome 67.0.3396.62)
            @神代綺凜 感谢大佬
  7. Norlhx  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 55.0.2883.87(Google Chrome 55.0.2883.87)
    最近ssr ssh连接连续被封了好几个vps了,是混淆协议已经被gfw破解了?
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 66.0.3359.181(Google Chrome 66.0.3359.181)
      @Norlhx 没有,只是因为最近是MinGanShiQi,监管力度会很大,我这不是机场都封
  8. 秋霜烈日  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 65.0.3325.181(Google Chrome 65.0.3325.181)
    |´・ω・)ノhi,表示想要个mypcqq版本的插件咩,CQPro买不起2333(当废话啦)
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 65.0.3325.162(Google Chrome 65.0.3325.162)
      @秋霜烈日 原来还有个mypcqq的,而且授权好便宜的感觉……
      等授权过期了我可能考虑移植过去23333
      1. 秋霜烈日  Android 7.0(Android 7.0) / Google Chrome 65.0.3325.109(Google Chrome 65.0.3325.109)
        @神代綺凜 ( ๑´•ω•) 那就十分期待啦,主要是MPQ可以免费发图和卡片消息2333
        1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 65.0.3325.162(Google Chrome 65.0.3325.162)
          @秋霜烈日 那很好啊…… 不过问题是,酷q我直接买了一年的授权……
          好在sdk都是易语言,要移植也很容易
          1. 秋霜烈日  Android 7.0(Android 7.0) / Google Chrome 65.0.3325.109(Google Chrome 65.0.3325.109)
            @神代綺凜 2333直接一年海星
            咩移植啦请务必邮件通知我
            阿里嘎多dalao∠( ᐛ 」∠)_
            1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 65.0.3325.162(Google Chrome 65.0.3325.162)
              @秋霜烈日 可能会让你失望,就算移植也不会出插件开源啦,因为这玩意有很多问题涉及到我私人的解决方案,不能直接给了就用的
              1. 秋霜烈日  Android 7.0(Android 7.0) / Google Chrome 65.0.3325.109(Google Chrome 65.0.3325.109)
                @神代綺凜 欸移植和开源插件有关系咩?
                CQP和MPQ的插件都经过封装的
                咱只是想用dalao的插件2333
                1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 65.0.3325.162(Google Chrome 65.0.3325.162)
                  @秋霜烈日 到时候再看吧,如果我有心情去掉这些东西或者写个专门的设置面板的话
                  1. 秋霜烈日  Android 7.0(Android 7.0) / Google Chrome 65.0.3325.109(Google Chrome 65.0.3325.109)
                    @神代綺凜 ∠( ᐛ 」∠)_
                    咩那就期待啦
                    阿里嘎多dalao
  9. 明明  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
    现在可以付费申请机器人加群么
    1. 神代綺凜  Mac OS X(Mac OS X) / Safari(Safari)
      @明明 没有考虑过,收费并不在我做这个项目的初衷内
      主要是腾讯机制,导致机器人会出现一些无法预料的问题,所以目前不考虑再加新群
  10. SaberH  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
    建议加上iqdb 还是没高相似度的可以最后附加google搜图然后bot这边自己算算搜出来相似度 再喂回给saucenao/iqdb 实在没结果就返回google的 (来自某个已经被封了几个Q号转TG的搜图bot的辣鸡作者
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 65.0.3325.162(Google Chrome 65.0.3325.162)
      @SaberH 话说saucenao本来就含有iqdb的所有库了
      1. SaberH  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
        @神代綺凜 是这样的 但是我不清楚两者是否完全实时同步 所以还是全都轮一遍 从我连谷歌都要轮就看得出我多么闲着蛋疼 话说搜doujinshi的方便分享下思路吗 (ascii2d/yandex已考虑
        1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 65.0.3325.162(Google Chrome 65.0.3325.162)
          @SaberH 没考虑过……
          1. SaberH  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
            @神代綺凜 所以说也是靠saucenao?
            1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 65.0.3325.162(Google Chrome 65.0.3325.162)
              @SaberH 没必要搞太复杂
              1. SaberH  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
                @神代綺凜 我还特殊针对了K岛的求物版和日本某个详细希望里,但是效果还是不够理想 嘛,做到像whatanime的程度本来也不可能
    2. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 65.0.3325.162(Google Chrome 65.0.3325.162)
      @SaberH 精彩
  11. Tabby.  Android 5.1.1(Android 5.1.1) / IBrowse r(IBrowse r)
    大佬666
  12. 变态鹅  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
    噗噗噗,羡慕哭,rbq,不过鹅鹅没有额外的qq了,要不然玩玩了#(滑稽)
    1. 变态鹅  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
      @变态鹅 噗噗噗,不是支持md?为什么rbq没有勾掉,哭哭惹
      1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
        @变态鹅 现在有了,我没在评论允许的html标签里允许del标签所以解析出来之后被过滤掉了
  13. Misachu  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
    出BUG了么?一直反馈
    搜索失败惹 QAQ
    有可能是服务器网络原因,请尝试重试一次_(:3」∠)_
    如果还是失败,那可能是出BUG了,请找智障作者反馈→QQ122680216
    1. Misachu  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
      @Misachu 我才咩有说智障呢。
      1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
        @Misachu 23333(这个评论的md貌似有些格式被覆盖掉了所以看不出来)
    2. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 63.0.3239.132(Google Chrome 63.0.3239.132)
      @Misachu 加一下我Q
      1. 鸡腿堡  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 64.0.3282.140(Google Chrome 64.0.3282.140)
        @神代綺凜 大佬q是多少
        1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 65.0.3325.162(Google Chrome 65.0.3325.162)
          @鸡腿堡 不是都写着了么