FAST-CLI

An Efficient Way to Build App Inventor Extensions For MIT App Inventor 2

No class-level annotations except @DesignerComponent

Simple & Powerful

FAST-CLI simplifies the process of building MIT App Inventor extensions with just a few commands.

Terminal
# Creating a new extension
$ fast create MyExtension
> Enter package name: com.example.myextension
> Enter author name: Your Name
> Select language (Java or Kotlin) [Default: Java]: Java
> Done.

# Building your extension
$ fast build -r
> Building MyExtension...
> Success! Your extension is available in the out directory.

Features

FAST-CLI offers powerful features to streamline your extension development workflow.

Dynamic Kotlin Support
Seamless support for both Java and Kotlin languages for extension development.
Simple Commands
Streamlined CLI with 7 powerful commands to manage the entire development cycle.
Dependency Management
Gradle and Maven dependency resolvers for easy integration of external libraries.
Code Optimization
Built-in ProGuard and R8 shrinker support for smaller and optimized extensions.
Project Migration
Easily migrate Rush, extension-template & AI2 source based projects to FAST.

Common Use Cases

Here are some common use cases for FAST-CLI and how it can help streamline your development workflow.

Creating UI Components

Build custom UI components for App Inventor like buttons, sliders, or charts that extend beyond the built-in components.

$ fast create MyCustomButton
$ fast build -r -o

Integrating External Libraries

Easily add external Java or Kotlin libraries to your App Inventor projects by using FAST-CLI's dependency management.

# In fast.yml
dependencies:
  - guava-31.1-android.jar
  - retrofit-2.9.0.jar

Multi-Component Extensions

Create extension packages with multiple related components bundled together, reducing the need for separate extensions.

# Create multiple Java files
# Each with @DesignerComponent
# All bundled in a single AIX

Migrating Existing Projects

Convert your existing App Inventor extension projects to FAST-CLI format for better maintainability and features.

# Navigate to existing project
$ fast migrate
# Follow the prompts

Ready to Get Started?

Join developers who use FAST-CLI to build powerful App Inventor extensions.

Installation Guide