
GodHook
Xposed插件:1.通过http请求各种APP的函数;2.大模型自动回复;3.订阅每日新闻、每日天气、鸡汤等;#微信机器人 #自动回复 #AI聊天 #运维告警 #Deepseek #Qwen #智普 #Silicon
Stars: 110

GodHook is an Xposed module that integrates various fun features, including automatic replies with support for multiple AI language models, subscription functionality for daily news, inspirational quotes, and weather updates, as well as interface functions to execute host app message functions for operations alerts and data push scenarios. It also offers various other features waiting to be explored. The module is designed for learning and communication purposes only and should not be used for malicious purposes. It requires technical knowledge to configure API model information and aims to lower the technical barrier for wider usage in the future.
README:
✨一个集成了各种好玩功能的Xposed模块 ✨
- 自动回复:支持多种AI语言大模型,如DeepSeek、Qwen、Silicon等;
- 订阅功能:定时09:30am,推送每日新闻、毒鸡汤、每日天气等你想到的功能;
- 接口功能: 通过访问api,执行宿主APP的消息函数,用于运维告警、数据推送等场景;
- 各种新功能,待挖掘...
#微信机器人 #自动回复 #AI聊天 #运维告警 #Deepseek #Qwen #智普 #Silicon
当前已适配谷歌版:wx8.0.49(2681)、wx8.0.49(2685)、wx8.0.48(2589)、wx8.0.48(2588),后续适配wx更多play版本。 网友收集的各APP版本,移步自行找到对应版本:网盘链接
2025-02-23 17:45:34 更新
8.0.48用这个、8.0.48_2588在issue有网友已发,自己找。
模块测试过很多情况了,百分一千是可用的;不会配置api模型信息的,就先用postman调通,再进模块首页配置
使用该模块有技术门槛,后续将会尽量降低门槛,让更多人会使用
- 在GodHook界面无法调通API
答:需要有点技术底子。建议用postman测试可用之后,再来GodHook配置;也有可能是deepseek接口偶尔会超时造成"nnbs返回错误",建议使用silicon或者qwen来测试。
- #指令可以正确返回消息,但是私聊无法返回消息
答:在当前聊天框发送【#聊天室ID】,查看返回的ID是否为wxid_xxx,如果不是,那就是不支持,后续会优化;因为当前仅支持wxid_xxx的ID,对老号不太友好。
- 返回提示“api为空”的暂时解决方案:
回复指令进行设置(逐个复制,不要一起复制): #API:https://xxxxxxxxxxxxxx #KEY:sk-xxxxxxxxxxxxxxxxxx #模型:xxxxxxxxxxxxxxxxxxxx #触发:@xxxxx #缓存:10 设置成功,重启宿主APP,发送指令【#机器人信息】进行检查。
本项目仅供学习交流,请勿倒卖恶意打包,使用本模块后请24小时内删除
本模块仅适配Lsposed
,不适配opatch
或者lspatch
,如果使用opatch
或者lspatch
出现问题请不要在群里提问
使用步骤:
- 在GodHook App首页中,配置大模型信息;并测试成功;
- 重启wx,绑定需要生效的聊天框:到你想要的聊天框中发送【#绑定聊天室】;
- 如果聊天室是私聊窗口,那就可以直接聊天;如果是群聊,需要在第一步骤的时候设置生效关键词;
- 上述的关键词,可以是机器人的wx名称,如机器人的wx名称是【快乐小狗】,那就第一步骤设置的时候就设置【@快乐小狗】
- 在群聊中,成员@快乐小狗,机器人才被触发。
涉及到的指令:
功能描述 指令 备注 绑定对应的聊天室 #绑定聊天室 可以是私聊,可以是群聊 测试可用性 @测试 默认关键词,用于测试机器人是否可用 单独聊天室调教机器人 #调教:我是一个快乐的助手,喜欢说笑,爱关心人... 不同的聊天室,可以设置不同性格的机器人 恢复默认调教 #默认调教 希望该聊天室的调教恢复成在Godhook中设定的 不需要关键词触发 #无需艾特 在群聊中觉得每次@机器人觉得麻烦,可以用此指令 恢复成需要关键词触发 #需艾特 群成员太多,担心机器人回答不过来,所以需要@才触发 查看机器人信息 #机器人信息 一般信息会回复在当前聊天室,重要信息会在【文件传输助手】
模型API和Key格式:
配置模板:
API:https://api.siliconflow.cn/v1/chat/completions
模型:Qwen/Qwen2.5-7B-Instruct
key格式:sk-xxx
API:https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions
模型qwen-turbo-1101
key格式:sk-xxx
API:https://open.bigmodel.cn/api/paas/v4/chat/completions
模型:glm-4-flash
key格式:无需sk-xxx
API:https://api.deepseek.com/chat/completions
模型:deepseek-chat
key格式:sk-xxx
对应的key,自己去相应的模型网站申请吧,当前不建议使用deepseek,有时候它的API会超时不可用。
使用步骤:
前三步骤同上述功能1一模一样
- 在GodHook App首页中,配置大模型信息;并测试成功;(前提)
- 重启wx,绑定需要生效的聊天框:到你想要的聊天框中发送【#绑定聊天室】;
- 如果聊天室是私聊窗口,那就可以直接聊天;如果是群聊,需要在第一步骤的时候设置生效关键词;
- 发送【#订阅:xxx】即可订阅xxx业务;xxx任你喜欢,可以是每日新闻、最新科技、北京天气、每日毒鸡汤等等等...
涉及到的指令:
功能描述 指令 备注 订阅功能(需要配置大模型) #订阅:每日60s
#订阅:XX天气
#订阅:今日鸡汤
#订阅:XXX(你想要的)更多指令:
#取消订阅:每日60s
#取消订阅:XX天气
#取消全部订阅
#当前订阅
使用步骤:
- 绑定聊天室:在你需要的聊天框中发送【#绑定聊天室】
- 获取wxIds:在聊天室中发送【#聊天室ID】
- 把聊天室ID替换到下述API中,在浏览器中请求,即可推送消息到该聊天室
API:http://IP:5888/?wxIds=['聊天室ID_1','聊天室ID_2']&msg=消息
参数 说明 IP:5888 手机局域网IP+端口 如果不懂手机的本地IP,不建议往下折腾。 wxIds 这是一个集合,聊天室ID的集合列表 聊天室是什么,下面有说明 msg 文字消息 推送到指定聊天室的消息,当前仅支持文字
待办:
- [ ] 发布一篇帖子:如何使用magisk-frp模块,通过公网请求内网API?(即任何地方都可以通过公网请求API,从而执行发送消息操作)
- [ ] 留一个帖子让大家留言bug;或者点击本APP右上角进入群聊留言;亦或在Github上提issue;
- [ ] 有时间再整作用域更多APP
聊天室是什么?
即:私聊窗口、群聊窗口、文件传输助手 比如本APP登录的WX作为机器人,该WX的好友或者群聊在聊天时候的窗口,就是聊天室。
聊天室ID:私聊窗口(wxid_xxxxxxx)、群聊窗口(xxxxx@chatroom)、文件传输助手(filexxxxx) 聊天室ID本质就是用户的wxid或者群聊的id...
需要使用本机器人,就一定要进行绑定聊天室
在聊天室发送指令
#绑定聊天室
既可绑定该聊天室ID=>wxIds取消机器人服务
在聊天室发送
#解绑聊天室
既可删除该聊天室ID=>wxIds
功能描述 | 发送指令 | 备注 |
---|---|---|
机器人绑定聊天室 | #绑定聊天室 | |
机器人解绑聊天室 | #解绑聊天室 | |
查询本聊天室ID | #聊天室ID | 对于开发者使用api:用于发送消息到指定聊天室 |
查询已绑定的聊天室(管理员) | #当前聊天室 | |
解绑全部机器人(管理员) | #解绑全部聊天室 | 相当于清空业务,重新开始 |
查询API使用方法(管理员) | #API说明 | 返回简单的使用说明 |
进群欢迎(管理员) | #进群欢迎语: 欢迎进群,群内规则: 1.xx; 2xxx; |
\n是换行符,不要打出来 |
查询本群欢迎语(管理员) | #查询本群欢迎语 | |
取消群组欢迎语(管理员) | #取消本群欢迎语 | |
订阅功能(需要配置大模型) | #订阅:每日60s #订阅:XX天气 #订阅:今日鸡汤 #订阅:XXX(你想要的) |
更多指令: #取消订阅:每日60s #取消订阅:XX天气 #取消全部订阅 #当前订阅 |
群成员需要被@ | #需求:xxx | #艾特我:xxx | 如果推送的消息内容中存在xxx,则@发出该指令的群成员 |
群成员查询自己的@ | #我的需求 | #我的艾特 | 群成员查询自己设置过的关键字 |
绑定对应的聊天室 | #绑定聊天室 | 可以是私聊,可以是群聊 |
测试可用性 | @测试 | 默认关键词,用于测试机器人是否可用 |
单独聊天室调教机器人 | #调教:我是一个快乐的助手,喜欢说笑,爱关心人... | 不同的聊天室,可以设置不同性格的机器人 |
恢复默认调教 | #默认调教 | 希望该聊天室的调教恢复成在Godhook中设定的 |
不需要关键词触发 | #无需艾特 | 在群聊中觉得每次@机器人觉得麻烦,可以用此指令 |
恢复成需要关键词触发 | #需艾特 | 群成员太多,担心机器人回答不过来,所以需要@才触发 |
查看机器人信息 | #机器人信息 | 一般信息会回复在当前聊天室,重要信息会在【文件传输助手】 |
待定
源仓库:https://github.com/Szymou/GodHook
For Tasks:
Click tags to check more tools for each tasksFor Jobs:
Alternative AI tools for GodHook
Similar Open Source Tools

