Hector-Zhuang/nebula
소개
An enterprise-grade SuperApp framework powered by React Native
웹 및 앱 개발What you can do
- 🏗️ Host + MiniApp Architecture — Decouple the native host from business modules for independent development and release cycles.
- 🛠️ CLI with Project Scaffolding — Rapidly bootstrap hosts, MiniApps, and shared libraries through the nebula CLI.
- 📦 Cross-platform UI Component Library — Ship consistent user experiences across iOS and Android with @nebula-rn/components.
- ☁️ Cloud Platform & Management Console — Manage MiniApp lifecycle, releases, and analytics via Nebula Cloud and the admin console.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Nebula
An enterprise-grade SuperApp framework powered by React Native
What is Nebula?
Nebula is an enterprise-grade SuperApp framework built on top of React Native. It enables organizations to deliver a unified native host application while empowering multiple teams to develop, ship, and iterate on independent MiniApps in a true micro-frontend fashion.
Designed for scale, Nebula separates the host runtime from business MiniApps through a clean SDK boundary, giving large engineering organizations the agility to deploy features independently without rebuilding or redeploying the entire application.
Key Features
- 🏗️ Host + MiniApp Architecture — Decouple the native host from business modules for independent development and release cycles.
- 🛠️ CLI with Project Scaffolding — Rapidly bootstrap hosts, MiniApps, and shared libraries through the
nebulaCLI. - 📦 Cross-platform UI Component Library — Ship consistent user experiences across iOS and Android with
@nebula-rn/components. - ☁️ Cloud Platform & Management Console — Manage MiniApp lifecycle, releases, and analytics via Nebula Cloud and the admin console.
- 🔌 Extensible Host API System — Expose native capabilities to MiniApps through a well-defined, pluggable host API layer.
- 🚀 Hot Reload Development Experience — Develop MiniApps with fast refresh and a universal dev runner for rapid iteration.
Quick Start
Get started with Nebula in five simple steps:
The CLI is published as
@nebula-rn/cli. The barenebulaname on npm belongs to an unrelated package, so always use the scoped name (the binary itself is stillnebula).
1. Create a host project
npx @nebula-rn/cli create host my-host
2. Create a MiniApp
npx @nebula-rn/cli create miniapp my-miniapp
cd my-miniapp
npm install
3. Start the dev runner
npx @nebula-rn/cli miniapp dev
The dev command launches a universal Dev Runner automatically. To scaffold your own Dev Runner project — for example to simulate custom host APIs for miniapp developers — use the runner template:
npx @nebula-rn/cli create runner my-runner
cd my-runner
npm install
4. Build the MiniApp bundle
npx @nebula-rn/cli miniapp build
5. Upload to Nebula Cloud (optional)
npx @nebula-rn/cli auth login
npx @nebula-rn/cli miniapp upload
You can also install the CLI globally:
npm install -g @nebula-rn/cli
For platform-specific run instructions, explore the examples/ directory.
Packages
| Package | Path | Description |
|---|---|---|
@nebula-rn/client |
packages/api |
Nebula miniapp client API surface |
@nebula-rn/cli |
packages/cli |
Nebula CLI |
@nebula-rn/components |
packages/components |
Nebula UI Components for React Native |
@nebula-rn/dev-runner |
packages/dev-runner |
Nebula universal development runner |
@nebula-rn/host |
packages/host |
Nebula native-first host integration package |
@nebula-rn/host-apis |
packages/host-apis |
Official Nebula host API feature bundle |
@nebula-rn/cloud |
packages/nebula-cloud |
Nebula Cloud backend service |
@nebula-rn/nebula-console |
packages/nebula-console |
Nebula management console |
@nebula-rn/docs |
packages/nebula-docs |
Nebula documentation site |
@nebula-rn/sdk |
packages/nebula-sdk |
Nebula Mini-App Framework SDK |
@nebula-rn/template |
packages/template |
Starter templates for Nebula CLI |
Examples
The examples/ directory contains sample SuperApp projects that demonstrate how to integrate the host application with multiple MiniApps. These examples are the best way to learn Nebula patterns and conventions.
Documentation
Full documentation is available at nebula.hector.im:
Contributing
We welcome contributions from the community. Please read our Contributing Guide for details on how to submit issues, propose features, and open pull requests.
License
Nebula is licensed under the Apache License 2.0.
관련 프로젝트 살펴보기
불러오는 중…