IBBoard / cawbird

A fork of the Corebird GTK Twitter client that continues to work with Twitter
https://ibboard.co.uk/cawbird/
GNU General Public License v3.0
310 stars 37 forks source link

Making the app default for Twitter related URLs system-wide #451

Open petesimonic opened 2 years ago

petesimonic commented 2 years ago

Is your feature request related to a problem? Please describe. Twitter web client is quite heavy, aims to distract users and damage privacy.

Describe the solution you'd like Make Cowbird a default app to open Twitter-related links. Whether this link clicked in a local file or in a browser. Primarily posts and profiles (which Cowbird already handles well), prospectively also process short URLs so user could understand what URL was obfuscated. Also the latter one would be good for privacy (and security too).

Describe alternatives you've considered Alternative is present: load and dive into Twitter web-app whenever you have a link to a post or a <t.co/*>.

Additional context Thank you for your efforts, it really makes people life better! Especially thanks for some magic of peering content (have no idea how does it works, but I saw messages from the app about peers) -- it's awesome. We need more of such approach!

IBBoard commented 2 years ago

I thought we already had a feature request for this, but I can't find it. All we do have is #245 - Open tweet by URL.

The general concept of "open a Twitter URL that's passed to the app (e.g. over DBus)" is definitely possible. The hard (maybe impossible) part is getting Cawbird to open when you click a Twitter link from another web page (e.g. a news article). And that's not something we can control. That's just the browser going "I know how to handle HTTPS links, so I'll open it" without checking whether there's an app configured.

petesimonic commented 2 years ago

I thought we already had a feature request for this, but I can't find it. All we do have is #245 - Open tweet by URL.

I either didn't found similar among open issues, so filed this one.

The general concept of "open a Twitter URL that's passed to the app (e.g. over DBus)" is definitely possible. The hard (maybe impossible) part is getting Cawbird to open when you click a Twitter link ...

Yeah, forgot that Tw isn't a protocol. It's easy to forget when you see browser pop-ups all around to open an app on Telegram links. So #245 becomes even more relevant to this one!

IBBoard commented 2 years ago

We could support the "open in app" links, because those will almost certainly use a custom protocol that the (mobile) app is configured to accept. But Twitter assumes that desktop uses will use the web app and so doesn't show those links.

However, if we found the format for links on mobile then we could add support for people who use Cawbird on a mobile through Phosh and other distros!