This Gist is a flat-file probe for executable content-document runners.
Gists reject directories, so every executable file must live at the Gist root.
Works unpinned:
nix run "git+https://gist.github.com/f42fe1093e7b6b7cde8644f1db2f496f.git" -- helloWorks pinned:
nix run "git+https://gist.github.com/f42fe1093e7b6b7cde8644f1db2f496f.git?ref=main&rev=<commit>" -- helloWorks as a document shebang:
#!/usr/bin/env -S nix run git+https://gist.github.com/f42fe1093e7b6b7cde8644f1db2f496f.git --In shebang mode, the executable receives the document path as the first argument.
See nix-run-shebang-example.html for an executable static document example.
bun add can install this Gist as a git dependency:
bun add --no-save "git+https://gist.github.com/f42fe1093e7b6b7cde8644f1db2f496f.git"
bunx --bun --no-install note-gist helloDirect bunx -p "git+https://..." note-gist does not work in Bun 1.3.13.
bunx is documented as an npm package runner, while bun add is the command
that supports git dependencies.