blanket
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Blanket is a RESTy wrapper for long running tasks.
Blanket
Blanket is a RESTy wrapper for long-running tasks. Define task types as
TOML files, submit them via REST API or CLI, and let workers execute
them — all from a single binary with a built-in web UI.
Installation
Download a pre-built binary from
GitHub Releases,
or use one of the one-liner installers below.
Linux / macOS:
curl -sSfL https://raw.githubusercontent.com/turtlemonvh/blanket/master/scripts/install.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/turtlemonvh/blanket/master/scripts/install.ps1 | iex
The installers download the binary (verified against the release'sSHA256SUMS, then renamed into place so a failed download never leaves a
half-written binary behind), create config/data directories, write a
default config file, and fetch the example task types. Set INSTALL_DIR
to override the binary location, or VERSION=v0.1.0 to pin a release. If Claude Code is on your $PATH, they'll also
offer to install the blanket-task-type authoring skill — setINSTALL_SKILLS=1 (or 0) to decide without being prompted.
They'll also offer to register blanket as a background service that
starts on login/boot (off by default) — set INSTALL_AUTOSTART=1 (or0) to decide without being prompted, or run blanket service install
any time afterward. See autostart for details andblanket uninstall.
They'll also offer to add the binary to PATH and enable tab
completion — bash, zsh, and fish on Linux/macOS, PowerShell on
Windows — by appending a clearly marked block to your shell's rc file
(~/.bashrc, ~/.zshrc, ~/.config/fish/config.fish, or$PROFILE), the same pattern nvm and conda use. Re-running the
installer updates that block in place instead of duplicating it. SetINSTALL_SHELL_INTEGRATION=1 (or 0) to decide without being
prompted; 0 also removes a block a previous run added.
No internet access, or only local-user permissions? Each release
attaches blanket-bundle-<version>.tar.gz — binaries, checksums,
example task types and the install scripts in one file. See
offline install.
Upgrading
blanket upgrade --check # is a newer release available?
blanket upgrade --yes # install it and restart the server onto it
blanket rollback --yes # change your mind
blanket upgrade verifies the download against the release'sSHA256SUMS, keeps the binary it replaces so blanket rollback can put
it back, takes a database backup first, and restarts the running server
onto the new binary without losing the work in flight. --print-plan
shows the exact steps, --bundle installs from an offline bundle, and--stage-only / --no-restart split it up. See
upgrading.
| Binary | Config | Data | |
|---|---|---|---|
| Linux/macOS | ~/.local/bin/blanket |
~/.config/blanket/ |
~/.local/share/blanket/ |
| Windows | %LOCALAPPDATA%\blanket\bin\blanket.exe |
%LOCALAPPDATA%\blanket\ |
%LOCALAPPDATA%\blanket\ |
Quick start
# Start the server (uses the install-script-generated config by default)
blanket
Open the web UI at http://localhost:8773/.
# Submit a task — over REST or via the CLI
curl -s -X POST localhost:8773/task/ -d '{"type": "echo_task"}'
blanket submit -t echo_task
# Run a worker that accepts bash/unix tasks
blanket worker -t exec:bash,os:unix
That's it. For curl examples, file uploads, scripting, custom task
types, and the full REST API, see the docs:
- Usage — submitting tasks, file uploads, the
CLI, managing tasks at scale - Task type definitions — TOML
schema for authoring your own task types - API reference — full list of REST endpoints
- Autostart — running blanket as a background
service that starts on login/boot, andblanket uninstall - Task flow — task and worker state machines
- Upgrading —
blanket upgrade/blanket rollback, checksums and offline bundles, schema versions, backups,blanket backup/blanket migrate - MCP interface — expose blanket to MCP clients (agents),
security considerations, and setup
Contributing
See CONTRIBUTORS.md for development setup, build
instructions, CI details, and code conventions.
License
MIT.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found