nile-js

nile-js / nile

Public

TypeScript-first, service and action oriented backend framework.

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

Nile is a TypeScript backend framework that lets developers define services and actions to create predictable APIs with built-in validation, error handling, and schema export, including tools for quick project setup and a type-safe client.

How It Works

1
🔍 Discover Nile

You hear about Nile, a simple way to build fast backends without complicated setups, perfect for your app idea.

2
🚀 Create your project

With one quick command, you set up a ready-to-go project folder complete with examples to get you started right away.

3
Add your first service

You easily create a service for something fun like managing tasks, and it automatically handles checking inputs and errors.

4
▶️ Launch your backend

Hit start, and your backend springs to life on your computer, ready to handle requests instantly.

5
📱 Connect from your app

Use the ready-made connector to link your frontend app, sending data back and forth smoothly with full safety checks.

6
See it working

Send a test request, create your first task, and watch it appear perfectly validated and stored—everything feels magical.

🎉 Your backend is ready

Now your app has a powerful, secure backend that grows with you, handling real work like a pro without the headaches.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 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 nile?

Nile is a TypeScript-first, service and action oriented backend framework that lets you build APIs by defining business actions grouped into services—no routes, controllers, or middleware chains required. Everything funnels through a single POST endpoint at `/api/services` using an `intent` field for explore (discovery), execute (calls), or schema (JSON export), with built-in Zod validation, error handling, and a type-safe client library. Developers get a CLI for quick project scaffolding (`npx @nilejs/cli new my-app`), generating services/actions (`nile gen service tasks`), and exporting schemas/types, plus CRUD models over Drizzle for Postgres/PGLite/SQLite.

Why is it gaining traction?

It ditches REST conventions for a predictable RPC-like API that's AI-agent ready—LLMs can discover services and call tools via schemas without adapters. The Bun-powered setup spins up fast with zero-config PGLite for local dev, and hooks let actions chain composably while Result types enforce safe error flow. TypeScript end-to-end, including generated payloads for the client, cuts boilerplate versus Hono/Express sprawl.

Who should use this?

Fullstack TypeScript devs prototyping agentic backends or SaaS APIs, especially those handling uploads/forms and tired of route bloat. Suits solo makers or small teams building CRUD-heavy services like task managers or user profiles, where schema discovery and validation matter more than complex routing.

Verdict

Promising for TypeScript-first action-oriented backends, but at 11 stars and 1.0% credibility, it's early—docs are solid via CLI-generated sites, but expect rough edges in production scaling. Try for side projects; skip for mission-critical until more battle-tested.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.