Home / Companies / Kong / Blog / Post Details
Content Deep Dive

Giving Your Legacy Applications an API Facelift

Blog post from Kong

Post Details
Company
Date Published
Author
David La Motta
Word Count
2,202
Company Posts That Month
16
Language
English
Hacker News Points
-
Post removed?
No
Summary

The blog post discusses a method for modernizing legacy applications by using the Kong Gateway to create an API front for systems originally accessible only through a command-line interface. The example provided involves a Perl-based Pig Latin translator, demonstrating how a simple yet effective Kong Gateway Lua plugin, named Kronos, can expose such applications via REST APIs. The post details the setup process, including the use of tools like Docker Compose and Gojira, as well as the necessary Lua modules and Unix domain sockets. The Kronos plugin acts as a passthrough proxy, allowing command execution on the host via specified strategies. The author emphasizes the flexibility and potential security risks of this approach, highlighting the importance of safeguarding against malicious use while showcasing the powerful capabilities of Kong's plugin architecture for API exposure. Future enhancements, such as asynchronous strategy execution and adapting the framework for Windows hosts, are suggested as potential topics for further exploration.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 2 762 104 50 +14%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.