- TypeScript 99.7%
- Standard ML 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017vw8dyKi9X9AgqbaPS28uY |
||
| mods | ||
| .gitignore | ||
| longshot-repo.json | ||
| longshot-repo.json.sig | ||
| longshotmods.heart-log_0.1.0.lsmod | ||
| longshotmods.kept-chest_0.1.0.lsmod | ||
| longshotmods.map-journal_0.1.0.lsmod | ||
| longshotmods.rupee-alarm_0.1.0.lsmod | ||
| longshotmods.sound-cues_0.1.0.lsmod | ||
| longshotmods.speedrun-timer_0.1.0.lsmod | ||
| README.md | ||
LongshotMods
A Longshot mod repository: a signed longshot-repo.json (v1) index of example mods, served straight from this git
repository on git.magicbean.dev. It holds each mod's TypeScript source (mods/<name>/), the packages built from them
(*.lsmod, at the root beside the index), the index longshot-repo.json and its signature longshot-repo.json.sig.
Add it in the launcher
In the launcher's Repositories screen, add this URL:
https://git.magicbean.dev/HumanBean/LongshotMods/raw/branch/main/longshot-repo.json
and accept the repository's key when asked. It must be this one:
BZzpyi01vud/t8IV/ED/iwaCNaS0zGimPiUlh1IOF+Y=
From the command line: Longshot.exe mod source add <the URL above>, then --yes once the key and mods it shows are
right.
The mods
| Mod | What it does | Permissions |
|---|---|---|
longshotmods/rupee-alarm |
Tells you when your wallet passes an amount you choose | state.read (optional ui.hud) |
longshotmods/map-journal |
Logs the game's moments (maps loaded, flags changed) as they happen | state.read (optional state.write) |
longshotmods/sound-cues |
A chime where an enemy dies, and a ping on a key | audio, actors.read, input.read |
longshotmods/kept-chest |
A chest in Kokiri Forest that stays open after a load | content.add, save.flags |
longshotmods/heart-log |
Writes Link's hearts to the log whenever they change | state.read |
longshotmods/speedrun-timer |
A split per area of a run, logged as the area changes | state.read |
They are the examples of Longshot's modding docs (docs/modding/examples/), renamed from local/ to longshotmods/; their READMEs' relative links point into those docs.
Publish a mod into it
The maintainer, holding the repository's private key (never in this repository):
# 1. The mod's source in its own folder
cp -r path/to/my-mod mods/my-mod # its mod.json id: longshotmods/my-mod (or your own owner)
# 2. Check, pack, add the release to longshot-repo.json, copy the package here and sign the index
Longshot.exe mod publish mods/my-mod --repo . --key ~/.local/share/longshot-dev/keys/longshotmods.pem \
--name LongshotMods --url https://git.magicbean.dev/HumanBean/LongshotMods/raw/branch/main/
# 3. Commit the source, the .lsmod, longshot-repo.json and longshot-repo.json.sig together, and push main
A new version of a mod is the same command after its mod.json version is raised; a version can't be published twice.
Anyone else sends the mod's folder in a pull request and the maintainer publishes it.