Coder Social home page Coder Social logo

lucyllewy / twitodon Goto Github PK

View Code? Open in Web Editor NEW
186.0 3.0 16.0 466 KB

Twitter to Mastodon account mapping service to aid migration away from Twitter without losing all your followed friends

Home Page: https://twitodon.com/

License: GNU General Public License v3.0

HTML 47.93% JavaScript 52.07%
mastodon migration twitter

twitodon's People

Contributors

dependabot[bot] avatar dfreder1 avatar lachlanjc avatar lucyllewy avatar mcclure avatar nclm avatar stuartlangridge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

twitodon's Issues

IPv6 not supported at your hosting - fails to resolve domain.

When I tried to sign-in on my IPv6 only mastodon instance it fails with this error message:

{"statusCode":500,"code":"ENOTFOUND","error":"Internal Server Error","message":"request to https://mastodon.noreboot.org/api/v1/apps failed, reason: getaddrinfo ENOTFOUND mastodon.noreboot.org"}

Please enable IPv6 on your hosting environment to resolve AAAA Records.

Thanks a lot

Finding @[email protected] pattern in users names and profiles

Many people use their profile or their name to add their mastodon user.

It would be quite useful (if not 100% sure to return correct results) to just looks for a pattern of a string with two @ signs and offer to import it, assuming user can always check if it's the user he knows.

Would be nice to check status without downloading list

Maybe this is complicated but it would be nice to be able to log into just one of Twitter + mastodon server and have it tell me what it thinks my handle on the other service is (IE log in with Twitter and it tells me my mastodon handle, or log in with mastodon and it tells me my Twitter handle)

Reasons this would be good:

  • If I forget if I've used the service before or not
  • If a user associates their twitter with a mastodon handle, but then changes their mastodon handle, and wants to [or wants to check if they need to] remove the old one from ur server

Behaves badly if mastodon server doesn't reply

Hello, your app is neat. I think? I used it once many years ago. I tried it out again today.

I hit a problem. If a mastodon server is entered but can't be contacted properly, Twitodon will print the following text

Looking for Mastodon users progress, scanned 0 of 0 users you follow on Twitter. Discovered 0 Twitter users on Mastodon who have previously linked their Twitter and Mastodon accounts by logging into Twitodon.

Just like that, no punctuation or formatting or anything.

Expected behavior: It should have printed an error message.

I have seen this under two situations

  • I enter "mastodon.social", but I am not logged into mastodon.social in the current browser at all (I run Twitter in its own browser profile for reasons, so I wasn't logged into mastodon)
  • I enter "mastodon.social" but mastodon.social is running very slowly because busy week

Cannot sign in or authenticate with Mastodon account on mastodon.sdf.org

Been trying to use Twitodon off and on over the past few months but it keeps failing when signing in to my account with it. Tried signing in to the instance then signing in through Twitodon, and tried logging out and then trying to sign in through just Twitodon.

"Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method."

My Mastodon instance is https://mastodon.sdf.org
Since this regards authentication, is there anything I can safely share beyond the error to help troubleshoot this?

Feature Request: look up twitter follows without submitting twitter account

It would be great if it was possible to upload the following.js from a twitter account export and find users that way - instead of requiring people to publish an association between their twitter and mastodon accounts.

This would be good for people who use twitter anonymously.

For example, the following.js export looks like this:

window.YTD.following.part0 = [
  {
    "following" : {
      "accountId" : "1111111111111111111",
      "userLink" : "https://twitter.com/intent/user?user_id=1111111111111111111"
    }
  }
]

If I could just upload this and then get the mastodon csv, that would be great.

Unsolicited redesign

So I was thinking that many people will need Twitodon these days with the big migration from Twitter, so making it look more user friendly could be nice.

I quickly put together a redesign, source is here.
It’s only static HTML and CSS now, I didn’t dare touching the JS, especially as I had to change the mark-up a bit.

You can preview it in three stages here:

  1. Before logging-in
  2. During scanning
  3. When ready to download

Features:

  • New styling inspired by the Light Mastodon theme.
  • Using Twitter blue for Twitter-related things, Mastodon purple for Mastodon-related things, and a gradient from blue to purple for Twitodon-related things.
  • Making the three steps clear in the layout.
  • Not showing elements that are not relevant to the current status.
  • Adding a progress bar during the scanning.
  • Making main actions clear as buttons.
  • Adding explanation for what is the instance URL (not sure how necessary).
  • Reworked some of the text.

Let me know what you think!

Misskey support

Allowing logging in with Misskey instances would help with Fediverse users who don't use Mastodon/Pleroma

Logging in as @[email protected] gives error after authorisation

Not sure if this is a bug on the Twitodon side or on mastodon.social`, but I got the below error after these steps:

  1. Browse to https://twitodon.com/
  2. Authorise Twitter (in my case @jpluimers)
  3. Authorise Mastodon (in my case @[email protected])

The last step then returns to Twitodon as https://twitodon.com/mastodonAuth?code=<snipped> whit this error message:

{"statusCode":500,"error":"Internal Server Error","message":"https://%[email protected]/oauth/token is an url with embedded credentials."}

Later tried step 3 with https://mastodon.social/@wiert which both authorised well, and ended up at https://twitodon.com/ where I could do a successful scan.

--jeroen

Doesn't work on mobile

I tried to use Twitodon on mobile (Google Chrome on Android 13) and the "log into Twitter" link does nothing. Not even a new tab to open Twitter. Works on desktop fine!

Feature Request: Ability to scan more user lists

Given that Twitodon ends up curating an authoritative list by relying on manual association, I think there is a ton of value in applying that process (instead of string-matching heuristics used on other excellent tools) to the other user lists like Followers, Blocked, Muted, and custom user Lists.

There might be further hits there that would be useful for folks to donwload/import to Mastodon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.