


Introduction to open source projects developed using Ruby WeChat
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:
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

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

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 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

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

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 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.

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.

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
