hugobarauna
Livebook Core Team
Livebook 0.13: expose an HTTP API from your notebook
We’re super excited to announce a new Livebook release!
This one comes with a big new feature we’ve been working on: Kino.Proxy.
By using Kino.Proxy, you can now expose API endpoints directly from your notebook or Livebook app.
Here’s a Hello World example:
Kino.Proxy.listen(fn conn ->
Plug.Conn.send_resp(conn, 200, "hello world!")
end)
(Noticed it’s just a Plug?!
)
When you do that, Livebook will start proxying requests at the following paths:
/proxy/sessions/:id/*path- a notebook session/proxy/apps/:slug/sessions/:session_id/*path- a specific app session/proxy/apps/:slug/*path- generic app path, only supported for single-session apps. If the app has automatic shutdowns enabled and it is not currently running, it will be automatically started
We believe that APIs with Kino.Proxy open Livebook to a new category of use cases.
For example, you can quickly build an API that receives a request from Zapier to automate internal processes.
Here’s the announcement blog post: Livebook 0.13: expose an HTTP API from your notebook - Livebook.dev - The Livebook Blog
And here’s the docs: Kino.Proxy — Kino v0.13.2
Popular in News & Updates
We’ve released new versions of all of the officially maintained Nerves Systems. The official systems, nerves_system_rpi0, nerves_system_b...
New
Hologram v0.6.0 is here, bringing production-ready features to the full-stack Elixir web framework! This release focuses on enhanced secu...
New
Do you like Hacktoberfest? Also enjoy working with Nerves and want to contribute?
Fantastic! :tada: :beers:
Here are some potential sta...
New
First two Ash cookbooks are live! We’re still refining the format, so please give us your feedback, good or bad! The first two are: optim...
New
Hugging Face is a platform for building, sharing, and collaborating on machine learning applications.
This blog post explains how to run...
New
Discover Livebook 0.9’s new security features, including Hubs for centralized secret management, notebook stamping, and a sneak peek into...
New
I know you might be thinking ¬
“Why make another SSH daemon wrapper when there already exists many like sshex and esshd??”
Well, grea...
New
Hello everyone! :wave:
I am thrilled to announce a new version of Jellyfish Media Server - v0.2.0! :tada:
Features:
Added RTSP compon...
New
Testing code destined for hardware can be tricky, but it just got one tiny bit easier!
:tty0tty was just released which is an Elixir por...
New
Hey! For those following Hologram’s progress… I’m excited to share that I’ve just published the official roadmap for Hologram. You can ch...
New
Other popular topics
Hi All,
I set a environment variables in dev.exs , like below code.
when i start server, how can i set the ${enable} value?
thanks.
d...
New
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
New
Phoenix 1.4.0 released
Phoenix 1.4 is out! This release ships with exciting new features, most notably
with HTTP2 support, improved deve...
New
Hello all!
I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set?
Thanks.
New
Hello everybody,
usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
Credo is smart enough to check for (something like) this:
assert length(the_list) == 0
with this response:
Checking if an enum is empt...
New
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Hello!
Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New








