[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-11441":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},11441,"build-with-claude","moremas\u002Fbuild-with-claude","moremas","A hands-on way to see Claude Code turn ideas into reality. Attendees describe what they want to build and watch it come to life on a Cardputer in minutes, from practical tools to playful experiments. The Cardputer goes home with them and becomes memorable CwC merch, ready for whatever they create next.",null,"Python",139,34,1,3,0,11,19,83,33,82.43,"Apache License 2.0",false,"main",true,[],"2026-06-12 04:00:55","# m5stack\n\nFlash a Cardputer-Adv and install the Claude Buddy apps in one command.\n\n## Quick start\n\n1. Clone this repo locally — anywhere is fine:\n   ```bash\n   git clone \u003Crepo-url>\n   ```\n   The skill auto-detects the buddy bundle relative to its own install location, so the clone path doesn't matter. `~\u002FDownloads\u002Fm5stack\u002F` and `~\u002FDesktop\u002Fm5stack\u002F` are also checked as conventional fallbacks.\n2. Plug the Cardputer into your laptop via USB-C\n3. Open Claude Code and start a new chat\n4. Point Claude Code to the repo folder\n5. Type `m5-onboard go`\n\nThat's it — Claude will automatically flash the firmware and push the apps onto the device.\n\n### When Claude prompts you to put the device into download mode\n\nHalfway through, Claude will pause and ask you to do this on the **back** of the device:\n\n1. Hold down the **G0** button on the Cardputer\n2. While still holding G0, press the **Reset** button\n3. Release Reset first, then release G0\n4. The screen goes dark — device is in download mode\n\nClaude takes over from there.\n\n### What happens next\n\n- **Firmware writes to the device** (~180 seconds)\n- **Apps push to the device** (~100 seconds)\n- **Device reboots** straight into the launcher — pick an app and go\n\nDone. Power the device on\u002Foff with the side switch.\n\n---\n\n## Using Claude Buddy (BLE)\n\n1. Power on the Cardputer\n2. Pick **Claude Buddy** from the launcher menu\n3. In Claude Desktop: **Help → Troubleshooting → Enable Developer Tools** (one-time, persists)\n4. Then **Developer menu → Hardware Buddy → Connect**\n\n## Event WiFi\n\nThe bundled launcher auto-connects to the event WiFi (`cardputer` \u002F `cardconnect`) on every boot and displays the result on screen — `Connected · IP: 192.168.x.x` on success, `WiFi: offline` on failure (the launcher always continues either way). The credentials are intentionally checked into [`buddy\u002Fdevice\u002Fwifi_event.py`](buddy\u002Fdevice\u002Fwifi_event.py); the AP is publicly broadcast at the venue and the password is the published handout, so this is not a leaked secret. To use this bundle outside the event, edit `wifi_event.py` (replace `SSID`\u002F`PASSWORD`) or remove the `_connect_wifi_with_splash()` call near the top of `main()` to disable the auto-connect entirely.\n\n## Adding your own app\n\n1. Drop a `.py` file into `buddy\u002Fdevice\u002Fapps\u002F`\n2. Push just the apps without re-flashing:\n   ```bash\n   python3 .claude\u002Fskills\u002Fm5-onboard\u002Fscripts\u002Finstall_apps.py --port \u003CPORT> --src buddy\n   ```\n3. The launcher auto-discovers the new app on next boot\n\nCrib from `buddy\u002Fdevice\u002Fapps\u002Fhello_cardputer.py` — it's the smallest example of the conventions (keyboard polling, font, exit behaviour).\n\n## Getting back to stock UIFlow\n\nThe buddy bundle takes over the boot flow via `\u002Fflash\u002Fmain.py`. Remove\nthat file and UIFlow's stock launcher boots normally on the next reset.\nFrom the device REPL:\n\n```python\nimport os\nos.remove('\u002Fflash\u002Fmain.py')\nimport machine; machine.reset()\n```\n\nTo also drop the apps under `\u002Fflash\u002Fapps\u002F`, walk that directory the\nsame way and remove what you don't want.\n\nIf you want a fresh UIFlow firmware on top, re-run `m5-onboard go`\n_without_ `--apps`: the skill flashes UIFlow and stops, leaving the\nfilesystem alone. The previous `boot_uiflow.py`-rename procedure here\nreferred to a backup that `install_apps.py` only creates when the\nbundle ships its own root `boot.py`; the buddy bundle doesn't, so\nthat backup never exists for these users.\n\n---\n\n## Prerequisites\n\nYou need **Python 3.10+**, **git**, and **Claude Code** on your laptop. `pyserial` ships vendored inside `.claude\u002Fskills\u002Fm5-onboard\u002Fscripts\u002Fvendor\u002F`. `esptool` is GPL-licensed and is **not** vendored — the skill auto-installs it via pip on first run if it isn't already in your environment, so the user-facing experience is still a single command. To pre-install explicitly: `python3 -m pip install --user -r requirements.txt`.\n\nBootstrap if needed:\n\n- **macOS** — `python3` usually pre-installed; if not, `brew install python`\n- **Linux (Debian\u002FUbuntu)** — `sudo apt-get install -y python3 python3-pip git`\n- **Windows** — `winget install -e --id Python.Python.3.13` and `winget install -e --id Git.Git`\n\n**Windows + older boards only:** the CH9102 USB-UART driver is needed for Basic \u002F Fire \u002F Core2 \u002F StickC. Download from [WCH](https:\u002F\u002Fwww.wch.cn\u002Fdownloads\u002FCH343SER_EXE.html). Cardputer-Adv and CoreS3 use the in-box composite-USB driver and need nothing extra.\n\n**Want `--apps buddy` to point at a different bundle?** The default resolves to the `buddy\u002Fdevice\u002F` directory next to the skill in this repo, with `~\u002FDownloads\u002Fm5stack\u002F` and `~\u002FDesktop\u002Fm5stack\u002F` checked as fallbacks. To override (e.g. you maintain a fork or have a customized bundle elsewhere), set `M5_BUDDY_DIR`:\n\n```bash\nexport M5_BUDDY_DIR=\u002Fpath\u002Fto\u002Fbuddy\u002Fdevice\n```\n\n## Troubleshooting\n\n- **Download-mode prompt keeps retrying** — you're releasing G0 too early. Release Reset first, keep holding G0 for about a second, then release.\n- **\"No USB-UART bridge found\" (older boards)** — install the CH9102 driver on Windows; on macOS\u002FLinux, unplug and replug.\n- **Claude Buddy never connects over BLE** — make sure the buddy launcher (not UIFlow's) owns `\u002Fflash\u002Fmain.py`. The skill handles this automatically on install.\n- **Something else feels broken** — run `python3 .claude\u002Fskills\u002Fm5-onboard\u002Fscripts\u002Fsmoke_test.py --port \u003CPORT>` for an I2C + LCD + speaker + button check.\n\n## What's in this repo\n\n- **`.claude\u002Fskills\u002Fm5-onboard\u002F`** — the Claude Code skill. Detect port, flash UIFlow, install apps. See [`.claude\u002Fskills\u002Fm5-onboard\u002FSKILL.md`](.claude\u002Fskills\u002Fm5-onboard\u002FSKILL.md) for the full playbook and every gotcha baked into the scripts.\n- **`buddy\u002F`** — the MicroPython app bundle that gets installed. See [`buddy\u002FREADME.md`](buddy\u002FREADME.md) for device-side layout and iteration tooling.\n\nThe two are decoupled by design: the `m5-onboard` skill can install any bundle via `--apps \u003Cpath>`; `buddy` is just what ships here.\n\n## License\n\nThis project's own code is licensed under **Apache 2.0** — see [`LICENSE`](LICENSE) and [`NOTICE`](NOTICE).\n\n`pyserial` (BSD-3-Clause, Apache-compatible) is the only third-party package bundled in `.claude\u002Fskills\u002Fm5-onboard\u002Fscripts\u002Fvendor\u002F`. `esptool` (GPLv2+) is intentionally not vendored; it's declared as a pip dependency in [`requirements.txt`](requirements.txt) so the repository itself stays cleanly Apache-2.0. See [`LICENSE-THIRD-PARTY.md`](LICENSE-THIRD-PARTY.md) for details.\n","moremas\u002Fbuild-with-claude 项目提供了一种直观的方法，让参与者通过Claude Code将创意快速转化为现实中的Cardputer设备上的应用程序。该项目的核心功能包括一键式固件烧录与应用安装，支持用户从实用工具到趣味实验的各种想法实现。它使用Python语言编写，具备易用性和灵活性，适合编程爱好者、教育者及任何希望快速原型化自己想法的人士在工作坊或个人学习场景中使用。通过简单的步骤即可完成设备初始化，并且允许用户轻松添加自定义应用，为创新提供了无限可能。",2,"2026-06-11 03:31:51","CREATED_QUERY"]