Skip to content

Conversation

@Mathspy
Copy link

@Mathspy Mathspy commented Feb 5, 2025

This is a quick hacky implementation I put together for supporting filtering by authors in Mastodon's connector. I know there's no chance for this to get merged in its current form but I am opening this PR as a place to discuss how a more proper implementation for this could look like in the future

Why?

Tapestry's support for timelines instantly inspired me to figure out if I can make a timeline with only specific people from Mastodon, for example if you want to create a timeline of people who do art, or people who talk about a specific subject.

The implementation

Current implementation is pretty terrible! You have to specify each person you're interested in manually in a long string. Support for multi-selects in the ui-config is not present right now and populating the configuration programmatically is also missing. If there was native support for lists of strings that would already be a major improvement.

Good news

It works! This achieves what I want and is fairly minor edit that I can personally easily rebase when changes occur in upstream's Mastodon connector. I intend to use it and keep maintaining it for my personal use.

I am curious if others are interested in something like this too and if Iconfactory thinks this is worth pursuing. Feel free to close this PR as won't-do if you're not interested in pursuing something like this upstream.

Either ways, the app is excellent and I am loving using it, thank you this gem ❤️

@chockenberry
Copy link
Contributor

Hi Mathspy!

We're currently working on connectors for Mastodon, Bluesky, and Reddit that let you follow a single user. This can be done using public endpoints, so there will be no requirement to login. The connectors will require you to specify the account as a part of its ui-config. You'll create a feed using the "Follow Account (Bluesky)" and enter something like "@brimleyline.bsky.social".

I'm going to keep this pull request open so I can take a look at your approach. Another point-of-view is always a good thing! I'll close it when we release our new connectors.

And thanks for the kind words about the app - glad to hear you love it!

@chockenberry
Copy link
Contributor

chockenberry commented Mar 5, 2025

I just pushed a change that includes a new connector for following single accounts on Mastodon, Bluesky, and Reddit. The one for Mastodon is org.joinmastodon.account.

You should be able to use these with the current version of the app after you package them up in a .tapestry file. Let me know if you have any problems with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants