#sprig #spade #hackclub #command-line-tool #serial-port

app spade-upload

Command line utility to upload games to a Sprig device

2 releases

0.1.1 Jan 5, 2025
0.1.0 Dec 8, 2024

#699 in Command line utilities

Download history 137/week @ 2024-12-03 26/week @ 2024-12-10 132/week @ 2024-12-31 15/week @ 2025-01-07

147 downloads per month

MIT license

19KB
261 lines

spade-upload

Command-line utility which uploads games to a device running Spade, like the Sprig console.

Usage

Connect the Sprig to a device with spade-upload, then run pass the device, game name, and game path to it. Alternatively, pipe the game source to spade-upload instead of providing a path.

Reference

The same information can be accessed with spade-upload -h

Usage: spade-upload <DEVICE> <NAME> [SOURCE]

Arguments:

  • <DEVICE>: The serial port of the Sprig device
  • <NAME>: The name that the game should appear under. Limited to 100 bytes
  • [SOURCE]: Path to the JavaScript source of a Sprig game. If not specified, the game is read from stdin

Options:

  • -h, --help: Print help
  • -V, --version: Print version

Dependencies

~2.8–3.5MB
~72K SLoC