Thin shim for @tofuhub/cli
npm install tofuhubTofuhub helps you deploy and manage open-source platforms with one command.
``bash`
npm install -g tofuhubor just run with npx
npx tofuhub
---
`bash`
tofuhub login
This will open a browser window where you can authenticate. Your credentials are stored locally.
---
`bash`
tofuhub logout
This removes the stored authentication token from your machine.
---
`bash`
tofuhub whoami
Displays the currently logged-in user.
---
`bash`
tofuhub deploy chirpstack
Tofuhub will:
- Ask for required variables (e.g. API tokens, passwords)
- Deploy infrastructure using OpenTofu
- Show logs and progress in real time
---
`bash`
tofuhub destroy
Tofuhub will:
- Use saved state + variables
- Destroy your cloud resources
- Clean up local deployment files
---
`bash`
tofuhub init
Tofuhub will:
- Create a tofuhub.json file
- Create a .gitignore file
---
`bash`
tofuhub publish
This will:
- Prompt for metadata (name, description, etc.)
- Package your .tf` files, README, and variables
- Push them to the Tofuhub registry
> You must be logged in to publish.
---
- Node.js 18+
- Git (for publish)
- A supported cloud provider (e.g., DigitalOcean)
---
Create a deployable open-source stack? Join the community and help grow the ecosystem.