Skip to content
Projets

novicezk/wechat-midjourney

Voir sur GitHub

À propos

Utilise wechaty comme proxy pour un client WeChat et l’intègre à MidJourney.

Systèmes et infrastructure

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

wechat-midjourney

基于 wechaty 代理微信客户端,接入 MidJourney。

微信代理有风险,使用需谨慎

注意事项

  • 依赖 midjourney-proxy 提供的api接口
  • 仅作为 midjourney-proxy 的示例应用场景,有问题需自行解决
  • 推荐使用docker启动;mac M或其他arm架构电脑,暂时使用npm启动

快速启动

  1. 下载镜像
docker pull novicezk/wechat-midjourney:2.0.2
  1. 启动容器
# /xxx/xxx/config目录下创建.env和sensitive_words.txt
docker run -d --name wechat-midjourney \
 -p 4120:4120 \
 -v /xxx/xxx/config:/app/config \
 --restart=always \
 novicezk/wechat-midjourney:2.0.2

# 或启动时添加配置
docker run -d --name wechat-midjourney \
 -p 4120:4120 \
 -e MJ_PROXY_ENDPOINT=http://172.17.0.1:8080/mj \
 -e MJ_NOFIFY_HOOK=http://172.17.0.1:4120/notify \
 --restart=always \
 novicezk/wechat-midjourney:2.0.2
  1. 查看启动日志,微信扫描二维码,若二维码无法扫码,复制二维码链接浏览器打开扫码
docker logs -f -n 200 wechat-midjourney
  1. 扫码用户所在的微信群内,发送/help即可获取使用帮助

npm启动

git clone [email protected]:novicezk/wechat-midjourney.git
cd wechat-midjourney
npm install
# 可能执行错误,缺少library,按提示解决
cp config/.env.example config/.env
# 更改配置项,启动服务
npm run serve

配置项

变量名 非空 描述
MJ_PROXY_ENDPOINT 是 midjourney代理服务的地址
MJ_NOFIFY_HOOK 是 当前服务的回调接收地址
HTTP_PROXY 否 访问cdn图片的代理地址

无法访问 https://cdn.discordapp.com 时需设置HTTP_PROXY,示例值:http://127.0.0.1:7890

Explorer des projets similaires

Chargement…