GodHook
GodHook is an Xposed module that integrates various fun features, including automatic replies with support for multiple AI language models, subscription functionality for daily news, inspirational quotes, and weather updates, as well as interface functions to execute host app message functions for operations alerts and data push scenarios. It also offers various other features waiting to be explored. The module is designed for learning and communication purposes only and should not be used for malicious purposes. It requires technical knowledge to configure API model information and aims to lower the technical barrier for wider usage in the future.

ai-app
The 'ai-app' repository is a comprehensive collection of tools and resources related to artificial intelligence, focusing on topics such as server environment setup, PyCharm and Anaconda installation, large model deployment and training, Transformer principles, RAG technology, vector databases, AI image, voice, and music generation, and AI Agent frameworks. It also includes practical guides and tutorials on implementing various AI applications. The repository serves as a valuable resource for individuals interested in exploring different aspects of AI technology.

pmhub
PmHub is a smart project management system based on SpringCloud, SpringCloud Alibaba, and LLM. It aims to help students quickly grasp the architecture design and development process of microservices/distributed projects. PmHub provides a platform for students to experience the transformation from monolithic to microservices architecture, understand the pros and cons of both architectures, and prepare for job interviews. It offers popular technologies like SpringCloud-Gateway, Nacos, Sentinel, and provides high-quality code, continuous integration, product design documents, and an enterprise workflow system. PmHub is suitable for beginners and advanced learners who want to master core knowledge of microservices/distributed projects.

