Getting started
You need two things from whoever runs your homeserver (it may be you):
- its address, such as
hs.example.org, or127.0.0.1:8080on the same machine; - a token: a long secret that lets you in. The person who set up the
node got an owner token when they created it; others get one from
hs ctl token create.
You also need the hs program on your computer. See
Installation.
Sign in
Section titled “Sign in”hs login hs.example.orghs asks for the token and does not show it as you paste. It can also read
it from standard input or from $HS_TOKEN. When the token is accepted, hs
remembers this node:
Signed in to Ada (https://hs.example.org) as ownerIf the node uses a self-signed certificate, add --insecure. You can sign
in to several nodes; hs uses the last one, or the one given with
--server URL (or $HS_SERVER). hs logout forgets a sign-in.
Look around
Section titled “Look around”hs status # which node, who you are, and whether it is healthyhs space list # the spaces you can seehs timeline # recent items, newest firstEvery command explains itself with --help. Add --json to any command to
get exactly what the API returns, for scripts.
Complete commands as you type
Section titled “Complete commands as you type”hs can complete commands, space names and grants in your shell. Add one
line to your shell’s startup file:
source <(hs completion bash) # bash; use zsh for zshhs completion fish | source # fishElvish and PowerShell are supported too.