fastforgedev/fastforge
Sobre
Distribua cada aplicativo mais rapidamente aos seus usuários — compile, empacote e publique com uma única configuração clara. Alcance formatos populares de distribuição e lojas de aplicativos, integrando-se naturalmente ao seu pipeline de CI/CD.
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- +2
- em 1 mês
- +2
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Original
Ship every app faster to your users.
Build, package, analyze, and publish apps across mobile, desktop, and web from one CLI.
Website · Documentation · In-Repo Docs · Legacy Dart Docs · 简体中文
[!NOTE] Fastforge 0.7.0 (formerly Flutter Distributor) ships as a standalone native binary written in Rust with zero runtime dependency on the Dart SDK. New project configuration lives in
.fastforge/and automation runs via local workflows. The legacy Dart CLI (distribute_options.yaml/release) remains available for compatibility — see legacy.fastforge.dev.
Installation
macOS & Linux:
curl -fsSL https://fastforge.dev/install.sh | sh
Windows (PowerShell):
iwr https://fastforge.dev/install.ps1 | iex
Verify the installation or update to the latest release at any time:
fastforge --version
fastforge upgrade
See the installation guide for version pinning, manual downloads, and uninstalling.
Quick Start
1. Package & Publish
Run commands from your project root:
# Build and package an Android APK or macOS DMG
fastforge package --platform android --target apk
fastforge package --platform macos --target dmg
# Publish an existing artifact
fastforge publish --path dist/your-app-1.0.0+1-android.apk --target github
# Inspect an artifact (.apk, .aab, .ipa, .dmg, .app)
fastforge analyze dist/your-app-1.0.0+1-android.apk
2. Automate with Local Workflows
Define repeatable build, package, and publish pipelines in .fastforge/workflows/release.yml:
name: Release Android
on:
workflow_dispatch:
inputs:
flavor:
description: Build flavor
default: production
jobs:
package:
name: Package Android app
steps:
- name: Create APK
uses: fastforgedev/actions/package
with:
platform: android
target: apk
output: dist/
build-args: '{"flavor":"${{ inputs.flavor }}"}'
fastforge workflow run .fastforge/workflows/release.yml
See Getting Started, CLI Reference, and Local Workflows for full details.
Supported Platforms
Builders
| Builder | Target Platforms | Docs |
|---|---|---|
| Flutter | Android, iOS, OpenHarmony, Linux, macOS, Windows, Web | Guide |
| Gradle | Android | Guide |
| Xcode | iOS, macOS (including CrossXcodeBuild) | Guide |
| .NET | Windows (WinUI 3 / .NET) | Guide |
| Custom | Any platform via custom build command | Guide |
Package Formats
| Platform | Formats |
|---|---|
| Android | AAB, APK |
| iOS | IPA |
| OpenHarmony | HAP, APP |
| Linux | AppImage, DEB, RPM, Pacman, Flatpak, Nix, ZIP / direct, tar.gz |
| macOS | DMG, PKG, ZIP, tar.gz |
| Windows | EXE, MSIX, ZIP / direct, tar.gz |
| Web | ZIP / direct, tar.gz |
| Any | Custom packaging commands |
Publishers
| Category | Targets |
|---|---|
| App Stores | App Store, Play Store, AppGallery |
| Beta & Hosting | Firebase, Firebase Hosting, FIR, PGYER, Vercel |
| Git & Linux Repos | GitHub Releases, Gitea / Forgejo, APT & Pacman repos, AUR |
| Object Storage | S3 / MinIO, Qiniu, Alibaba Cloud OSS, Tencent Cloud COS |
| Custom | Custom shell command |
CI/CD Integration
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
- name: Install Fastforge
run: curl -fsSL https://fastforge.dev/install.sh | sh
- name: Package APK
run: fastforge --no-version-check package --platform android --target apk
- name: Publish to GitHub Releases
run: fastforge --no-version-check publish --path dist/*.apk --target github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Ecosystem & Tools
- Examples: hello_world, multiple_flavors, custom_binary_name, desktop_flavors
- Agent Skills: Skills for Claude and other Agent-Skills-compatible tools live in
skills/— install withnpx skills add fastforgedev/fastforge(guide)
Who's Using It?
- Biyi — A convenient translation and dictionary app.
- Qianji — A clean personal bookkeeping app.
- Airclap — Send any file to any device, cross-platform and ultra fast.
Contributing
- Rust CLI & core crates (
apps/cli/,crates/): requires a stable Rust toolchain supporting the 2024 edition. - Legacy Dart packages (
packages/): development and CI use Flutter 3.47.6 stable and Dart 3.13.5 (see ci.yml).
See AGENTS.md for repository layout, environment setup, and validation commands.
- Fork the repository and create a branch (
git checkout -b feature/amazing-feature) - Make your changes with tests and follow the repository style
- Open a Pull Request
Contributors
License
Explore projetos relacionados
Carregando…