this post was submitted on 15 Jan 2025
5 points (100.0% liked)

Summit

767 readers
27 users here now

Community to discuss Summit, a Lemmy reader for Android.

App (Play Store): https://play.google.com/store/apps/details?id=com.idunnololz.summit

APK: https://github.com/idunnololz/summit-for-lemmy/releases

Patreon: https://patreon.com/SummitforLemmy

Ko-Fi: https://ko-fi.com/summitforlemmy

Website: https://summit.idunnololz.com/

founded 2 years ago
MODERATORS
 

This is an idea I've had for a while now. Please let me know in the comments your thoughts on this feature.

This is my own feature request. I think the more I use Lemmy the more I find myself ignoring posts I've already read on a separate instance. In theory it doesn't sound like a bad idea to check out the same post from different instances since they have different comments however in practice this is rarely useful. I think a feature that essentially remembers the last ~100 posts you've read/hidden and then automatically filters out any new posts loaded with the same content would be cool.

Specifics:

  • Create a "cache" that remembers the last 100-1000 posts that are either read or hidden. This cache is per post feed. It can remember posts based on the title + maybe the first 100 characters of the post body + url (but not image urls since these can differ based on which instance the image is uploaded to). We can exclude any post with a title less than 25 characters and no body.
  • For each new post loaded, check against the cache. If the post hits the cache then that post is automatically marked as read. If hide read posts is active, the post is already automatically hidden.
  • When a post is read/hidden, all loaded, but unread posts are checked to see if any match the read/hidden post. If they are, they are marked as read.

Possible things to test/include:

  • Have the "cache" be based on time. Eg. only things read/hidden within the last 24 hours are checked again. This could be a setting.
  • Make the cache global. Eg. check across post feeds. This could be a setting.
you are viewing a single comment's thread
view the rest of the comments
[–] Valmond 2 points 3 days ago

If you do, I'll try it out! Good luck!