This guide outlines how to deploy Boundier to a cloud provider like Render. Cloud hosting requires setting up GitHub Gist syncing to preserve and update your ChatGPT browser session cookies across container restarts.
Because cloud instances are ephemeral, Boundier can encrypt and backup your authenticated Chromium storage state to a private GitHub Gist.
- Generate a GitHub Personal Access Token (PAT) with the
gistscope. - Choose a secure Encryption Key passphrase to encrypt the session cookies.
- Add these values to your
.envfile or environment variables:GITHUB_PAT="your_github_pat" ENCRYPTION_KEY="your_encryption_passphrase"
- Run Option
[2]in the Boundier Terminal (terminal.py) to authenticate your ChatGPT account. Once logged in, your authenticated state will be encrypted and pushed to your Gist automatically.
Configure a web service on Render pointing to your fork/repository.
Configure the following in your Render Dashboard:
DISCORD_TOKEN: Your Discord bot application token.GITHUB_PAT: The GitHub PAT withgistscope.ENCRYPTION_KEY: The passphrase chosen during setup.PORT:10000(for web service health checks).
Boundier will boot up, pull the encrypted state from the Gist, decrypt it, and run headless on the cloud container.