merjs

Build Zig web apps with file-based routing, SSR, and typed APIs.

354|17|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/justrach/merjs --skill merjs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: merjs
Source: https://github.com/justrach/merjs/tree/main/.claude/skills/merjs
Command: npx skills add https://github.com/justrach/merjs --skill merjs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

merjs provides a Next.js-style web framework implemented in Zig, enabling file-based routing, SSR, and typed APIs without requiring Node.js or a heavy JavaScript runtime.

Core Features & Use Cases

  • File-based routing for pages and API endpoints
  • Server-side rendering with a type-safe API surface
  • WASM client logic and Cloudflare Workers deployment
  • Static site generation and prerendering support
  • Cloud-native deployment patterns with a Zig-based toolchain

Quick Start

Run mer init my-app, then navigate to the new project and run mer dev to start the local server.

Frequently Asked Questions about merjs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build server-side rendered web apps using Zig instead of Node.js?

You can build server-side rendered web apps using Zig by substituting Node.js with a Zig-based stack for SSR, routing, and APIs. This provides file-based routing, type-safe API surfaces, and WASM client logic without a heavy JavaScript runtime.

What is the best way to deploy a Zig web framework to Cloudflare Workers?

Deploying a Zig web framework to Cloudflare Workers involves using a Zig-based toolchain for cloud-native deployment patterns. This approach enables server-side rendering and static site generation directly on Cloudflare Workers without Node.js.

Can I use file-based routing for pages and API endpoints in Zig?

Yes, you can use file-based routing for pages and API endpoints in Zig. This framework provides a Next.js-style structure that automatically maps file paths to routes, creating typed APIs and server-side rendered pages.

How do I set up a local development server for a Zig web project?

To set up a local development server for a Zig web project, run the init command to scaffold the application, navigate into the new project directory, and execute the dev command to start the local server.

Does Zig support static site generation and prerendering without a JavaScript runtime?

Yes, Zig supports static site generation and prerendering without a JavaScript runtime. The framework handles prerendering natively within the Zig toolchain, eliminating the need for Node.js dependencies during the build process.