Introduction to several open-source projects developed by Ruby WeChat

Source: Internet
Author: User


Recently, many friends who have used Rails development projects began to use weixin_rails_middleware and weixin_authorize on Github. Many people have talked about Ratchet, which has been developing since the Spring Festival, now I am releasing it on the Forum, hoping to let more people know the existence of these gems and quickly complete the tasks in your hands.


1. One or two commands are used to build the Rails version.

At the simplest speed, you can start a project in 10 minutes:

Https://github.com/lanrion/weixin_rails_middleware

Automatic Verification request;
One or two commands, one configuration, and a concise style;
1. Support for Rails 3 and Rails 4;
2. Support multiple public account platforms, such as weimeng;
3. Support for a single user, that is, an account, but do not want to save it in the database;
4. Provides auxiliary methods for replying to messages;
5. Provide reply processing for all types of message business logic;
6. provides implementation cases in the custom menu in the wiki;
4. automatically generate a token;

For details, see:
Https://github.com/lanrion/weixin_rails_middleware/wiki/
Https://github.com/lanrion/weixin_rails_middleware


2. Advanced API implementation:

Https://github.com/lanrion/weixin_authorize

1. Except Oauth 2, other APIs have been implemented;
2. Support Redis to store access_token;
Or directly look at the wiki: https://github.com/lanrion/weixin_authorize/wiki/Getting-Started

3. Integrate the gem of Ratchet v2.0.1: twitter_ratchet_rails

That is: http://goratchet.com/compression is very small, very suitable for the use of wap, but there is a deficiency in that the components are not rich enough, expect more rich implementation
There are no other redundant ones to say. The viewer directly clicks:

Https://github.com/lanrion/twitter_ratchet_rails

4. Example (the latest version may not be updated in time)

Rails 4: https://github.com/lanrion/weixin_rails_middleware_example

Rails 3: https://github.com/lanrion/weixin_rails_3

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.