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.19.0
Popular in News & Updates
We’ve released Nerves v1.3.0 with support for Elixir 1.7 and Distillery 2.0! We encountered a few bumps over the past week, but it’s look...
New
The Nerves core team is proud to announce the Nerves v1.8.0 release.
Nerves provides the core tooling for creating self-contained, BEAM-...
New
A new Livebook version arrives this Friday! :tada:
As we count down the days, we will share a sneak peek into what’s coming each day thi...
New
Oban.Web is a view of Oban’s inner workings that you host directly within your Phoenix application. Powered by Oban Metrics and Phoenix L...
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
Hey folks! I’ve begun putting together some concrete, framework-wide tooling and guidance on the usage of LLMs in development. The goal h...
New
It’s been a long time coming, but Reactor has finally reached 1.0.
For those unfamiliar, Reactor is a dynamic, concurrent, dependency-re...
New
Other popular topics
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
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
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
New
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #elixirconf-us
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









