These repo is exploring the potential for a discovery site, application and Matrix directory server for Clojurians Slack community.
- provide infrastructure to maintain a list of rooms that are vetted by a set of administrators
- provide a web ui to browse & "discover" these rooms rooms
- provide a Matrix directory server endpoint that can be used by clients to provide different sets of rooms to users
Currently we're faking being a real Matrix home server and just implement the publicRooms
directory server endpoint by serving a static file at the right location.
-
Invite an admin
-
Make sure the room matches all criteria
-
Submit a pull request which adds a map with at least the following fields to
resources/rooms.edn
{:matrix/internal-id "!gWEkPbprAwBHgNtVcH:matrix.org" :matrix/room-type :matrix/native}
boot fetch-rooms dev ; development mode
boot production fetch-rooms watch run ; production mode
For deployment you currently need a file clojurians-martinklepsch-com.confetti.edn
that contains AWS credentials and the name of an S3 bucket to push to. (See deploy
for details.)
boot production fetch-rooms deploy
Note: a deployment of the site can be found at https://d3981087m4idf6.cloudfront.net. You can use the following command to get a Matrix directory server compatible list of all rooms in the directory:
curl http://d3981087m4idf6.cloudfront.net/_matrix/client/r0/publicRooms