Hello World
When you first load the Membrane IDE, you’ll see a pre-installed hello-world
program with its index file open. We encourage you to start clicking around and playing with the code!
That program has a run
action that logs a message and sends you an email. It also exports an endpoint
function that serves a website, storing hits in Membrane state on each visit.
Creating new programs
Creating a new Membrane program is simple:
- Click
NEW PROGRAM
- Click
Blank program
- Name your program
That’s it! The program is immediately deployed whenever you save the file. You can also start with one of our templates for a cronjob, API, webhook handler, emailer, or website.
Sharing your code
Once you’ve made your first Membrane program, share it with the world! Right-click a program and select “Publish Package…”, to push your code to our registry and generate a share link like this one.
Send us what you build (via email or Discord), and we’ll include our favorites in our weekly(ish) changelog.
The next page is where things get interesting. You’ll learn how our durable runtime helps you build long-lived programs without the traditional complexities.