Skip to content

About

FreeSpeech servers: stateless message relay, push gateway and relay directory (ASP.NET Core 10), with installation and administration guides.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Français

FreeSpeech · Servers. Relay, notifications and directory to host.

This repository holds the servers of FreeSpeech, an end-to-end encrypted messenger: ASP.NET Core 10, for you to host.

Architecture

flowchart LR
    A["App A"] <-- WebSocket --> R1["Relay 1"]
    B["App B"] <-- WebSocket --> R2["Relay 2"]
    R1 <-- "S2S" --> R2
    R2 --> P["Push gateway"] --> F["FCM"]
    R1 -.-> D["Directory"]
    A -.-> D
Loading
Server Project Role
Relay freespeech.relay Passes messages between connected devices without keeping them; public or limited to allowed identities
Push gateway freespeech.push Wakes phones with a content-free message; sole holder of the FCM credentials
Directory freespeech.directory Points a new app to relays that accept accounts

Two servers talk to each other only once both administrators have accepted; each is identified by its own key, with no shared secret.

Installation

On Ubuntu with nginx and systemd: install a relay, the gateway, a directory, or several servers on one machine.

Administration

Each server is configured while running through its admin command, usable from the machine only, and reports a missing or weak secret with check. See the administration guide.

Building

dotnet build FreeSpeech.Server.slnx

The freespeech-common repository must sit next to this one. Details.

Documentation

Subject French English
Installing a relay INSTALL_RELAY.fr.md INSTALL_RELAY.en.md
Installing the push gateway INSTALL_PUSH.fr.md INSTALL_PUSH.en.md
Installing a directory INSTALL_DIRECTORY.fr.md INSTALL_DIRECTORY.en.md
Several servers on one machine INSTALL_HOST.fr.md INSTALL_HOST.en.md
Administration ADMINISTRATION.fr.md ADMINISTRATION.en.md
Relay command line cli-relay.fr.md cli-relay.en.md
Push gateway command line cli-push.fr.md cli-push.en.md
Directory command line cli-directory.fr.md cli-directory.en.md
Class diagrams doc/diagrams/ doc/diagrams/
Building the servers BUILD.fr.md BUILD.en.md

Other repositories

Repository Content
freespeech Project overview
freespeech-common Protocol and shared library
freespeech-client Android, Windows and Linux apps

Contributing

Bug reports, reviews, tests and fixes are welcome. To report a security vulnerability, write to contact@rebisway.com.

Licence

GNU AGPL v3.0 or later · © 2024-2026 Thomas Gourgnier

About

FreeSpeech servers: stateless message relay, push gateway and relay directory (ASP.NET Core 10), with installation and administration guides.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages