yusukebe

A file-based routing framework for Cloudflare Workers

47
2
100% credibility
Found May 02, 2026 at 42 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A framework for Cloudflare Workers that organizes web routes into independent files for isolated, easy development and tiny production sizes.

How It Works

1
🔍 Discover workers-routes

You find a simple tool for building web apps where each section of your site runs safely on its own.

2
📁 Set up your folders

Create a few folders to organize your app's different pages and sections.

3
📝 Build your pages

Add easy files for each part of your site, like a welcome page or user list, describing what happens there.

4
🧪 Test instantly

Start a playground version and see your changes appear right away as you edit.

5
🔨 Ready for the world

Prepare a super-light version of your app that's efficient and secure.

🚀 Your app shines online

Launch it live, enjoying speedy performance with each section protected from issues in others.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 42 to 47 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is workers-routes?

workers-routes is a TypeScript file-based routing framework for Cloudflare Workers, letting you define routes like in Next.js, Nuxt, or Express—drop a file for /users/* and it handles the path. Each route spins up as an independent Dynamic Worker via Worker Loader bindings, keeping them fully isolated so crashes or deps don't bleed over. It solves the pain of manual routing in Workers by offering dev mode with zero-build hot reloads and prod mode with pre-built bundles.

Why is it gaining traction?

Unlike traditional Workers setups, it delivers file-based routing akin to Remix, TanStack Router, or Vue setups but with per-route sandboxing—no shared state risks. Dev mode bundles routes on-the-fly for instant edits without restarts, while prod shrinks the host to 1.6 KiB by ditching bundlers. Developers dig the Hono integration for quick APIs and the edge isolation that scales without monolith headaches.

Who should use this?

Cloudflare Workers teams building APIs or full apps who want file-based routing like Next.js or Nuxt without config hell. Hono users tired of single-worker routing, or React/Angular/Vue devs porting edge routes to Workers. Ideal for microservices where isolation trumps shared globals.

Verdict

Experimental with 41 stars and 1.0% credibility—docs are solid with examples, but low adoption means watch for bugs. Try the example for Cloudflare file-based routing if isolation hooks you; skip for production until more battle-tested.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.