Skip to content

Sharing

You share by space. Each person keeps their own homeserver; the space is kept in order by one of them, its home node, and the others follow it. Everyone reads and writes on their own node, and changes reach the others on their own.

Create the space if it does not exist yet, and look up its ID:

Terminal window
hs space create "Family photos"
hs space list

Add the other person’s node by its address. Your node asks it who it is:

Terminal window
hs space member add "Family photos" --url hs.friend.example --role writer

Roles:

Role Can
reader read
writer read and write (the default)
owner also add and remove members, and hand over

Send them the space ID and your node’s address.

After the owner has added your node:

Terminal window
hs space join --home hs.owner.example 4b1d…

The space now appears in hs space list and in search, and new changes are pushed to your node as they happen. To catch up straight away, run hs space sync SPACE.

Terminal window
hs space show "Family photos"
hs space member remove "Family photos" NODE_KEY

hs space show lists each member’s node key, owner and role.

Removing a member stops new changes reaching them. What they already have stays with them.

If the home node is going away, an owner can make another member’s node the home node. Nothing is copied, because every member already has the log:

Terminal window
hs space handover "Family photos" NODE_KEY