untitaker / mastodon-bookmark-rss

A small app to let you connect your mastodon bookmarks to your RSS reader.
https://bookmark-rss.woodland.cafe/
MIT License
46 stars 3 forks source link

Add "Open In" for a few Mastodon clients #7

Closed ZackBoe closed 3 months ago

ZackBoe commented 3 months ago

Hey! Thanks for building & hosting this, it's really improved my Mastodon usage.

This adds an Open In link for a couple of clients, in addition to the Original Mastodon Post link. I really like this in @tvler's StreetPass, so thought I'd add take a shot at adding it here. I'd add more clients, but Ivory seems to be the only one that has a page on its scheme and I don't have an iPhone to test.

I'd like to add a little dropdown on the results page to optionally add one of the known client query params.

firefox_2024-05-01_23-31-59

This is the first time I've done anything in Rust, so hopefully it looks alright. I had some confusion between String and str.

untitaker commented 3 months ago

So there are a couple of apps that do this already:

I acknowledge that Ivory/iOS may be unsolved.

Do none of these work for you?

I am not fully opposed to adding this sort of functionality to bookmark-rss, as my own experience with those extensions has been somewhat underwhelming as well, and the browser extension in particular requires a large amount of permissions.

The code itself looks fine to me.

ZackBoe commented 3 months ago

My personal use case for this is opening the bookmarked post in my client of choice from a web or desktop RSS reader to like/reply/etc. I haven't revisited any redirector extensions in some time, but I generally wasn't a fan of how they functioned and mostly prefer direct links.

ZackBoe commented 3 months ago

I've added few more clients and a select to the results page, though I feel even less confident I've done this in the best way in Svelte.

firefox_2024-05-02_23-52-00

untitaker commented 3 months ago

thank you, I will push it in a second

untitaker commented 3 months ago

deployed!