Skip to main content

orbital_rapid_cli 1.0.1 copy "orbital_rapid_cli: ^1.0.1" to clipboard
orbital_rapid_cli: ^1.0.1 copied to clipboard

Generate Flutter splash/onboarding/auth flows with Riverpod, BLoC, or GetX

[Orbital Rapid CLI Logo]

๐Ÿš€ Orbital Rapid CLI #

[Orbital Rapid CLI Banner]

pub version pub points popularity CI MIT License Stars

Generate production-ready Flutter auth & onboarding flows in seconds.
Supports Riverpod ยท BLoC ยท GetX ยท Firebase ยท REST API ยท Supabase


โœจ What Is This? #

Orbital Rapid CLI is a command-line tool that scaffolds complete, production-ready Flutter application flows โ€” splash, onboarding, login, registration, forgot password, logout, and account deletion โ€” with your chosen state management and backend, in a single command.

[Orbital Rapid CLI Architecture]

No more copy-pasting boilerplate. No more spending the first week of every project writing the same screens.

orbitalRapid init
? Project name: awesome_app
? Package name: com.mycompany.awesome_app
? State management: Riverpod
? Backend: Firebase
? Screens: Splash, Onboarding, Login, Register, Forgot Password, Account Deletion
? Dark mode support: Yes
? Localization ready: Yes

โ ธ Generating project structure...    โœ…
โ ธ Generating core utils...           โœ…
โ ธ Generating theme system...         โœ…
โ ธ Generating splash screen...        โœ…
โ ธ Generating onboarding flow...      โœ…
โ ธ Generating auth screens...         โœ…
โ ธ Generating account screens...      โœ…
โ ธ Injecting dependencies...          โœ…
โ ธ Writing pubspec.yaml...            โœ…

โœ… 47 files generated in 1.8 seconds
๐Ÿ“ Project ready at: ./awesome_app/
๐Ÿ‘‰ Next: cd awesome_app && flutter pub get && flutter run

๐Ÿ“ฆ Installation #

Requires Dart SDK >=3.0.0.

dart pub global activate orbital_rapid_cli

Ensure your Dart pub global bin is in your PATH:

# Add to ~/.bashrc or ~/.zshrc
export PATH="$PATH":"$HOME/.pub-cache/bin"

Verify installation:

orbitalRapid --version
# Orbital Rapid CLI v1.0.0

๐ŸŽฏ Quick Start #

# Navigate to where you want your project created
cd ~/projects

# Run interactive setup
orbitalRapid init

Follow the prompts. Takes about 30 seconds.

Option 2 โ€” Inline Flags (No Prompts) #

orbitalRapid init \
  --name=awesome_app \
  --package=com.mycompany.awesome_app \
  --state=riverpod \
  --backend=firebase \
  --screens=all \
  --dark-mode \
  --l10n

Option 3 โ€” Config File #

# Use a saved config (great for teams)
orbitalRapid init --config=orbitalRapid.yaml

๐Ÿ–ฅ๏ธ Commands #

orbitalRapid init #

Scaffold a complete new project with selected flows.

orbitalRapid init [options]

Options:
  --name         Project name (snake_case)
  --package      Package identifier (com.company.app)
  --state        State management: riverpod | bloc | getx
  --backend      Backend: firebase | rest | supabase | none
  --screens      Comma-separated or 'all'
  --dark-mode    Include dark mode support
  --l10n         Include localization scaffolding
  --dry-run      Preview files without writing
  --config       Path to orbitalRapid.yaml config file
  --output       Output directory (default: ./<project-name>)

orbitalRapid add #

Add individual screens to an existing Flutter project.

orbitalRapid add <screen> [options]

# Examples
orbitalRapid add splash
orbitalRapid add login --state=bloc
orbitalRapid add onboarding --pages=4
orbitalRapid add account-deletion --backend=firebase

Screens: splash | onboarding | login | register |
         forgot-password | logout | account-deletion

orbitalRapid upgrade #

Upgrade CLI to the latest version.

orbitalRapid upgrade

orbitalRapid --version #

Print current CLI version.


๐Ÿ—‚๏ธ Generated Project Structure #

