Git Product home page Git Product logo

commune-server's Introduction

Screenshot

Commune

Commune lets you build free and open public communities on a Matrix server. It transforms a Matrix server into a publicly accessible community platform. The goal is to make it easy for existing homeserver operators to open up their Matrix instance (or a subset of it) to the web, and add extra community features using native Matrix functionality.

Conceptual Introduction: Communal Bonfires.

We're operating these live instances at the moment:

What does it do?

Commune opens up all spaces and underlying rooms to the web by reading data directly from the Synapse DB, bypassing Synapse's client-server API. Additional features such as discussion boards, threaded comments are rendered by the client. Commune makes use of many materialized views for querying Synapse events.

Short-term roadmap
  • Federation between Commune instances
  • Social login support
  • ActivityPub support for interacting with the fediverse
  • Private spaces/boards and Encrypted DMs
  • Simplify self-hosting deployment

How to run

Requirements
  • Synapse
  • Redis
  • S3-compatible object storage (optional)
  • Email/SMTP provider (optional)

You'll need to set up a matrix/synapse server. Existing servers can be used too, but Commune is highly experimental at the moment, so it's best to set up a new homeserver.

  1. Clone this repo
  2. Run make deps to fetch dependencies.
  3. Copy config-sample.toml to config.toml. Update the config with your Synapse details.
  4. Run make to build the app.
  5. Run the db/matrix/views/creates.sh script to create materialized views.
  6. Run modd to run app locally while developing.
  7. To deploy, put the app behind nginx.

Finally, you'll need to go install the client and point it to your Commune backend.

Get in touch

Find us on #commune:commune.sh or on #commune:matrix.org.

WARNING

Commune is operating in world_readable mode. This means that everything on your matrix server has the potential to be accessible from the web. No work has been put into private spaces/rooms or encryption. Unless explicitly stated, assume that every event on a Commune-based matrix server will be public.

commune-server's People

Contributors

churchofthesubgenius avatar erlend-sh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.