Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting started

Installation

There’s no stable release of Goblin Mode yet, so you’ll need to install from source:

git clone https://github.com/miikka/goblinmode.git
cd goblinmode
cargo install --path .

This puts the gob binary on your PATH.

Initial configuration

Create the config file at ~/.config/goblinmode/config.toml with your credentials.

  • To create a Hetzner API token, open the Hetzner Console, choose a project, then go to SecurityAPI tokens and click Generate API token. Goblin Mode needs Read & Write permissions.
  • To create a Tailscale API key, open the Tailscale Admin Console, go to SettingsKeys, and click Generate access token…
[hetzner]
api_token = "hzn-..."

[tailscale]
api_key = "tskey-api-..."

If you’d prefer to keep the API tokens and keys in a password manager, see the _cmd fields in the Configuration section.

Usage

cd into a Git project directory and spin up a VM:

gob up       # provision a VM and sync the project
gob mosh     # connect to the VM with mosh
gob zed      # open the remote repository in Zed
gob down     # snapshot and destroy the VM when done

To see all subcommands, run gob help.