Upload a local file to Lambda Curry's public file drop and print its permanent URL.
npx @lambdacurry/upfile screenshot.png
npx @lambdacurry/upfile demo.mp4 --json
cat report.txt | npx @lambdacurry/upfile --jsonOr install it globally:
npm install --global @lambdacurry/upfile
upfile screenshot.pngUse an environment variable, which takes precedence and works well in CI:
export UPFILE_API_KEY=...Or save the key in the current user's configuration:
upfile config set api-key ...The default endpoint is https://slopfiles.lambdacurry.dev. Override it with:
upfile config set endpoint https://files.example.comOn Linux and macOS the configuration is stored at ~/.upfile/config.json with
owner-only permissions. On Windows it is stored in the user's home directory.
upfile <file> [--json] Upload a file
upfile doctor Verify authentication and connectivity
upfile rm <id> Delete an uploaded file
upfile config Show configuration
upfile --version Show the installed version
Install the companion share-files skill from this repository:
python3 "${CODEX_HOME:-$HOME/.codex}/skills/.system/skill-installer/scripts/install-skill-from-github.py" \
--repo lambda-curry/upfile \
--path skills/share-filesThen configure the upload key on that machine:
npx --yes @lambdacurry/upfile@latest config set api-key <key>Restart Codex after installing the skill.
License: MIT. Forked from upfilesh/cli.