Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dtschust/7aed5c96f480bced229824f12f5635ab to your computer and use it in GitHub Desktop.
Save dtschust/7aed5c96f480bced229824f12f5635ab to your computer and use it in GitHub Desktop.
A brief writeup of my hacky twitter mastodon bridge

repo is here https://github.com/dtschust/fake-mastodon-instance/tree/c858a0d9427efc9c16a1c73bfcc0545bbdacb343

Best place to start looking is src/index.js, which is the express server that acts as a Mastodon instance.

In order to mirror a user from another service in a way that Mastodon recognizes, you must implement the following:

Note: I also didn't implement outbox support, which I believe is necessary for a user to be able view a profile page's history for an account that already exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment