Skip to content

Commit

Permalink
Add bluesky
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Nov 26, 2024
1 parent b467231 commit 0dd2958
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bridges/bridge-selector.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const pythonBridges = ["telegram", "googlechat"]
const goBridges = ["whatsapp", "discord", "slack", "gmessages", "signal", "meta", "gvoice", "twitter"]
const goBridges = ["whatsapp", "discord", "slack", "gmessages", "signal", "meta", "gvoice", "twitter", "bluesky"]
let allowedBridges = ["$bridge"]

const bridgePorts = {
Expand All @@ -16,6 +16,7 @@ const bridgePorts = {
"slack": "29335",
"gmessages": "29336",
"gvoice": "29338",
"bluesky": "29340",
}

const mainBranch = {
Expand All @@ -32,6 +33,7 @@ const mainBranch = {
"gmessages": "main",
"gvoice": "main",
"meta": "main",
"bluesky": "main",
}

if (window.location.pathname.endsWith("docker-setup.html")) {
Expand Down
12 changes: 12 additions & 0 deletions bridges/go/bluesky/authentication.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Authentication
0. Open a private chat with the bridge bot. Usually `@blueskybot:your.server`
* If the bot doesn't accept the invite, see the [troubleshooting page](../../general/troubleshooting.md)
1. Send `login` to start the login.
2. Send your Bluesky PDS domain. If you aren't running your own PDS, you're
probably using `bsky.social`.
3. Send your Bluesky account email address or handle (handles are domains like
`username.bsky.social` or a custom domain that you connected to Bluesky).
4. Send your Bluesky account password. If you have 2-factor authentication,
create an app-specific password.
5. The bot should inform you of a successful login and bridge recent chats.

18 changes: 18 additions & 0 deletions bridges/go/bluesky/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# mautrix-bluesky
Welcome to the mautrix-bluesky docs!

Use the sidebar to find the relevant pages. Things that are the same for all
bridges, like setting up the bridge, are right below the "Go-based bridges"
header. Things specific to mautrix-bluesky are under this page.

These docs are mostly targeted towards people who are hosting the bridge
themselves. If you don't want to host it yourself, you can use a public
instance. When using public instances, refer to their instructions and support
rooms.

* No public instances yet :(

If you run a public instance and wish to list it here, please [make a pull request](https://github.com/mautrix/docs/blob/master/bridges/go/bluesky/index.md).

## Discussion
Matrix room: [#bluesky:maunium.net](https://matrix.to/#/#bluesky:maunium.net)

0 comments on commit 0dd2958

Please sign in to comment.