Tiktoken
Tiktoken is a high-performance implementation focused on token count operations. It provides various encodings like o200k_base, cl100k_base, r50k_base, p50k_base, and p50k_edit. Users can easily encode and decode text using the provided API. The repository also includes a benchmark console app for performance tracking. Contributions in the form of PRs are welcome.

llms-from-scratch-cn
This repository provides a detailed tutorial on how to build your own large language model (LLM) from scratch. It includes all the code necessary to create a GPT-like LLM, covering the encoding, pre-training, and fine-tuning processes. The tutorial is written in a clear and concise style, with plenty of examples and illustrations to help you understand the concepts involved. It is suitable for developers and researchers with some programming experience who are interested in learning more about LLMs and how to build them.

WeClone
WeClone is a tool that fine-tunes large language models using WeChat chat records. It utilizes approximately 20,000 integrated and effective data points, resulting in somewhat satisfactory outcomes that are occasionally humorous. The tool's effectiveness largely depends on the quantity and quality of the chat data provided. It requires a minimum of 16GB of GPU memory for training using the default chatglm3-6b model with LoRA method. Users can also opt for other models and methods supported by LLAMA Factory, which consume less memory. The tool has specific hardware and software requirements, including Python, Torch, Transformers, Datasets, Accelerate, and other optional packages like CUDA and Deepspeed. The tool facilitates environment setup, data preparation, data preprocessing, model downloading, parameter configuration, model fine-tuning, and inference through a browser demo or API service. Additionally, it offers the ability to deploy a WeChat chatbot, although users should be cautious due to the risk of account suspension by WeChat.

