Originally created by: supreme-gg-gg
"Two months ago, we set forth on a bold quest to make Instagram CLI great again. Today, we plant our flag upon new ground โ Instagram CLI now speaks MQTT, the native tongue of Instagramโs own apps.**
designs/hybrid-client-design.md), where every request falls back to the traditional API client when MQTT realtime client is not available.client.ts on login, the view using this client is responsible for calling its destructor manually on unmount / end of life cycle:select to select like Python, but then after confirming you run :react emoji again to react to that message. The benefit is that the user can more flexibly choose what to do with that selected message, e.g. if you initially want to reply, but you're too lazy and just wanted to react, here you go ๐ :react without any emoji, it acts like double-tapping (sends like) by default!No linter errors were added!! Let's gooooo zero technical debt moment?!
These will likely not be fixed as part of this PR:
supreme_gg_gg reacted ๐ to your message. This is impossible for us to make any use of it. We're investigating hoping for a fix someday (not in this PR)
Tickets: #105
Tickets: #128
Tickets: #136
Tickets: #144
Tickets: #153
Tickets: #85
Originally posted by: supreme-gg-gg
EDIT: Everything in this PR should work now!
@endernoke if you have an idea of reply and receiving reactions lmk otherwise I'd say let it rot I don't have time rn to inspect packages for reaction lol, I tried the most likely ones and they don't seem to show up
Feel free to roast any design + efficiency + vulnerability + technical debt during the review since we want to make sure nothing breaks due to this PR. Take your time I don't plan to merge this soon since I'm busy these few days
Originally posted by: supreme-gg-gg
For anyone interested, here is a piece of code showcasing what else is possible to do with MQTT, you can run this as a starting point if you want to understand what we're doing here and if you want to contribute by learning what features it supports:
Of course, this is far from being comprehensive! You should refer to the original repository listed in [#74]
Related
Tickets:
#74Originally posted by: endernoke
@supreme-gg-gg you are the hero and savior of instagram-cli!! With MQTT we have crossed a new milestone in the long march.
I'm being chased by academic debt creditors lol I'll review this in a few days
OMG is this the exact code we vibe coded 2 months ago ๐ฎ๐คฏ๐จ
Related
Tickets:
#74Originally posted by: supreme-gg-gg
indeed, open sourced the vibe coded manuscript now ๐ ๐
Originally posted by: supreme-gg-gg
I think it's nice to have some "animation" effect when the user moves the selection box, this is "trying" to do it, though I'm no UX engineer so you might be right lol ๐ญ I will find out a better way with the next UI patch PR before release
Ticket changed by: supreme-gg-gg