boreq 0692aa27b9 Add a way to list notices as JSON
Previously notices could only be displayed as HTML. This commit makes it
possible to request a list of notices as JSON. This can be used to
programmatically display a description of a room server in SSB clients.

The behaviour is governed by a query parameter. To list notices as JSON
set a query parameter "encoding" to "JSON" when listing notices (for
example https://example.com/notice/list?encoding=json). This parameter
was chosen instead of using the "Accept" header as similar behaviour is
already exhibited by other endpoints (namely the invite mechanism).
2022-11-08 16:16:54 +01:00
2022-05-14 13:35:31 +03:00
2022-11-07 11:18:13 +02:00
2022-11-07 11:18:13 +02:00
2022-11-07 11:18:13 +02:00
2022-11-07 11:18:13 +02:00
2022-11-07 11:18:13 +02:00
2022-11-07 11:18:13 +02:00
2022-11-07 11:18:13 +02:00
2022-11-08 16:16:54 +01:00
2022-04-10 10:21:06 +02:00
2022-11-07 11:18:13 +02:00
2022-11-07 11:18:13 +02:00
2021-05-25 12:39:56 +02:00
2022-11-07 11:18:13 +02:00

Go-SSB Room

REUSE status

This repository implements the Room (v1+v2) server spec, in Go.

It includes:

  • secret-handshake+boxstream network transport, sometimes referred to as SHS, using secretstream
  • muxrpc handlers for tunneling connections
  • a fully embedded HTTP server & HTML frontend, for administering the room

Features

  • Rooms v1 (tunnel.connect, tunnel.endpoints, etc.)
  • User management (allow- & denylisting + moderator & administrator roles), all administered via the web dashboard
  • Multiple privacy modes
  • Sign-in with SSB
  • HTTP Invites
  • Alias management

For a comprehensive introduction to rooms 2.0, 🎥 watch this video. For a description of MuxRPC APIs see https://github.com/ssbc/rooms2

🚀 Deployment

If you want to deploy a room server yourself, follow our deployment.md docs.

🔧 Development

For an in-depth codebase walkthrough, see the development.md file in the docs folder of this repository.

🧑‍🤝‍🧑 Authors

License

MIT

Description
Mirror of https://github.com/ssbc/go-ssb-room/ to add Docker image builds with Drone
Readme 3.1 MiB
Languages
Go 96.1%
JavaScript 3.3%
CSS 0.3%
Shell 0.2%