{"id":18021297,"url":"https://github.com/FishPiOffical/fishpi-pyclient","last_synced_at":"2025-03-26T22:30:42.845Z","repository":{"id":156063427,"uuid":"443731355","full_name":"FishPiOffical/fishpi-pyclient","owner":"FishPiOffical","description":"摸鱼派聊天室python客户端 ｜🥷 账号多开 ｜💗免密登陆 ｜ ❤️丰富的快捷命令 ｜🌈自定义字体颜色 ｜🧧 红包脚本 ｜ 配置导出","archived":false,"fork":false,"pushed_at":"2025-01-25T05:27:39.000Z","size":371,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T14:22:22.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FishPiOffical.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-02T09:54:25.000Z","updated_at":"2025-01-25T05:24:54.000Z","dependencies_parsed_at":"2024-01-03T05:53:43.538Z","dependency_job_id":"19c1f1ee-2456-405a-99ad-5ceb4390b601","html_url":"https://github.com/FishPiOffical/fishpi-pyclient","commit_stats":null,"previous_names":["gakkiyomi/fishpi-pyclient","gakkiyomi/pwl-chat-python","fishpioffical/fishpi-pyclient"],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FishPiOffical%2Ffishpi-pyclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FishPiOffical%2Ffishpi-pyclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FishPiOffical%2Ffishpi-pyclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FishPiOffical%2Ffishpi-pyclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FishPiOffical","download_url":"https://codeload.github.com/FishPiOffical/fishpi-pyclient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245747422,"owners_count":20665789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T06:09:27.483Z","updated_at":"2025-03-26T22:30:42.837Z","avatar_url":"https://github.com/FishPiOffical.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![摸鱼派cn.png](https://b3logfile.com/file/2023/05/摸鱼派-cn-owZQT8f.png)\n\n# fishpi-pyclient\n\n\u003e 摸鱼派聊天室 python 命令行客户端\n\n基于摸鱼打工人社区——摸鱼派开放 API 开发的摸鱼派聊天室 python 客户端程序，可以在里面边写 Bug 边愉快地吹水摸鱼。\n全平台客户端支持，支持一键docker部署。\n## 功能\n- 全平台支持\n  - [x] Windows\n  - [x] macOS\n  - [x] linux\n  - [x] docker\n- 🥷 账号多开\n  - 一键切换\n  - 记住密码\n- 📑 查看帖子\n  - 发送评论\n  - 帖子推送\n    - [x] [Bolo](https://github.com/adlered/bolo-solo)/[Solo](https://github.com/88250/solo)\n    - [ ] 博客园\n    - [ ] 掘金\n    - [ ] 自建博客欢迎 PR\n- 💬 聊天模式\n  - 💬 私聊\n  - 💬 聊天吹水\n  - 系统通知\n    - 聊天室@你\n    - 有人私聊你\n    - 聊天室关键词\n  - 🌈 自定义字体颜色\n  - 🤖️ 自动复读\n  - 🤖️ 自动领取昨日奖励\n  - 🌛 发送清风明月\n  - 聊天室消息撤回\n  - 小尾巴去除\n  - 小冰天气解析\n  - 🧠 自言自语\n    - 自定义语句池\n    - 定时发送\n- 命令模式\n  - 命令/聊天模式切换\n    - (聊天模式也可以执行命令)\n  - 进入答题模式(前缀自动加上 鸽)\n  - ⬆️ 社区快捷命令\n    - 领取昨日活跃度奖励\n    - 查看个人积分\n    - 查看签到状态\n    - 转账\n    - 发送清风明月\n    - 查看当前活跃度\n    - 查看在线用户列表\n    - 查询用户详细信息\n    - 配置文件导出\n    - 🈲️ 小黑屋功能\n      - 拒绝接收黑名单在聊天室发送的信息 (红包除外 😂 )\n      - 将某人从小黑屋中放出\n    - 🈲️ 关键字屏蔽\n    - 发红包 🧧\n      - 拼手气红包\n      - 普通红包\n      - 专属红包\n      - 心跳红包\n      - 猜拳红包\n      - 设置抢红包等待时间\n      - 抢猜拳红包最大限制\n      - 🧧 自动化抢红包（脚本哥）\n        - 自定义抢红包延时\n        - 心跳红包防止踩坑\n        - 心跳红包风险预测\n\n超级丰富的命令行指令，像极客一样操作命令行\n\n```text\n[#cli] 进入命令交互模式\n[#cr] 进入聊天室模式\n[#chat] 私聊 #chat Gakkiyomi 进入和Gakkiyomi的私聊窗口\n[#siguo] 思过崖\n[#article] 看帖 (默认显示20个帖子) [view|page] (int) / 回帖 #article comment (str)\n[#rp] 1 128 1个128积分 (默认5个,128积分)拼手气红包\n[#rp-ave] 1 128 1个128积分 (默认5个,32积分)平均红包\n[#rp-hb] 5 128 5个128积分 (默认5个,32积分)心跳红包\n[#rp-rps] 0 128 128积分 (0=石头 1=剪刀 2=布)猜拳红包\n[#rp-rps-limit] 100 (猜拳红包超过100的不抢)\n[#rp-to] 32 Gakkiyomi,xiaoIce (积分 用户)专属红包\n[#rp-time] 3 设置抢红包等待时间\n[#bm] 发送清风明月\n[#config] 查看,导出配置文件 config [dump|show] {-d|-c} (file_path)\n[#answer] 进入|退出 答题模式\n[#checked] 查看当前是否签到\n[#reward] 领取昨日活跃奖励\n[#revoke] 撤回最近一条聊天室消息\n[#transfer] 32 Gakkiyomi 送给你 (积分 用户 留言)\n[#point] 查看当前个人积分\n[#online-users] 查看当前在线的用户列表\n[#user username] 输入 #user 用户名 可查看此用户详细信息 (#user Gakkiyomi)\n[#me] 查看当前在线账号 #me (-d)  #me article (view | page){index} 查看自己的帖子\n[#push] 推送帖子 #push article {index} 文章索引号\n[#account] 查看分身账号\n[#su] 账号切换 #su Gakkiyomi\n[#bl] 查看黑名单列表\n[#op-mode] 设置窗口输出模式 op-mode {file|backup|console} 支持控制台输出,文件输出,备份输出模式\n[#op-path] 设置输出路径文件 op-path /abc/chatroom.log\n[#ban keyword|user xxx] 将某人或者关键词送入黑名单\n[#release keyword|user xxx] 将某人或者关键词解除黑名单\n[#notification {-d|-a}}] keyword 动态修改关键词提醒\n[#liveness] 查看当前活跃度(⚠️慎用，如果频繁请求此命令(最少间隔30s)，登录状态会被直接注销,需要重启脚本！)\n```\n\n## 安装\n\n[版本列表](https://github.com/gakkiyomi/fishpi-pyclient/releases)\n\n### Windows 系统\n\n下载后，双击打开\n\n### MacOS 系统\n\n下载后，执行如下命令\n\n1. ```bash\n   chmod a+x ./fishpi-pyclient\n   ```\n\n2. ```bash\n   ./fishpi-pyclient\n   ```\n\n然后需要在偏好设置这里,如下图:\n![WechatIMG482.jpg](https://file.fishpi.cn/2023/12/WechatIMG482-3c599a0e.jpg)\n\n### linux 系统\n可以使用pip进行安装或者通过docker进行使用\n#### docker\n~~~bash\ndocker pull gakkiyomi/fishpi-pyclient:v2.1.9\n~~~\n交互模式进行聊天\n~~~bash\ndocker run -it gakkiyomi/fishpi-pyclient:v2.1.9 -u username -p password -c \u003c两步验证码\u003e\n~~~\n后台红包机器人\n~~~bash\ndocker run -d gakkiyomi/fishpi-pyclient:v2.1.9 -u username -p password -c \u003c两步验证码\u003e\n~~~\n\n### pip 安装\n\n环境: Python3.12 以上\n\n执行\n\n```bash\npip install fishpi-pyclient\n```\n\n```bash\nfishpi-pyclient -u username -p password -c \u003c两步验证码\u003e\n```\n\n## 调试\n\n```bash\npython core.py\n```\n\n## 效果\n\n![fenshen.png](https://file.fishpi.cn/2023/12/账号分身-0a25be81.png)\n![截屏2023-12-10-13.42.17.png](https://file.fishpi.cn/2023/12/截屏20231210134217-df6839af.png)\n![image.png](https://file.fishpi.cn/2023/06/image-d4da9bf7.png)\n![redpacket](https://file.fishpi.cn/2023/06/image-d0ad7756.png)\n![image.png](https://pwl.stackoverflow.wiki/2022/01/image-f74aae7e.png)\n![image.png](https://pwl.stackoverflow.wiki/2022/01/image-1b685256.png)\n\n## 🔑 JetBrains OS licenses\n\n`pwl-chat-ptyhon` had been being developed with `PyCharm IDE` under the free JetBrains Open Source license(s) granted by JetBrains s.r.o., hence I would like to express my thanks here.\n\n\u003ca href=\"https://www.jetbrains.com/?from=pwl-chat-ptyhon\" target=\"_blank\"\u003e\u003cimg src=\"https://b3logfile.com/file/2021/05/jetbrains-variant-2-42d96aa4.png\" width=\"250\" align=\"middle\"/\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFishPiOffical%2Ffishpi-pyclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFishPiOffical%2Ffishpi-pyclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFishPiOffical%2Ffishpi-pyclient/lists"}