All Projects → thx114 → fthx-bot

thx114 / fthx-bot

Licence: AGPL-3.0 license
/色图 以图搜图 明日方舟关卡物品查询/基于mirai - Graia

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to fthx-bot

Application
一个可自定义的,基于Graia和Mirai的集群管、功能、娱乐为一体的QQ插件式机器人
Stars: ✭ 55 (+243.75%)
Mutual labels:  mirai, mirai-api-http
Ariadne
一个优雅且完备的 Python QQ 自动化框架,基于 Mirai API HTTP v2。 Powered by Graia Project.
Stars: ✭ 234 (+1362.5%)
Mutual labels:  mirai, mirai-api-http
Mirai.Net
Mirai.Net是基于mirai-api-http实现的轻量级mirai社区sdk。
Stars: ✭ 132 (+725%)
Mutual labels:  mirai, mirai-api-http
ABot-Graia
一个使用 Graia Ariadne 搭建的 QQ 功能性机器人。
Stars: ✭ 194 (+1112.5%)
Mutual labels:  mirai, mirai-api-http
vade-mecum-shelf
Collection of vade mecum-like utilities wrapped into one single app, built with Electron.
Stars: ✭ 33 (+106.25%)
Mutual labels:  application
Random-Name-Picker
Simple, beautiful Android app to help you choose from a list of names at random. Downloaded 560,000+ times on Google Play with a 4.5+ rating after 3,500+ reviews.
Stars: ✭ 37 (+131.25%)
Mutual labels:  application
EOSFTPServer
A project to create a complete, standard compliant, multi-user, Objective-C (Mac OS X / iOS) FTP server.
Stars: ✭ 35 (+118.75%)
Mutual labels:  application
FuyaoBot
A QQ bot bases on Mirai, Spring Boot, MySQL and Mybatis Plus.
Stars: ✭ 30 (+87.5%)
Mutual labels:  mirai
frontend-clean-architecture
React + TypeScript app built using the clean architecture principles in a more functional way · 🧼 🏛 🍪
Stars: ✭ 1,816 (+11250%)
Mutual labels:  application
iGap-iOS
iGap Client for iOS Source Code
Stars: ✭ 18 (+12.5%)
Mutual labels:  application
receipt-manager-app
Receipt parser application written in dart.
Stars: ✭ 140 (+775%)
Mutual labels:  application
podhouse
The best way to listen to your favorite podcasts.
Stars: ✭ 39 (+143.75%)
Mutual labels:  application
J-Curry
A Java library that enables applying Functional Programming concepts like currying and partial application for functions, also it supports types like Either, Try, etc... using RxJava 2 interfaces, compatible with Java 7 and above
Stars: ✭ 17 (+6.25%)
Mutual labels:  application
mirai
The Mirai malware modified for use on NCL/a virtual/simulated environment.
Stars: ✭ 32 (+100%)
Mutual labels:  mirai
jpass
🔐 Password manager application with strong encryption (AES-256). [Java/Swing]
Stars: ✭ 129 (+706.25%)
Mutual labels:  application
MADBike
This is the public repository of the MADBike app for iOS. Public bike rental service for BiciMAD.
Stars: ✭ 23 (+43.75%)
Mutual labels:  application
Equinox
🌇 🌃 Create dynamic wallpapers for macOS.
Stars: ✭ 737 (+4506.25%)
Mutual labels:  application
figwrapper
Figwrapper is a script that fully integrates the Figma design tool (web version) into a complete app for Linux with local font support.
Stars: ✭ 13 (-18.75%)
Mutual labels:  application
mirai-setu
一个mirai-console的简单的色图插件
Stars: ✭ 105 (+556.25%)
Mutual labels:  mirai
quentier
Cross-platform desktop Evernote client
Stars: ✭ 115 (+618.75%)
Mutual labels:  application

fthx-bot

这是一个使用Mirai,Application/Graia Framework编写的机器人

他能做什么

  • 色图相关(lolicon + 色图池缓存 + 本地|xml、搜图)
  • p站排行榜
  • 以图搜图(saucenao与ascii2d)
  • 明日方舟关卡掉落,物品查询(企鹅物流,生成图文表格)
  • 十分优美的文字转图片系统(toimg)

todos:

  • 查看色图详情(多p)
  • 独立的info查询
  • p站搜图

此项目是我边学边做的产物,实际代码可能看了会吐血,会在未来慢慢重写

使用

1.安装Graia Application以及前置包括mirai等

2.git clone https://github.com/thx114/fthx-bot.git

3.pip install -r requirements.txt

4.在runtimetext.py里按照注释写入相应的信息

5.启动bot.py

注意:

xml色图:

大量发送xml可能导致被风控,因为使用外链图片不会被和谐

autopng.py:

一个toimg()的程序版本,方便调试

色图:

获取的色图会第一时间发出去,并存放在文件夹中,当api色图用完时使用本地色图

关于配置文件:

runtimetext.py中:

fl1:中文字体,将文字写入图片时中文采用的字体 (我使用的是*ResourceHanRoundedCN-Heavy

fl2:英文字体,将文字写入图片时英文采用的字体,该字体宽度应是中文字体的一半 (我使用的是*GenShinGothic-Monospace-Heavy

lolicon_keysaucenao_key 需要自行获取并填入

cfg.json中:

这里的东西基本不用太动,大部分都是用指令修改

许可证

使用 GNU AGPLv3 作为本项目的开源许可证

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].