Loading repository data…
Loading repository data…
Ibrahem3 / repository
Production-ready Multi-Tenant SaaS Platform built with Nuxt 4, Supabase, PostgreSQL RLS, PWA, AI-ready architecture, and full Arabic/English localization.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
[!IMPORTANT] ⚠️ Strategic & Visionary Notice (June 2026) Development on this standalone repository is officially frozen and transitioned into a Technical Waqf (وقف تقني) as a public, source-available asset.
As a Solo Founder, time and energy are the most critical resources. Therefore, I have made the strategic decision to ruthlessly channel 100% of my focus and engineering effort into building the centralized core engine inside my unified Go-based Super-App.
Instead of letting this enterprise architecture sit unused, it has been completely open-sourced to achieve a higher purpose: To plant seeds of light across the digital landscape (نشر بذور النور في الأرض).
By exposing this production-ready code, the goal is to empower indie developers, support our community's digital sovereignty against central monopolies, and provide a solid foundation that saves months of development. Live registration is permanently closed, but the repository remains entirely open for community UI/UX enhancements, learning, and independent ethical self-hosting.
In an era of centralized digital monopolies and algorithmic silencing, independent thinkers and scholarly institutions face a new form of silencing: Digital Censorship (الاغتيال الرقمي). When platforms arbitrary ban channels and purge archives, relying on third-party infrastructure becomes an existential vulnerability.
Burhan is established as an Ethical & Sovereign Technical Asset (وقف تقني). It provides a secure, decentralized, and self-hosted alternative for media distribution, intellectual defense (الثغور الفكرية), and scholarly dialogue. By giving organizations absolute control over their databases, media channels, and user networks, Burhan ensures that truth remains uncensored and accessible.
Burhan is built from the ground up for high performance, multi-tenant isolation, and resilient content delivery:
Burhan employs a robust multi-tenant model where multiple organizations share a single database, yet remain completely isolated:
super_admin: Global bypass of RLS, manages the platform hub and cross-tenant services.owner: Full administrative privileges over a specific tenant organization (billing, deletion, content, managers).manager: Content creation and branch administration within the tenant organization.member: General authenticated users with read-only access to free content.A global, cross-tenant monitoring command center designed to track and refute digital misconceptions and threats:
A unified CMS supporting multiple content categories and formats with native bilingual (Arabic/English) layout support:
burhan/
├── app/ # Nuxt 4 Frontend & App Shell
│ ├── app.vue # Root component & transitions
│ ├── assets/css/main.css # Onyx/Gold global design system styles
│ ├── components/
│ │ ├── dashboard/ # RichTextEditor, FloatingSidebar, editor-toolbar
│ │ ├── hub/ # EntityCard, CategorySection
│ │ ├── premium/ # PremiumGate
│ │ ├── tenant/ # OrgHeader, BranchNav, VideoPlayer
│ │ └── ui/ # Button, Badge, GlassCard, AppSelect, Avatar
│ ├── composables/ # useUser, useOrg, useLocale, useEntities
│ ├── i18n/ # Bilingual UI translations (ar.json, en.json)
│ ├── layouts/ # default.vue (public), dashboard.vue (admin)
│ ├── middleware/ # dashboard-auth.ts, org.global.ts, observatory-auth.ts
│ ├── pages/ # File-system routing (Hub, Tenant, Observatory, Dashboard)
│ ├── types/ # Database TypeScript definitions
│ └── utils/ # localized.ts, image.ts
├── server/ # Nitro Server Engine (Cloudflare Pages compatible)
│ ├── api/ # Server routes (auth, tenant registration, observatory)
│ └── utils/ # supabase.ts (admin client factory)
├── supabase/ # Supabase database config
│ ├── migrations/ # Chronological database patches (00001 - 00009)
│ └── schema.sql # Unified database setup script (one-click setup)
├── public/ # PWA icons and loaders
├── nuxt.config.ts # Nuxt configuration
├── tailwind.config.ts # Tailwind onyx/gold theme definition
└── package.json # Dependencies & scripts
Burhan is open-source but carries strict ethical constraints. The source code and database schemas are provided as a sovereign technical asset (وقف تقني).
By cloning, deploying, or contributing to this project, you agree to the following restrictions:
Clone the repository and install dependencies:
git clone https://github.com/Ibrahem3/burhan-platform.git
cd burhan-platform
npm install
Configure environment variables:
cp .env.example .env
Open .env and fill in your Supabase project endpoints and credentials:
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_KEY=your-anon-public-key
SUPABASE_SECRET_KEY=your-service-role-key
# Optional Cloudflare Turnstile keys
NUXT_PUBLIC_TURNSTILE_SITE_KEY=your-site-key
NUXT_TURNSTILE_SECRET_KEY=your-secret-key
Setup Database Schemas:
supabase/schema.sql in your code editor, copy its entire contents, paste it into the Supabase SQL Editor, and click Run. This builds all tables, enums, triggers, security functions, RLS policies, and storage buckets in one click.Run the local server:
npm run dev
Your site will be available at http://localhost:3000.
The core backend architecture, multi-tenant security layers (RLS), API routing, database schema, and translation engines are fully optimized, solid, and production-ready.
However, the Frontend UI is currently in a functional state. We explicitly invite the open-source community to fork, contribute, and enhance the UI/UX.
git checkout -b feature/ui-enhancement).app/components/ or pages under app/pages/.Let's build a sovereign and resilient infrastructure together!
💬 Join our Discord Community: Join Ainux on Discord