Packages

Multi-surface application runtime for Elixir. One TEA module renders to terminal, browser (LiveView), SSH, and MCP (agents). 30+ widgets, flexbox + CSS grid, AI agent runtime, distributed swarm with CRDTs, time-travel debugging, session recording, sandboxed REPL, and agentic commerce.

Current section

Files

Jump to
raxol examples snippets without-runtime README.md
Raw

examples/snippets/without-runtime/README.md

# Without Runtime Examples
This directory contains examples that demonstrate how to use Raxol's low-level APIs without using the application runtime. These examples show how to manually create application loops and handle events.
## Examples
### Hello World
A minimal example showing how to create a terminal application without using the runtime.
```elixir
mix run examples/without-runtime/hello_world.exs | cat
```
### Clock
Demonstrates how to create an application loop with a timer to update the UI periodically.
```elixir
mix run examples/without-runtime/clock.exs | cat
```
### Event Viewer
Shows how to capture and display terminal events like keyboard, mouse, and resize events.
```elixir
mix run examples/without-runtime/event_viewer.exs | cat
```