Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

lura

> 后端框架
Open source

Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

6.8K stars0 likes1 views
WebsiteGitHub

About

Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

The Lura Project framework

An open framework to assemble ultra performance API Gateways with middlewares; formerly known as KrakenD framework, and core service of the KrakenD API Gateway.

Motivation

Consumers of REST API content (specially in microservices) often query backend services that weren't coded for the UI implementation. This is of course a good practice, but the UI consumers need to do implementations that suffer a lot of complexity and burden with the sizes of their microservices responses.

Lura is an API Gateway builder and proxy generator that sits between the client and all the source servers, adding a new layer that removes all the complexity to the clients, providing them only the information that the UI needs. Lura acts as an aggregator of many sources into single endpoints and allows you to group, wrap, transform and shrink responses. Additionally it supports a myriad of middlewares and plugins that allow you to extend the functionality, such as adding Oauth authorization or security layers.

Lura not only supports HTTP(S), but because it is a set of generic libraries you can build all type of API Gateways and proxies, including for instance, an RPC gateway.

Practical Example

A mobile developer needs to construct a single front page that requires data from 4 different calls to their backend services, e.g:

1) api.store.server/products
2) api.store.server/marketing-promos
3) api.users.server/users/{id_user}
4) api.users.server/shopping-cart/{id_user}

The screen is very simple, and the mobile client only needs to retrieve data from 4 different sources, wait for the round trip and then hand pick only a few fields from the response.

What if the mobile could call a single endpoint?

1) lura.server/frontpage/{id_user}

That's something Lura can do for you. And this is how it would look like:

Lura would merge all the data and return only the fields you need (the difference in size in the graph).

Visit the Lura Project website for more information.

What's in this repository?

The source code for the Lura project framework. It is designed to work with your own middleware and extend the functionality by using small, independent, reusable components following the Unix philosophy.

Use this repository if you want to build from source your API Gateway or if you want to reuse the components in another application.

If you need a fully functional API Gateway you can download the KrakenD binary for your architecture or build it yourself.

Library Usage

The Lura project is presented as a Go library that you can include in your own Go application to build a powerful proxy or API gateway. For a complete example, check the KrakenD CE repository.

Of course, you will need Go installed in your system to compile the code.

A ready to use example:

…

Visit the framework overview for more details about the components of the Lura project.

Configuration file

Lura config file

Benchmarks

Check out the benchmark results of several Lura components

Contributing

We are always happy to receive contributions. If you have questions, suggestions, bugs please open an issue. If you want to submit the code, create the issue and send us a pull request for review.

Read CONTRIBUTING.md for more information.

Want more?

  • Follow us on Twitter: @luraproject
  • Visit our Slack channel
  • Read the documentation

Enjoy Lura!

License

Issues· 12 open

View all issuesOpen on GitHub
  • #730

    Enable Request Modifiers to short circuit and returning ResponseWrapper

    Updated Sep 17, 2026
  • #807

    router/gin: context.Canceled should return 499, not 500

    Updated Sep 2, 2026
  • #784

    Dynamic Configuration for lura project

    Updated Apr 6, 2026
  • #660

    Inconsistent interpolation behavior in various parts of the configuration

    enhancementUpdated Sep 28, 2023
  • #612

    Rest to graphql doesn't honor the variables datatype of graphql schema

    new featureUpdated Sep 20, 2022
  • #310

    WebAssembly Plugin

    Updated Feb 8, 2020
  • #79

    proxy middleware register

    enhancementUpdated Jan 25, 2018

> Tags

Goapi-gatewayapisbackend-servicesgateway

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 23, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架