Skip to content

elide-dev/elide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elide

Elide is a fast polyglot runtime, combining support for JavaScript, TypeScript, and Python.

elide: verb. to omit (a sound or syllable) when speaking. to join together; to merge.


Code of Conduct
Python 3.11.x

Latest: 1.0.0-beta1

Learn more at elide.dev | Docs, Guides, and Samples


Important

Careful! Elide is in beta.

Usage

Elide is like Node or Python. Use it to run things:

> elide ./my-code.{ts,js,py}

You can use Node APIs. You can even mix languages:

// sample.mts

// use node apis
import { readFileSync } from "node:fs"

// interoperate across languages 
import sample from "./sample.py"

// this is typescript - no build step needed first, like deno or bun
const x: number = 42;

console.log(sample.greeting() + ` The answer is ${x}`);
# sample.py

def greeting(name = "Elide"):
  return f"Hello, {name}!"
> elide ./sample.mts
Hello, Elide! The answer is 42

Read more about Elide's feature highlights

Installation

You can install Elide on Linux (amd64) or macOS (arm64) by running:

curl -sSL --tlsv1.2 elide.sh | bash -s -

After installation, you can run elide --help or elide info to see more information.

Note

If you need a binary for a different arch, please file an issue.

Using Elide via Docker

We provide a container image, hosted on GitHub:

docker run --rm -it ghcr.io/elide-dev/elide

Using Elide in GitHub Actions

We provide a setup action:

- name: "Setup: Elide"
  uses: elide-dev/setup-elide@v2
  with:
    # any tag from the `elide-dev/releases` repo; omit for latest
    version: 1.0.0-beta1

Using Elide via GitHub Codespaces

We provide a GitHub Codespace with Elide pre-installed. You can click below to try it out, right from your browser:

Open in GitHub Codespaces

Contributing

Issue reports and pull requests are welcome! See our contribution guidelines or join our discord community and let us know which features you would like to see implemented, or simply participate in the discussions to help shape the future of the project.

Star History

Star History Chart