botblocks
projectsgalleryworkspacedocsprofile
introdashboardclipython

cli

the botblocks command runs your scripts against a botblocks host. the host can be local or anywhere reachable by url (--host, default botblocks.dev).

install

git clone https://github.com/b44ken/botblocks && cd botblocks
bun i && bun link
pip install -e py

now you can run a python script locally:

botblocks run my_script.py

this starts a local host, deploys the script to it, and opens the workspace in your browser.

or host it on the cloud for as long as you want:

botblocks deploy train_long_running_thing.py
# live at: botblocks.dev/workspace/<proc>

botblocks login links runs to your botblocks.dev profile. botblocks serve just runs the host (--local to never offload deploys to sandboxes). other flags: --port, --headless (don't auto-open a browser), --size small|medium|gpu (deploy sandbox size).