Git Product home page Git Product logo

Comments (5)

IngwiePhoenix avatar IngwiePhoenix commented on September 28, 2024 2

How do you imagine this to work? A single room where all tweets get dumped in?

Essentially, yes.

I was wondering about a similiar feature myself when I saw that the previous bridge had been set to archived, which put me well off from using it, since this made it clear that that bridge would no longer be maintained. And that is how I came here :)

For a long time, before the Stream API was moved to the "pro" developer subscription tier, I used a tool called Rainbowstream: https://github.com/orakaro/rainbowstream . I couldn't find the issue ticket, but we were actually discussing possible alternatives in there already - and one was periodically requesting the newest tweets. Now, since Matrix is HTTP based, this is ironiically fitting as HTTP is not a constant stream anyway - so the user wouldn't even notice a delay anyway. And this is basically where my idea starts.

What I would imagine being doable is that the bridge can create a room for all tweets, mentions and notifications (or a similiar configuration - this is really just an idea after all but i disgress). Within those, the user could reply to the messages, presented as tweets, to have an answer tweeted. This is definitively do-able, as a m.room.message event can have fitting reply parameters added ("Rich replies", linked below). That way, the bridge would be able to tell what tweet corresponds to the message being replied to, and thus could instantiate the tweet-reply.

In order to follow a tweet, the user might also be able to copy a tweet's ID. That ID could also be part of the message, which is how we did things in Rainbowstream, where an ID was shown which we could adress. Then again, that was a CLI application, so something more useful might be better for Matrix. I don't know if it has links that cause a room to be generated or something.

Another thing that could be done would be to allow someone to spawn a private channel which was simply dedicated to showing tweets by a specific user,

I am still cross-reading the Matrix API to find possibilities (and boy are they endless...this documentation is huge!) for what could possibly be done. But i think just having a channel that shows all the tweets from followed users would be a nice start. The second most important one would be mentions and general notifications. The tweet-thread or specific-user-tweets channel would be of a lesser importance, but probably not impossible either. The most difficult things would probably be replying to tweets and opening a whole tweet thread.

What do you think about this? :) I personally really love Matrix and having my Twitter integrated to it would be pretty awesome! And being able to see right away when someone specifically posts something new would also be quite helpful. I have been using TweetDeck for a long while now, which is where the idea of multiple channels originates from. Also, the fact that Matrix is kind of a glorified AJAX-based chat can actually become quite helpful here. Yes, it's not quite like ajax-based chats once were like, but it is still similiar as to using HTTP exclusively.

Anyway, I hope you have a great day and maybe you can take away some ideas from here! ^.^

from mx-puppet-twitter.

Sorunome avatar Sorunome commented on September 28, 2024 1

How do you imagine this to work? A single room where all tweets get dumped in?

from mx-puppet-twitter.

michalrus avatar michalrus commented on September 28, 2024

Wow, basically what @IngwiePhoenix said! ❤️

I would also love to be able to define:

from mx-puppet-twitter.

Sorunome avatar Sorunome commented on September 28, 2024

from mx-puppet-twitter.

TheLlamaLover avatar TheLlamaLover commented on September 28, 2024

With the upcoming changes to the Twitter API as mentioned in https://developer.twitter.com/en/docs/twitter-api/early-access, could tweets be supported?

from mx-puppet-twitter.

Related Issues (10)

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.