Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SweeBridge

From SWEE.codes wiki

SweeBridge logo
Released July 18 2024
Language Python
Platform(s) Linux - Chat platforms shown in website.
License MIT
Created by Swee
Website https://git.swee.codes/SweeZero/SweeBridge

SweeBridge is an All-in-One bridge that is easy to self-host with a JSON configuration and Environment variables.

Swee originally made SweeBridge for bridging the SweeZero Guilded server to the Libera.Chat channel.

Configuration

Discord

You must invite the SweeBridge bot to your guild and add a webhook to the channels.

Edit Channel -> Integrations -> Webhooks -> New Webhook

Your webhook list should look like this
Your webhook list should look like this

Copy the URL, and edit the config.json accordingly (You can get channel and guild ID by using b$chandetails or looking at the URL)

{
    "sbconfig": {
        "CommunityName": {
            "discord": {
                "guild": 1337,
                "channel": 1337,
                "webhook": "webhook_url"
            }
        }
    }
}

Guilded

You must invite the SweeBridge bot to your server and add a webhook to the channels.

Channel Settings -> Webhooks -> Create a webhook

Your webhook list should look like this
Your webhook list should look like this

Copy the URL, and edit the config.json accordingly (You can get channel and server ID by using b$chandetails or looking at the URL)

{
    "sbconfig": {
        "CommunityName": {
            "guilded": {
                "server": "server_id",
                "channel": "channel_id",
                "webhook": "webhook_url"
            }
        }
    }
}

IRC

You must invite SweeBridge to your channel (Libera.Chat is used as an example)

/invite SweeBridge #somechannel

Edit the config.json accordingly:

{
    "sbconfig": {
        "CommunityName": {
            "libera": {
                "channel": "#somechannel",
                "flags": {
                    "nosystem": "disable"
                }
            }
        }
    }
}

Check the SweeBridge nosystem values if you need to do so.

Matrix

You must invite @bridge:swee.codes to your room (DO NOT ENCRYPT YOUR ROOM), then edit the config.json accordingly:

{
    "sbconfig": {
        "CommunityName": {
            "matrix": {
                "room": "!room_ID:matrix.example.com"
            }
        }
    }
}

How do I get my community on the default instance?

You should follow the webhook steps above, there will be links to invite the default SweeBridge to your community on the README.md and links to contact Swee once you are ready.