Jump to content

Chatspace

From /dev/hack

Our current de facto chat platform is Matrix. Most chat rooms are scoped to /dev/hack members and guests that have physically been in the space.

Interested guests can join #lobby:devhack.net to get in contact with the space and ask questions about visiting. To join the rest of the Matrix rooms or other bridged chat platforms, you should show up in person at least once and ask someone to invite you.

Bridged chats

From Matrix, we have various bridges to various places:

  • Telegram
    • general
    • retro
    • shitposting
    • hammers (radio)
  • Signal
    • general
  • Discord (/dev/hack only)
    • general
    • bridge-test
  • Discord (SCN server)
    • scn-space
  • irc (wip)
    • bridge-test


We also try to add everything possible to the bridge test room.

Privacy conventions

The General chat has a semi-private expectation, only inviting guests that have physically been in the space and at discretion of our members who want to invite the guest. However, invited guests are not vetted and no private information should be posted on General. A small amount of adversarial user vibes in general.

On the other hand, our threat model does not include adversarial platforms (with General),

I want to bridge to «service»

Do it! Keep in mind our privacy conventions but the more spaces connected to general specifically, the better. per-room you'll have find consensus between the respective owners and you are sure to get privacy bikeshedding regarding your service of choice.

https://git.devhack.net/devhack/core-infra/src/branch/main/k8s/matrix

Signal

to bridge a new chat to signal:

  • https://git.devhack.net/devhack/core-infra/src/commit/main/k8s/matrix/bridge-signal/config.yaml#L130
  • so you add the bot to a signal group and it creates a matrix room
    • can search for the bot if you share a room with it, or get the phone number (from currently: finn?)
  • invite the bot to the matrix room that you want.
  • then you go edit it's DB to change the MXID fo the room associated with the Signal group (editor's note: wtf????)
    • UPDATE portal set mxid = '!xxxxxxxxxx:devhack.net' where NAME like 'whatever';
  • run !signal set-relay in the matrix room


Telegram

On the telegram side:

add @devhackmatrixbridgebot to the chat you want bridged

get the chat id from the url or by running /id in the chat

optionally give the bot elevated permissions if desired

On the matrix side:

add @telegrambot:devhack.net to the room you want bridged

Optionally give the bot elevated permissions if desired

run !tg bridge «id» & !tg continue