Giter Site home page Giter Site logo

itchat_http_proxy's Introduction

itchat_http_proxy

by chatgpt

使用python itchat库提供微信服务,收到消息转发到配置的http地址,并使用flask提供一个http服务接收外部请求,并把内容转发给itchat发送出去,设计一个这样的项目架构,多文件的命名

架构设计:

  1. main.py:主程序,负责监听微信消息,收到消息时将其转发到配置的http地址,并启动http接口服务

  2. http_server.py:http服务,负责接收外部请求,并把内容转发给itchat发送出去

  3. itchat_helper.py:微信助手,负责封装itchat库提供的接口,方便其他模块调用

  4. config.py:配置文件,负责存储一些配置信息,比如http地址等

数据格式: 目前使用可爱猫(keaimao)的数据格式

运行方法:

python3 main.py

itchat_http_proxy's People

Contributors

simperl avatar

Stargazers

 avatar Torres Sue avatar  avatar  avatar

Watchers

村长 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.