elanthings
v0.1.0
Published
The elanthings.com shelf, from your terminal. Some apps run right here; the rest open in your browser.
Maintainers
Readme
elanthings
The elanthings.com shelf, from your terminal.
npx elanthings # browse all 136 — type to filter, enter to open
npx elanthings ward # runs right hereInstall it and the command is elan:
npm i -g elanthings
elanWhat runs here, and what does not
Eight of the apps are text in, findings out. Those became real commands — they read stdin, take a file, print to a pipe, and set an exit code:
| | |
|---|---|
| elan frank | which domain an email's SPF and DKIM passes actually belong to |
| elan ward | what a response's security headers really protect against |
| elan guise | whether a file's bytes match the name it is wearing |
| elan revoke | what a leaked key unlocks, and exactly where to kill it |
| elan trace | every third party in a HAR, and which hold your session |
| elan shard | the rows a SQLite file still holds after they were deleted |
| elan noon | a photo's several clocks, checked against where the sun was |
| elan pact | Axelrod's tournament, and why the strategy that never loses comes last |
The other 128 want a camera, a microphone, a canvas or a drag-and-drop. Asking for one opens it in your browser rather than pretending:
elan scribe
🎙 Scribe → https://elanthings.com/scribeExamples
curl -sI https://example.com | elan ward
elan frank message.eml --hops
elan guise ~/Downloads/*
git show HEAD | elan revoke --quiet || echo "a key is in that commit"
elan trace session.har --jwt
elan shard notes.db --table messages --csv > recovered.csv
elan noon holiday.jpg
elan pact --match tit-for-tat always-defectExit codes
| code | meaning |
|---|---|
| 0 | ran, nothing to report |
| 1 | could not run — bad input, no such file |
| 2 | ran fine and found something you should look at |
Which makes the forensics ones usable as a gate:
# .git/hooks/pre-commit
git diff --cached | elan revoke --quiet && exit 0
echo "That commit carries a live key. elan revoke tells you where to kill it."
exit 1Every command takes --json for the same data as a structure, --help for its
own usage, and --web to open the browser version instead.
Nothing leaves your machine
The same promise the web apps make. There is no network call in this package —
not for the catalogue, not for the checks, not for telemetry. elan revoke
identifies an AWS key by doing the vendor's own checksum arithmetic locally
rather than asking anyone whether it is live. The only thing that ever reaches
the network is a URL handed to your browser when you ask for an app that needs
one.
Building it
Part of the elan-apps monorepo. The commands share their logic modules with the web apps — one implementation, two front ends.
pnpm --filter elanthings build # bundles to dist/elan.mjs, no runtime deps
pnpm test # test/cli.test.tsMIT.
