✨ v0.3.x Released - AI-Native & Docker Ready

Modern Web Apps,
AI-Driven Speed.

The minimalist Elixir framework built for Vibe Coding. Ship real products fast with AI as your co-pilot.

Everything You Need, Nothing You Don't

Built for developers who value simplicity

AI-Native Design

Built for Vibe Coding. Locality of Behavior (LoB) allows AI agents to build full features by reading just one file.

Declarative Interaction

HTMX-first philosophy. Build reactive UIs with zero-JavaScript complexity using simple Elixir functions.

Unified Interface

One use Nex for everything. Automatic module detection simplifies development and reduces boilerplate.

Our Philosophy

Build Real Apps,
Not Complexity.

Nex is built for shipping real products to production. Server-side rendering with HTMX means you build features, not infrastructure. Convention over configuration eliminates boilerplate. Get your idea from concept to live users fast.

  • Convention over configuration
  • Instant hot reloading in development
  • Production-ready Docker deployment
defmodule MyApp.Pages.Index do
  use Nex

  def mount(_params) do
    %{count: Nex.Store.get(:count, 0)}
  end

  def render(assigns) do
    ~H"""
    <div class="p-8">
      <h1>Count: {@count}</h1>
      <button hx-post="/increment" class="btn">+</button>
    </div>
    """
  end

  def increment(_params) do
    count = Nex.Store.update(:count, 0, &(&1 + 1))
    assigns = %{count: count}
    ~H"<h1>Count: {@count}</h1>"
  end
end

See It In Action

Real examples you can run and learn from

💬

AI Chatbot

AI chat with streaming responses using polling. Learn async patterns and real-time updates.

Polling HTMX Async
🌊

Chatbot SSE

Real-time streaming with Server-Sent Events and HTMX SSE extension. Zero-JS streaming.

SSE Streaming Real-time
📝

Guestbook

Simple CRUD app with form handling and data persistence. Perfect starter example.

Forms CSRF Store
🔀

Dynamic Routes

Showcase of all routing patterns: static, dynamic [id], and catch-all [...path].

Routing Params

Todo App

Classic todo app with partial updates. Learn HTMX patterns and state management.

HTMX Components

Built for Real Developers

Not for enterprise. Not for complex SPAs. Perfect for you.

🚀

Rapid Prototyping

Go from idea to deployed MVP in hours, not weeks. Perfect for validating ideas quickly.

🎯

Indie Hackers

Build and ship solo projects without the overhead of complex frameworks. Focus on your product.

📊

Real-time Applications

Build live dashboards, chat apps, and streaming data applications with Server-Sent Events. Production-ready.

Why Choose Nex

Compared to other frameworks and approaches

vs Phoenix

Phoenix is powerful but complex. Nex is lightweight and focused on server-side rendering with HTMX. Perfect when you don't need LiveView's complexity.

Best for: Rapid development, smaller teams

vs React/Vue

Frontend frameworks require JavaScript expertise and build complexity. Nex uses server-side rendering with HTMX for interactivity without the overhead.

Best for: Zero JavaScript, faster development

vs Rails

Rails is full-featured but heavyweight. Nex is minimal and convention-based, perfect for Elixir developers who want simplicity and performance.

Best for: Elixir ecosystem, fast execution

Production Ready

Everything you need to ship to production

Deployment

  • Docker-ready with optimized images
  • Deploy to Railway, Fly.io, Render
  • Single binary deployment

Security & Performance

  • Built-in CSRF protection
  • Elixir performance and reliability
  • Hot reload in development

Ready to Build
Something Amazing?

Join developers who chose simplicity over complexity.

MIT Licensed
Open Source
Production Ready