sumi

Basics · Introduction

Hello, sumi

Welcome to sumi. A sumi component is a single .sumi file: an HTML-like template, an optional <style> of CSS, and — once you need it — a <script> of Go. This first one is pure markup. It compiles to a real terminal program, and on this page straight to WebAssembly that runs in the panel on the right.

Press Run (or ⌘↵) to compile it and see it in the terminal.

Your turn

Change the greeting. Edit the text inside the <h1> to whatever you like, then press Run again to recompile.

When you are ready to see one answer, press Solve — it swaps in a finished version. Reset puts your starting point back.

⌘↵ to run