A JavaScript-driven M5Stack-embedded super-kawaii robot.
  • TypeScript 66%
  • JavaScript 29.1%
  • C 2.3%
  • Python 1.8%
  • Shell 0.4%
  • Other 0.4%
Find a file
Shinya Ishikawa b31bc0d9c8
Merge pull request #691 from stack-chan/feat/jitome-face
feat(firmware): CoreS3にJitomeFaceを追加
2026-09-19 22:03:52 +09:00
.changeset feat!: migrate firmware and web tools to Moddable SDK 9.5 2026-09-06 00:50:22 +09:00
.github Merge develop into SDK 9.5 migration 2026-09-06 16:12:50 +09:00
case chore: reconcile main for v1.0.0 release 2026-07-21 00:20:16 +09:00
docs Merge remote-tracking branch 'origin/develop' into feat/jitome-face 2026-09-19 21:28:49 +09:00
firmware test(firmware): require complete Jitome validation 2026-09-19 22:03:31 +09:00
schematics Update README.md 2023-11-17 23:27:02 +09:00
web Merge develop into SDK 9.5 migration 2026-09-06 16:12:50 +09:00
.coderabbit.yaml chore: migrate agent guidance to AGENTS.md 2026-07-22 00:29:40 +09:00
.editorconfig chore: add root editorconfig defaults (#380) 2026-05-11 00:50:07 +09:00
.gitignore Merge remote-tracking branch 'origin/develop' into feat/android-usb-audio 2026-07-25 18:46:54 +09:00
.gitmodules remove submodules 2024-11-16 23:45:12 +09:00
AGENTS.md perf(ci): parallelize release bundle builds 2026-07-25 07:42:59 +09:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-01-10 16:35:23 +09:00
CODE_OF_CONDUCT_ja.md Add code of conduct(ja) 2022-02-15 23:12:08 +09:00
CONTRIBUTING.md chore: prepare v1.0.0 release 2026-07-21 09:57:09 +09:00
GUIDELINE.md migrate from meganetaaan to stack-chan organization 2024-08-09 14:01:33 +09:00
GUIDELINE_ja.md Fix typo in GUIDELINE_ja.md 2026-01-22 14:33:33 +09:00
lefthook.yml firmware の Biome チェックを厳格化 (#468) 2026-06-17 01:10:29 +09:00
LICENSE Add license 2021-07-03 13:53:24 +09:00
README.md docs: feature block editor screenshots in top READMEs 2026-08-01 00:13:13 +09:00
README_ja.md docs: feature block editor screenshots in top READMEs 2026-08-01 00:13:13 +09:00
REVIEW_firmware-rearch_ja.md [codex] Firmware rearchitecture migration (#497) 2026-07-07 14:18:13 +09:00

Stack-chan

Build Stack-chan Firmware Discord server invitation

日本語

stackchan

Stack-chan is an open-source, JavaScript-driven, super-kawaii robot built with M5Stack.

This repository provides firmware with M5StackChan CoreS3 as its standard configuration, user applications called MODs, browser development tools, cases, and schematics.

Getting started

If this is your first Stack-chan, start with a preassembled M5StackChan and the browser tools.

1. Get an M5StackChan

The standard M5StackChan AI Desktop Robot (K151) package is enough to get started. The joystick remote controller is optional.

2. Flash the firmware

Connect M5StackChan to a computer with a data-capable USB cable, then open the Web firmware installer in Chrome or Edge. Select "M5StackChan CoreS3" as the device. You do not need to install the Moddable SDK or ESP-IDF.

Important

Flashing this repository's firmware replaces the factory firmware supplied by M5Stack. To restore it, follow the restore procedure in the M5Stack product documentation and use M5Burner.

Web firmware installer

3. Try a MOD

Find published MODs and mini apps in the MOD Gallery. Choose a MOD, then run it in the simulator or install it on a device. Block-based samples can be opened directly in the block editor and changed.

MOD Gallery

Browser tools

Use the Stack-chan browser tools to set up a device, change its preferences, and create MODs in a browser.

Stack-chan browser tools home screen

Tool Purpose
Firmware installer Flash firmware to a supported M5Stack over USB
Preferences Change Wi-Fi and device preferences over BLE
MOD Gallery Find, try, and install published MODs
Block editor Create MODs with Blockly and run them in the simulator or on a device
Shape face editor Arrange eyes and a mouth to create a custom Face
Simulator Run MODs with the WebAssembly firmware and a 3D model
MediaPipe BLE tracking Send tracked face and hand movement over BLE

Block editor

Supported hardware

The distributed firmware supports M5Stack, M5Stack Core2, M5Stack CoreS3, and M5StackChan CoreS3. M5StackChan CoreS3 is the standard configuration and the target used for physical-device release validation.

Firmware for Stack-chan RT and Takao Core2 + SG90 can be built from source. See the firmware guide for target-specific commands and constraints.

To build the hardware yourself, see the case guide for parts and assembly instructions. See the schematics for board information.

Repository contents

  • firmware: Host firmware, modules, MODs, and development scripts
  • web: Firmware installer, preferences, editors, Gallery, and simulator
  • case: Case models for 3D printing
  • schematics: Schematics and board layouts
  • docs: Roadmap, specifications, operations guides, and release notes

Development

Contributing

Feature requests, bug reports, and pull requests are welcome. Read the contribution guide, or open an issue.

To support the project financially, visit the GitHub Sponsors page.

License

The resources in this repository are distributed under the Apache License 2.0. See LICENSE.

BibTeX

@misc{stackchan,
  author       = {Shinya Ishikawa and the Stack-chan community},
  title        = {Stack-chan: A JavaScript-driven Super-kawaii Robot},
  year         = {2021},
  howpublished = {\url{https://github.com/stack-chan/stack-chan}},
  note         = {Open-source hardware and software.},
}