/SkyBridge

A work in progress bridge/proxy that lets you use Mastodon apps with Bluesky.

Primary LanguageDartMIT LicenseMIT

SkyBridge

SkyBridge

style: very good analysis License: MIT Powered by Dart Frog

A work in progress bridge/proxy that allows you to use Mastodon apps with Bluesky.

SkyBridge attempts to convert Mastodon API calls to Bluesky API calls, and tries to implement enough of the Mastodon API that apps will be happy connecting to it.

Functionality is very basic at the moment, and there's bound to be a few bugs. Don't expect this to be your daily driver just yet!

Currently only being tested with Ivory on iOS and macOS, your mileage may vary with other apps at the moment. PRs and issues are welcome, we want to support as many apps as possible.

If you find this project useful please consider donating, it really helps a lot!

ko-fi

Getting Started

In order to run SkyBridge you will need the Dart SDK installed on your system.

You will also need the Dart Frog CLI installed to run a development server. You can install it with the following command:

# 📦 Install the dart_frog cli from pub.dev
dart pub global activate dart_frog_cli

Some environment variables need to be set before you can run SkyBridge. You can set them in a .env file in the root of the project. You can copy the .env.example file to get started.

# 📝 Copy and edit the example .env file
cp .env.example .env
open .env

Once that's done you can start a development server with the following command:

# 📥 Clone the repo
git clone https://github.com/videah/skybridge.git
cd skybridge
dart pub get

# 🏁 Start the dev server
dart_frog dev

SkyBridge isn't ready to be deployed to production yet, when it is there will be instructions on how to do so here.

Credits

Huge thanks to Ninji for their BirdBridge project which was a big help and inspiration for this project!

Thank you to Shinya Kato for atproto.dart which powers this project!