-
-
Notifications
You must be signed in to change notification settings - Fork 15
CLI Reference
github-actions[bot] edited this page Jan 14, 2026
·
1 revision
The Blinc CLI simplifies creating and building mobile projects.
blinc new my-app --template rustThis creates a new Blinc project with:
- Cargo.toml configured for mobile targets
- Platform directories for Android and iOS
- Build scripts for each platform
- Example UI code
blinc new <name> [options]
Options:
--template <type> Project template (rust, swift, kotlin)
--platforms <list> Target platforms (desktop,android,ios)
--no-git Skip git initializationblinc build androidOptions:
blinc build android [options]
Options:
--release Build in release mode
--target <arch> Target architecture (arm64-v8a, armeabi-v7a, x86_64, x86)
--all-targets Build for all architecturesblinc build iosOptions:
blinc build ios [options]
Options:
--release Build in release mode
--device Build for physical device only
--simulator Build for simulator onlyblinc run androidThis will:
- Build the native library
- Build the APK with Gradle
- Install on connected device/emulator
- Launch the app
Options:
blinc run android [options]
Options:
--release Run release build
--device <id> Target specific device (from adb devices)
--no-install Build only, don't installblinc run iosThis will:
- Build the static library
- Open Xcode project
- Build and run on selected target
Options:
blinc run ios [options]
Options:
--release Run release build
--simulator <name> Target specific simulator
--device Run on physical deviceThe project configuration file:
[project]
name = "my-app"
version = "0.1.0"
template = "rust"
entry = "Cargo.toml"
[targets]
default = "desktop"
supported = ["desktop", "android", "ios"]
[targets.desktop]
enabled = true
command = "cargo run --features desktop"
[targets.android]
enabled = true
platform_dir = "platforms/android"
[targets.ios]
enabled = true
platform_dir = "platforms/ios"
[build]
blinc_path = "../.." # Path to Blinc framework| Key | Description | Default |
|---|---|---|
project.name |
Project name | Required |
project.version |
Version string | "0.1.0" |
project.template |
Template type | "rust" |
targets.default |
Default build target | "desktop" |
targets.supported |
List of supported platforms | ["desktop"] |
build.blinc_path |
Path to Blinc framework | "../.." |
# Clean all build artifacts
blinc clean
# Clean specific platform
blinc clean android
blinc clean ios# Validate project configuration
blinc check
# Check specific platform setup
blinc check android
blinc check iosThis verifies:
- Required tools are installed
- Environment variables are set
- Project configuration is valid
Getting Started
Mobile Development
Example Gallery
- Example Gallery
- Canvas Element
- Canvas Kit Interactive
- Carousel Demo - Selector API Showcase
- Chrome-Style Tabs
- blinc_cn Components
- Code Element
- Complex SVG
- CSS Debug
- CSS Visual Features
- Layer Effects
- Emoji and HTML Entities
- @flow Shader
- Fluid Surface
- Skeleton animation with glTF +
blinc_canvas_kit. DrawContext::run_gpu_passend-to-end demo.- Image CSS Styling
- Image Layer Test
- Keyframe Animation Canvas
- Markdown Editor
- 3D Mesh Demo — renders the Khronos glTF
DamagedHelmetsample model - Motion Demo
- Music Player Glass Card
- Node-editor demo — pre-wired graph with three node types, typed
- Notch Menu Bar
- Overflow Fade
- Overlay System
- Pointer Query
- Rich Text Element
- Rich Text Editor
- Scroll Container
- Semantic @flow
- Sortable
- Stateful API + Signal-bound modifiers demo.
- End-to-end 3D demo wiring Blinc's SceneKit3D renderer up to
- Unified Styling API
- SVG Animation
- Table Builder
- Tabler Icons
- Minimal text positioning test
- Text Input Widgets
- KHR_texture_transform
- Theme System
- Timeline Animation
- Typography
- Video Player
- Wet Glass
- Windowed Application
Web Development
Core Concepts
- Elements & Layout
- Styling & Materials
- CSS Styling
- Theming
- Event Handling
- State Management
- Element Refs
Animation
Components
Component Library (blinc_cn)
Widgets
- Buttons & Inputs
- Text & Rich Text
- Code Editor
- Scroll Containers
- Virtualized List
- Canvas Drawing
- Images & SVG
- Audio & Video
- Markdown Rendering
Canvas Kit
Advanced
- Routing & Navigation
- Multi-Window
- System Integration
- Element Query API
- Overlay System
- Custom State Machines
- Pointer Query
- Performance Tips
- Flow Shaders
- 3D Rendering
- Custom GPU Passes
- Hot-reload (experimental)
Architecture
Contributing