README.md

# KinoCurl [![CI](https://github.com/open-status/kino_curl/actions/workflows/ci.yml/badge.svg)](https://github.com/open-status/kino_curl/actions/workflows/ci.yml) [![Hex.pm](https://img.shields.io/hexpm/v/kino_curl.svg)](https://hex.pm/packages/kino_curl) [![Hexdocs.pm](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/kino_curl/)

cURL integration with [Kino](https://github.com/livebook-dev/kino) for [Livebook](https://github.com/livebook-dev/livebook).
Automatically converts `curl` commands into executable Elixir code.

<img src="./demo.gif" height="600" />

## Installation

To install KinoCurl in a Livebook, you can use `Mix.install/2`:

```elixir
Mix.install([
  {:kino_curl, "~> 0.1.0"}
])
```

## Notes

- [parse-curl.js](https://github.com/tj/parse-curl.js) is currently being used for parsing cURL commands including the flags/arguments.
- [ex_curl](https://github.com/open-status/ex_curl) is being used for executing requests using native libcurl code. This means libcurl must be present in the runtime environment.