Code Monkey home page Code Monkey logo

mp-dev's Introduction

Table of Contents generated with DocToc

微信公众号开发

  • music 目前仅支持网抑云
usage:
- /help # 查看帮助
- /music/play/:sid # 播放音乐 sid 为歌曲 id
- /music/url/:sid  # 获取音乐下载链接
- /music/search/:keywords   # 通过关键字搜索歌曲
- /music/search/:keywords/:page # 分页搜索歌曲
- /music/:name # 搜索并播放歌曲 默认取第一首

实现思路

Go 语言之微信公众号开发

使用

  • 依赖环境

    • go 1.13+ (其他版本没有测试过)
  • 测试

假设你已经正确填写好配置文件

git clone https://github.com/ronething/mp-dev.git
cd mp-dev && make build && cd bin
./wechat-mp -c ./example.yaml

测试期间可使用内网穿透,如 ngrok

  • 部署

假设你已经正确填写好配置文件 并且服务器是 linux amd64 架构

git clone https://github.com/ronething/mp-dev.git
cd mp-dev && make deploy
  • 体验

TODO

  • 支持路由组 usage: /music/play/:sid
  • remind/ins

致谢

mp-dev's People

Contributors

ronething avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

djun

mp-dev's Issues

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.