Fantasi 是一个统一固件与主机 CLI,可运行于 Flipper Zero、Kiisu、Chameleon Ultra 和 Proxmark3 等多种硬件设备,提供一致的接口、文件系统、应用加载和蓝牙支持。

Stars

43

7 天增长

暂无数据

Fork 数

8

开放 Issue

0

开源协议

GPL-3.0

最近更新

2026-07-18

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它将多款流行的渗透测试与硬件黑客设备整合到同一固件下,提供统一的 CLI 和应用生态,简化了跨设备的开发与使用。

适合谁使用

  • Flipper Zero、Kiisu、Chameleon Ultra、Proxmark3 用户
  • 固件开发者与嵌入式工程师
  • 硬件黑客与渗透测试人员
  • 希望为多种设备使用统一平台的创客

典型使用场景

  • 在多个设备上使用同一固件以实现一致的行为
  • 通过通用 API 在任何支持的硬件上开发并运行 ELF 应用
  • 通过主机 CLI 或蓝牙管理文件、刷写固件以及控制设备
  • 测试和比较不同平台的射频/无线电能力

项目优势

  • 使用单一构建系统支持多种 MCU 架构(Cortex-M4、ARM7TDMI 等)
  • 自动检测连接的设备进行刷写,无需手动选择目标
  • 内置 LittleFS 文件系统和静态编译 ELF 应用加载器
  • 包含支持 USB 串口和蓝牙连接的主机 CLI,并带有丰富的命令集

使用前须知

  • 部分目标(Proxmark5、Kiisu Smol、Kode Dot)标注为“即将推出”,尚未可用
  • 构建需要 arm-none-eabi-gcc 及外部库(libreadline、libsystemd),可能未预装
  • 蓝牙配对需从设备 USB 日志中获取密码,增加了设置步骤

README 快速开始

Supported targets

TargetMCUFlash tool
Flipper ZeroSTM32WB55 (Cortex-M4)dfu-util via ROM DFU
KiisuSTM32WB55 (Cortex-M4)dfu-util via ROM DFU
Chameleon UltranRF52840 (Cortex-M4)nrfutil DFU
Proxmark3AT91SAM7S256/512 (ARM7TDMI)tools/pm3_flasher.py (pyserial)
Proxmark5AT32F435Coming soon
Kiisu SmolSTM32WB55 (Cortex-M4)Coming soon
Kode DotESP32-S3Coming soon

Build

make                        # build every firmware + the host CLI
make PLATFORM=flipper       # STM32WB55 (Cortex-M4)
make PLATFORM=kiisu         # STM32WB55 (Cortex-M4)
make PLATFORM=chameleon     # nRF52840  (Cortex-M4)
make PLATFORM=proxmark3     # AT91SAM7S (ARM7TDMI)
make cli                    # host CLI only (build/cli/fantasi)
make clean                  # remove all build artifacts (or PLATFORM= for one)
make help                   # list targets

A bare make builds all three firmwares and the host CLI; make clean wipes the build/ tree. Pass PLATFORM= to scope to a single firmware, or make cli to build only the host CLI.

The firmware builds need arm-none-eabi-gcc and git on PATH; TinyUSB and LittleFS are auto-cloned on demand (pinned to known-good tags). The host CLI is built with the system cc and needs libreadline (and libsystemd for BLE).

Artifacts land in build/:

TargetOutput
flipperbuild/flipper/fantasi-flipper.{elf,bin}
kiisubuild/flipper/fantasi-kiisu.{elf,bin}
chameleonbuild/chameleon/fantasi-chameleon.{elf,bin,hex}
proxmark3build/proxmark3/fantasi-proxmark3.{elf,bin}
host CLIbuild/cli/fantasi

Flash

make flash                  # auto-detect the connected device + flash it
make PLATFORM= flash  # force a specific target

With no PLATFORM, make flash auto-detects the single connected board - by querying a running Fantasi's device id, or by spotting a board already sitting in its DFU mode. If more than one device is connected it refuses to flash rather than guess; pass PLATFORM= to disambiguate.

A successful flash is indicated by a solid blue LED.

If the device is already running Fantasi, the flasher (tools/flash.py) uploads changed resources via MSC, sends dfu over CDC serial, and flashes with the platform's tool. On first flash it falls back to a manual DF

项目描述

Fantasi firmware

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

Infatoshi
精选
Infatoshi GitHub avatar

netherite

A from-scratch C/CUDA reimplementation of Minecraft 1.11.2 that is bit-verified against the original Java game and includes batched CUDA reinforcement learning support.

AI 与机器学习大语言模型
242
nsdkinx
精选
nsdkinx GitHub avatar

twell

Twell is a tiny, embeddable, zero-allocation physics engine for interruptible, Apple-style UI animations, available as a single-header C library with Python bindings.

移动开发设计与创意
17
sqliteai
精选
sqliteai GitHub avatar

waste

WASTE is a C-based inference engine that streams MoE experts from disk to run a 2.78 trillion-parameter model on a consumer laptop with 64 GB RAM.

数据与数据库数据工程
14