DISC-LawLLM
DISC-LawLLM is a legal domain large model that aims to provide professional, intelligent, and comprehensive **legal services** to users. It is developed and open-sourced by the Data Intelligence and Social Computing Lab (Fudan-DISC) at Fudan University.

Chinese-LLaMA-Alpaca
This project open sources the **Chinese LLaMA model and the Alpaca large model fine-tuned with instructions**, to further promote the open research of large models in the Chinese NLP community. These models **extend the Chinese vocabulary based on the original LLaMA** and use Chinese data for secondary pre-training, further enhancing the basic Chinese semantic understanding ability. At the same time, the Chinese Alpaca model further uses Chinese instruction data for fine-tuning, significantly improving the model's understanding and execution of instructions.

BlueLM
BlueLM is a large-scale pre-trained language model developed by vivo AI Global Research Institute, featuring 7B base and chat models. It includes high-quality training data with a token scale of 26 trillion, supporting both Chinese and English languages. BlueLM-7B-Chat excels in C-Eval and CMMLU evaluations, providing strong competition among open-source models of similar size. The models support 32K long texts for better context understanding while maintaining base capabilities. BlueLM welcomes developers for academic research and commercial applications.

XiaoFeiShu
XiaoFeiShu is a specialized automation software developed closely following the quality user rules of Xiaohongshu. It provides a set of automation workflows for Xiaohongshu operations, avoiding the issues of traditional RPA being mechanical, rule-based, and easily detected. The software is easy to use, with simple operation and powerful functionality.

MedicalGPT
MedicalGPT is a training medical GPT model with ChatGPT training pipeline, implement of Pretraining, Supervised Finetuning, RLHF(Reward Modeling and Reinforcement Learning) and DPO(Direct Preference Optimization).

gpt_server
The GPT Server project leverages the basic capabilities of FastChat to provide the capabilities of an openai server. It perfectly adapts more models, optimizes models with poor compatibility in FastChat, and supports loading vllm, LMDeploy, and hf in various ways. It also supports all sentence_transformers compatible semantic vector models, including Chat templates with function roles, Function Calling (Tools) capability, and multi-modal large models. The project aims to reduce the difficulty of model adaptation and project usage, making it easier to deploy the latest models with minimal code changes.

AstrBot
AstrBot is a powerful and versatile tool that leverages the capabilities of large language models (LLMs) like GPT-3, GPT-3.5, and GPT-4 to enhance communication and automate tasks. It seamlessly integrates with popular messaging platforms such as QQ, QQ Channel, and Telegram, enabling users to harness the power of AI within their daily conversations and workflows.

MindChat
MindChat is a psychological large language model designed to help individuals relieve psychological stress and solve mental confusion, ultimately improving mental health. It aims to provide a relaxed and open conversation environment for users to build trust and understanding. MindChat offers privacy, warmth, safety, timely, and convenient conversation settings to help users overcome difficulties and challenges, achieve self-growth, and development. The tool is suitable for both work and personal life scenarios, providing comprehensive psychological support and therapeutic assistance to users while strictly protecting user privacy. It combines psychological knowledge with artificial intelligence technology to contribute to a healthier, more inclusive, and equal society.

