Home WeChat Applet WeChat Development Introduction to open source projects developed using Ruby WeChat

Introduction to open source projects developed using Ruby WeChat

Mar 19, 2017 pm 05:44 PM
ruby Open source projects WeChat development

This article mainly introduces several open source projects developed by Ruby WeChat. Friends who need it can refer to it


Recently, many developers have developed with RailsWeChat project My friends started using weixin_rails_middleware and weixin_authorize on Github, and many people talked about Ratchet. From the Spring Festival to now, I have been developing WeChat. Now I have published it on the forum, hoping to let more people know about the existence of these gems, and more Complete the tasks in your hands quickly.


1. One (two) commands to build the Rails WeChat version

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

https ://github.com/lanrion/weixin_rails_middleware

Automatic verificationWeChat request;
One (two) commands, one configuration, concise style;
1.Support Rails 3, Rails 4;
2. Support multiple public account platforms, such as Weimob;
3. Support a single user, that is, one account, but do not want to save it in the database;
4. Provide reply message assistance Method;
5. Provide business logic reply processing for all WeChat message types;
6. Implementation cases in custom menu are provided in the wiki;
4. Automatically generate tokens;

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


2 , WeChat Advanced API Implementation:

https://github.com/lanrion/weixin_authorize

1. Except for Oauth 2 which is not implemented, other APIs have been implemented;
2. Support Redis to store access_token;
Let’s check the wiki directly: https://github.com/lanrion/weixin_authorize/wiki/Getting-Started

3. Integration The gem of Ratchet v2.0.1: twitter_ratchet_rails

is: http://goratchet.com/ It is very small after compression and is very suitable for WAP use. However, one shortcoming is that the components are not rich enough. I look forward to richer ones. There is nothing else to say about the implementation, just click here:

https://github.com/lanrion/twitter_ratchet_rails

4. Usage examples (may not be updated in time)

Latest version)Rails 4: https://github.com/lanrion/weixin_rails_middleware_example

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

The above is the detailed content of Introduction to open source projects developed using Ruby WeChat. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Java JPA open source project recommendations: Inject new vitality into your project Java JPA open source project recommendations: Inject new vitality into your project Feb 20, 2024 am 09:09 AM

In the field of Java programming, JPA (JavaPersistence API), as a popular persistence framework, provides developers with a convenient way to operate relational databases. By using JPA, developers can easily persist Java objects into the database and retrieve data from the database, thus greatly improving application development efficiency and maintainability. This article carefully selects 10 high-quality JavaJPA open source projects, covering a variety of different functions and application scenarios, aiming to provide developers with more inspiration and solutions to help create more efficient and reliable applications. These projects include: SpringDataJPA: springDataJPA is the Spr

In-depth analysis of the similarities and differences between Golang and Ruby In-depth analysis of the similarities and differences between Golang and Ruby Jun 01, 2024 pm 08:46 PM

The main difference between Go and Ruby is that Go is a statically typed compiled language that supports lightweight parallelism and efficient memory management, and is suitable for writing high-concurrency applications; Ruby is a dynamically typed interpreted language that supports true parallelism but memory management It requires manual control and is suitable for writing flexible web applications.

In-depth exploration of the unlimited potential of Go language open source projects: five project outlines worth paying attention to In-depth exploration of the unlimited potential of Go language open source projects: five project outlines worth paying attention to Jan 30, 2024 am 10:48 AM

In recent years, the Go language has become more and more widely used in the field of software development, attracting the attention and participation of many developers. Go language has become the language of choice for many developers due to its efficient performance, concise syntax and powerful concurrency features. In the Go language ecosystem, open source projects play a very important role, providing developers with a variety of excellent tools and libraries. This article will outline five noteworthy Go language open source projects to demonstrate the unlimited potential of Go language in the field of software development. GinGin is a Go-based

Open source communities and open source projects in Java Open source communities and open source projects in Java Jun 09, 2023 am 09:57 AM

Java is a popular programming language, and its large number of open source communities and projects provide a lot of help for Java programming. The importance of open source communities and projects is increasingly recognized by people. This article will introduce the concept and importance of Java open source communities and projects, as well as some popular open source projects and communities. What are open source communities and projects? Simply put, open source communities and projects are organizations where developers work together to develop software using open source code. These projects are usually licensed under some open source software license, allowing developers

An in-depth analysis of five highly respected Go language open source projects and uncover their mysteries An in-depth analysis of five highly respected Go language open source projects and uncover their mysteries Jan 30, 2024 am 08:48 AM

The Go language has attracted much attention in its rapid development in recent years, and more and more developers have joined the ranks of the Go language. It is precisely because of the high performance and concise and easy-to-read syntax of the Go language that it has become the preferred language for many developers. This article will introduce five recommended Go language open source projects and give you a glimpse into the mystery of Go language development. GinGin is a lightweight web framework that draws on the advantages of the Martini framework and makes improvements. Gin has high-performance router and middleware support

PHP WeChat development: How to implement message encryption and decryption PHP WeChat development: How to implement message encryption and decryption May 13, 2023 am 11:40 AM

PHP is an open source scripting language that is widely used in web development and server-side programming, especially in WeChat development. Today, more and more companies and developers are starting to use PHP for WeChat development because it has become a truly easy-to-learn and easy-to-use development language. In WeChat development, message encryption and decryption are a very important issue because they involve data security. For messages without encryption and decryption methods, hackers can easily obtain the data, posing a threat to users.

20 github front-end open source projects that you can't miss, add them to your favorites! 20 github front-end open source projects that you can't miss, add them to your favorites! Apr 22, 2022 pm 02:10 PM

The world of open source is becoming more colorful every day. What new challenges will there be in the front-end field in 2022? Below are 20 interesting open source projects we have compiled. We hope there is one among them that you want to collect.

How does Ruby use Mysql2 connection to operate MySQL? How does Ruby use Mysql2 connection to operate MySQL? Apr 17, 2023 pm 10:07 PM

Ruby operates MySQL using mysql2 to connect to mysql and operate mysql. geminstallmysql2 connects to mysql to establish a connection: require'mysql2'conn=Mysql2::Client.new({host:'192.168.200.73',username:'root',password:'P@ssword1!'}) The accepted connection options include: Mysql2::Clie

See all articles