展示 HN:Nuvix – 开源的 Supabase 和 Appwrite,支持三种模式类型,自动行级安全(RLS)

3作者: ravikantsaini18 天前原帖
我独自使用 TypeScript 构建了一个完整的后端即服务平台,以解决我对 Supabase 和 Appwrite 的不满。 <p>问题 - Supabase:过于僵化。只有一个模式模型。缺乏灵活性。 - Appwrite:过于宽松。没有行级安全(RLS)。安全性依赖手动配置。 <p>解决方案:三种模式类型 | 类型 | 用例 | 安全性 | |------------|-----------------------------------|----------------| | `Document` | 快速原型开发(类似 Appwrite) | 手动 | | `Managed` | 安全应用(自动 RLS + 权限控制) | *默认安全* | | `Unmanaged`| 完整 SQL 功能(原生 Postgres) | 无 | <p>### 杀手级功能 - *比 PostgREST 更好的 API*:无外键的表连接,按嵌套列过滤 - *仪表盘*(类似 Supabase Studio) – 完整的 CRUD,RLS 编辑器,文件浏览器 - *类型安全的 SDK* – 零配置,完全自动补全 - *Bun 运行时* – 比 Node.js 更快 - *2 分钟内自托管*,使用 Docker <p>```bash git clone <a href="https:&#x2F;&#x2F;github.com&#x2F;Nuvix-Tech&#x2F;nuvix" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Nuvix-Tech&#x2F;nuvix</a> cd nuvix && docker compose up -d ```
查看原文
I built a full backend-as-a-service platform — solo, in TypeScript — to fix what I hated about Supabase and Appwrite.<p>The Problem - Supabase: Too rigid. One schema model. No flexibility. - Appwrite: Too loose. No RLS. Security is manual.<p>The Solution: 3 Schema Types | Type | Use Case | Security | |------------|-----------------------------------|----------| | `Document` | Rapid prototyping (Appwrite-style) | Manual | | `Managed` | Secure apps (auto RLS + permissions) | *Secure by default* | | `Unmanaged`| Full SQL power (raw Postgres) | None |<p>### Killer Features - *APIs better than PostgREST*: Join tables *without FKs*, filter by nested columns - *Dashboard* (like Supabase Studio) – full CRUD, RLS editor, file browser - *Type-safe SDK* – zero config, full autocomplete - *Bun runtime* – faster than Node.js - *Self-host in 2 minutes* with Docker<p>```bash git clone <a href="https:&#x2F;&#x2F;github.com&#x2F;Nuvix-Tech&#x2F;nuvix" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Nuvix-Tech&#x2F;nuvix</a> cd nuvix &amp;&amp; docker compose up -d ```