go-cyber
Cyber is a superintelligence protocol that aims to create a decentralized and censorship-resistant internet. It uses a novel consensus mechanism called CometBFT and a knowledge graph to store and process information. Cyber is designed to be scalable, secure, and efficient, and it has the potential to revolutionize the way we interact with the internet.

stylellm_models
**stylellm** is a text style transfer project based on large language models (llms). The project utilizes large language models to learn the writing style of specific literary works (commonly used vocabulary, sentence structure, rhetoric, character dialogue, etc.), forming a series of specific style models. Using the **stylellm** model, the learned style can be transferred to other general texts, that is: input a piece of original text, the model can rewrite it, output text with the characteristics of that style, achieving the effect of text modification,润色or style imitation.
For similar tasks

GodHook
GodHook is an Xposed module that integrates various fun features, including automatic replies with support for multiple AI language models, subscription functionality for daily news, inspirational quotes, and weather updates, as well as interface functions to execute host app message functions for operations alerts and data push scenarios. It also offers various other features waiting to be explored. The module is designed for learning and communication purposes only and should not be used for malicious purposes. It requires technical knowledge to configure API model information and aims to lower the technical barrier for wider usage in the future.
For similar jobs

sweep
Sweep is an AI junior developer that turns bugs and feature requests into code changes. It automatically handles developer experience improvements like adding type hints and improving test coverage.

teams-ai
The Teams AI Library is a software development kit (SDK) that helps developers create bots that can interact with Teams and Microsoft 365 applications. It is built on top of the Bot Framework SDK and simplifies the process of developing bots that interact with Teams' artificial intelligence capabilities. The SDK is available for JavaScript/TypeScript, .NET, and Python.

ai-guide
This guide is dedicated to Large Language Models (LLMs) that you can run on your home computer. It assumes your PC is a lower-end, non-gaming setup.

classifai
Supercharge WordPress Content Workflows and Engagement with Artificial Intelligence. Tap into leading cloud-based services like OpenAI, Microsoft Azure AI, Google Gemini and IBM Watson to augment your WordPress-powered websites. Publish content faster while improving SEO performance and increasing audience engagement. ClassifAI integrates Artificial Intelligence and Machine Learning technologies to lighten your workload and eliminate tedious tasks, giving you more time to create original content that matters.

chatbot-ui
Chatbot UI is an open-source AI chat app that allows users to create and deploy their own AI chatbots. It is easy to use and can be customized to fit any need. Chatbot UI is perfect for businesses, developers, and anyone who wants to create a chatbot.

BricksLLM
BricksLLM is a cloud native AI gateway written in Go. Currently, it provides native support for OpenAI, Anthropic, Azure OpenAI and vLLM. BricksLLM aims to provide enterprise level infrastructure that can power any LLM production use cases. Here are some use cases for BricksLLM: * Set LLM usage limits for users on different pricing tiers * Track LLM usage on a per user and per organization basis * Block or redact requests containing PIIs * Improve LLM reliability with failovers, retries and caching * Distribute API keys with rate limits and cost limits for internal development/production use cases * Distribute API keys with rate limits and cost limits for students

uAgents
uAgents is a Python library developed by Fetch.ai that allows for the creation of autonomous AI agents. These agents can perform various tasks on a schedule or take action on various events. uAgents are easy to create and manage, and they are connected to a fast-growing network of other uAgents. They are also secure, with cryptographically secured messages and wallets.

griptape
Griptape is a modular Python framework for building AI-powered applications that securely connect to your enterprise data and APIs. It offers developers the ability to maintain control and flexibility at every step. Griptape's core components include Structures (Agents, Pipelines, and Workflows), Tasks, Tools, Memory (Conversation Memory, Task Memory, and Meta Memory), Drivers (Prompt and Embedding Drivers, Vector Store Drivers, Image Generation Drivers, Image Query Drivers, SQL Drivers, Web Scraper Drivers, and Conversation Memory Drivers), Engines (Query Engines, Extraction Engines, Summary Engines, Image Generation Engines, and Image Query Engines), and additional components (Rulesets, Loaders, Artifacts, Chunkers, and Tokenizers). Griptape enables developers to create AI-powered applications with ease and efficiency.