LINE Flex Message is the main feature of LINE Bot. A LINE Flex Message template that provides a good user experience often has hundreds of lines or even thousands of lines. But engineers can only see at most 50 lines on a screen. If you want to render a LINE Flex Message template without the support of the tools, engineers is not only tired of eyes, but also tired of soul.
Kamiflex is an Open Source package using the Ruby programming language. It is a DSL dedicated to generating LINE Flex Messages. Using Kamiflex, you can display the information required by the entire LINE Flex Message on a single screen. In addition to satisfying the needs of variables rendering and high-end components, Kamiflex also supports complex template design, such as judgment and loops.
This agenda will explain how to use Kamiflex to generate LINE Flex Message, so that the engineer’s eyes are not tired and become happy.
About Etrex Kuo
I’m Etrex Kuo, the author of the chatbot kamigo, an LINE API Expert. Currently maintaining the well-known Node.js chatbot framework Bottender, and the Rails-based LINE Bot framework Kamigo.