awesome_app/
โ”‚
โ”œโ”€โ”€ lib/
โ”‚   โ”œโ”€โ”€ core/
โ”‚   โ”‚   โ”œโ”€โ”€ utils/                    โ† โœ๏ธ  CUSTOMIZE HERE
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ app_colors.dart
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ app_gradients.dart
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ app_text_styles.dart
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ app_fonts.dart
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ app_dimensions.dart
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ app_strings.dart
โ”‚   โ”‚   โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ theme/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ app_theme.dart
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ app_dark_theme.dart
โ”‚   โ”‚   โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ constants/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ app_assets.dart
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ app_routes.dart
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ app_enums.dart
โ”‚   โ”‚   โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ network/                  โ† (REST backend only)
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ api_client.dart
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ api_endpoints.dart
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ interceptors/
โ”‚   โ”‚   โ”‚       โ”œโ”€โ”€ auth_interceptor.dart
โ”‚   โ”‚   โ”‚       โ””โ”€โ”€ logging_interceptor.dart
โ”‚   โ”‚   โ”‚
โ”‚   โ”‚   โ””โ”€โ”€ services/
โ”‚   โ”‚       โ”œโ”€โ”€ storage_service.dart
โ”‚   โ”‚       โ”œโ”€โ”€ navigation_service.dart
โ”‚   โ”‚       โ””โ”€โ”€ auth_service.dart
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ features/
โ”‚   โ”‚   โ”œโ”€โ”€ splash/
โ”‚   โ”‚   โ”œโ”€โ”€ onboarding/
โ”‚   โ”‚   โ”œโ”€โ”€ auth/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ login/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ register/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ forgot_password/
โ”‚   โ”‚   โ””โ”€โ”€ account/
โ”‚   โ”‚
โ”‚   โ””โ”€โ”€ main.dart
โ”‚
โ”œโ”€โ”€ assets/
โ”‚   โ”œโ”€โ”€ images/
โ”‚   โ”œโ”€โ”€ icons/
โ”‚   โ”œโ”€โ”€ fonts/
โ”‚   โ””โ”€โ”€ lottie/
โ”‚
โ”œโ”€โ”€ test/
โ”œโ”€โ”€ pubspec.yaml
โ””โ”€โ”€ orbitalRapid.yaml

๐ŸŽจ Customization (After Generation) #

Your only job after running the CLI:

File What to change
app_colors.dart Your brand hex values
app_fonts.dart Your font family name
app_text_styles.dart Font sizes and weights
app_dimensions.dart Spacing and radius values
app_strings.dart All text content and copy
app_gradients.dart Gradient colors
app_assets.dart Image and icon paths

Everything else โ€” every screen, every widget, every state class โ€” reads from these files automatically.


โš™๏ธ State Management Support #

Feature Riverpod BLoC GetX
State classes โœ… โœ… โœ…
Events โ€” โœ… โ€”
Notifiers / Controllers โœ… โ€” โœ…
Dependency injection โœ… โœ… โœ…
Test generation โœ… โœ… โœ…

๐Ÿ”Œ Backend Support #

Feature Firebase REST API Supabase None
Login โœ… โœ… โœ… Stub
Register โœ… โœ… โœ… Stub
Logout โœ… โœ… โœ… Stub
Forgot password โœ… โœ… โœ… Stub
Account deletion โœ… โœ… โœ… Stub
Token refresh โ€” โœ… โœ… โ€”
Social auth โœ… โ€” โœ… โ€”

๐Ÿค Contributing #

We welcome contributions! See CONTRIBUTING.md for guidelines.

Ways to contribute:

  • ๐Ÿ› Report bugs via GitHub Issues
  • ๐Ÿ’ก Request features via Discussions
  • ๐Ÿงฉ Add new screen templates
  • ๐Ÿ”Œ Add new backend adapters
  • ๐ŸŒ Add localization support
  • โœ… Write tests

๐Ÿ“„ License #

MIT ยฉ Bony Yamin


Made with โค๏ธ for the Flutter community
โญ Star us on GitHub

1
likes
0
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

Generate Flutter splash/onboarding/auth flows with Riverpod, BLoC, or GetX

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, collection, interact, mason_logger, mustache_template, path, yaml, yaml_edit

More

Packages that depend on orbital_rapid_cli