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.
Share a space you keep
Section titled “Share a space you keep”Create the space if it does not exist yet, and look up its ID:
hs space create "Family photos"hs space listAdd the other person’s node by its address. Your node asks it who it is:
hs space member add "Family photos" --url hs.friend.example --role writerRoles:
| 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.
Join a space someone shared with you
Section titled “Join a space someone shared with you”After the owner has added your node:
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.
See and change who is in a space
Section titled “See and change who is in a space”hs space show "Family photos"hs space member remove "Family photos" NODE_KEYhs 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.
Move a space to another node
Section titled “Move a space to another node”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:
hs space handover "Family photos" NODE_KEY