mat-hek
Popcorn - a new tool to run Elixir in browsers
Popcorn lets you run Elixir code in the browser via WebAssembly. It builds on top of AtomVM, a tiny Erlang VM. It’s early stages and breaks sometimes, but you can run Elixir code and even Elixir and Erlang compilers right from the browser.
We created some cool examples too - check them out at popcorn.swmansion.com, and the repo is available at
github.com/software-mansion/popcorn
Happy hacking ![]()
Most Liked
mat-hek
No, it’s quite the opposite
The goal is to run Elixir code on the client side. It would enable features like IEx or HexDocs examples running in the browser, but also local-first applications in Elixir. We aim to provide as many BEAM features as we can, if they make sense in that context, and good enough performance for these use cases.
jgonet
Popcorn 0.1.0
I’m very happy to announce first official Popcorn release. On this occasion, Mateusz wrote a blog post that mostly covers what was said on Elixir Conf EU.
Since last time we made a bit of progress:
- Support for OTP applications.
- IEx example.
run_jsvalue batching.- New NIFs, fixes for old ones, finding missing ones. Good ol’ “various fixes and improvements”.
For the near future, we want to discuss good, concrete use-cases for Popcorn, do some research, and stabilize whatever we can.
We welcome any form of feedback: bug reports, ideas, sharing demos, etc. Find us on Github, Software Mansion Discord, or at popcorn@swmansion.com.
jgonet
Popcorn 0.3.0
We’ve released Popcorn v0.3.0 two weeks ago, which introduces a new event system that lets you pass data from Elixir to JS more easily.
By complete accident it also fixes our less-than-ideal publishing process which broke all previous versions of the package after Hex update. You live and learn ![]()
Local Live View is aaalmost there, we hope we can release it in the foreseeable future.
Changelog: Release v0.3.0 · software-mansion/popcorn · GitHub









