Skip to content
a Twitter ActivityPub gateway
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Sep 22, 2017
LICENSE Initial commit Sep 22, 2017
README.md Update README.md Dec 30, 2017
main.html
server.go Import Sep 22, 2017
twitterpub.toml Import Sep 22, 2017

README.md

TwitterPub

An ActivityPub gateway for Twitter.

Currently features:

  • Profiles
  • Tweets and conversations, including emojis, links, mentions and images
  • Redirections to Twitter for browsers
  • A minimal web interface to generate new URLs

As a Mastodon user (or anything ActivityPub-compatible), it mostly means you can:

  • Easily refer to tweets by replacing the domain name
  • Open those tweet URLs in Mastodon's search box and make it pull the tweets and profiles
  • Boost those tweets as any toot, which is much better than quoting and using "@twitter.com" unless they support ActivityPub. It will have a correct timestamp, the right user image and profile, and a proper link back to it.

Technically, it's a Go http server that shows endpoints mirroring Twitter's URLs. Depending on the Accept header, it will redirect requests to Twitter or serve an ActivityPub server-to-server API. Everything is currently fetched by parsing the HTML of Twitter's main site, as it doesn't require authentication and doesn't rate-limit as aggressively as the API, which is a sad state for a modern service.

This project is not maintained.

You can’t perform that action at this time.