emusks is a reverse‑engineered Twitter API client for JavaScript. Log in and use the unofficial Twitter and XChat APIs as any official app.
await client.login({ auth_token, client: "web" });
await client.tweets.create("mrrp meow :3");Web, iPhone, iPad, Android, Mac or TweetDeck.
End-to-end encrypted XChat in one call.
Timelines, search, users, lists and trends.
Each official Twitter app has its own bearer token and HTTP fingerprint. emusks sends your requests the way the app you choose would.
You'll need your Twitter auth token to sign in.
client.tweetsCreate, delete, like, retweet, pin and schedule tweetsclient.timelinesHome feed, user tweets, media, likes and highlightsclient.usersProfiles, follows, blocks, mutes and relationshipsclient.dmsInbox, conversations, search and message managementclient.xchatEnd-to-end encrypted DMs, keys and reachabilityclient.xcallsHost and join Twitter Calls, broadcast and record audioclient.searchTweets, users, media, lists and communitiesclient.bookmarksBookmarks, folders and saved searchclient.listsCreate, manage and subscribe to listsclient.communitiesJoin, create, moderate and explore communitiesclient.spacesDetails, search and live audio roomsclient.trendsTrending topics, locations and AI summariesclient.topicsFollow and discover topicsclient.accountSettings, security, sessions, 2FA and preferencesclient.notificationsNotification timeline, badges and push settingsclient.mediaMetadata, alt text and subtitlesAlso: drafts, articles, community notes, grok, jetfuel, syndication and guest tokens.
As far as I know, emusks is the only open-source Twitter API implementation that's been DMCA'd.