Skip to content
Book a call

Self-Host

AliaJS let you self-host a cloud system in two command lines; 5 minutes of your attention time.

Running commands from the Internet into your computer is not the best security practice. If you don’t fully trust the source of what you are running you should take easy precautions. Recommended read Reflections on Trusting Trust by Ken Thompson

Running commands inside a virtual machine, sandbox or security wrapper, example: Socket CLI

Blank cloud account, or sandboxed project

Virtual credit card, limited in credit (amount you are confortable to risk)

Throwaway domain name with limited scope DNS API record access

Cloud account (only Hetzner for now)

Transfer name server

Node.js version >= 22.18.0 installed locally

Terminal window
# More install options
# https://nodejs.org/en/download
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
\. "$HOME/.nvm/nvm.sh"
nvm install 24

Login to your cloud console

Create a new project (+ New project): https://console.hetzner.com/projects

You will be asked two set of secrets (API token, S3 credential), run the first command and wait for the first question:

What is your Hetzner API key (token)? Security > API tokens, then click Generate API token, set as (Read & Write)

What is your S3 access key? Security > S3 credentials, then click Generate credentials

Terminal window
# Specific version context
# https://github.com/dani-garcia/vaultwarden/discussions/7615#discussioncomment-18140443
npm install -g @bitwarden/[email protected]
npx aliajs new
Play

Mastodon discussion
https://mastodon.social/@jcaron/117333060141664239