Skip to content
This repository was archived by the owner on Aug 10, 2024. It is now read-only.

FEATURE: Denylist #13

Closed
StuBlad opened this issue Jul 24, 2023 · 8 comments · Fixed by #20
Closed

FEATURE: Denylist #13

StuBlad opened this issue Jul 24, 2023 · 8 comments · Fixed by #20
Assignees

Comments

@StuBlad
Copy link

StuBlad commented Jul 24, 2023

Having the ability to have a denylist to exclude skeets by specific users would be excellent. If possible, the ability to reference a mute list may also be great so this list could be public.

@StuBlad
Copy link
Author

StuBlad commented Jul 25, 2023

Would it be possible to make it so you could exclude skeets by a specific user entirely, but also have the ability to still display that persons skeets, but not if their skeet includes a specific search term?

i.e. you want someone to stay on the feed, but occasionally they post content that's nsfw, so if they mention nsfw in their skeet, it won't show up, but the rest of their skeets will.

@jcsalterego
Copy link
Owner

@StuBlad Possibly. I'll have to think about the tradeoffs here on adding complexity for the filtering logic. At some point, it might make sense to write custom code for that.

@StuBlad
Copy link
Author

StuBlad commented Aug 21, 2023

Just want to add on to this issue a little more. It would be just as good, if not perhaps even better, to be able to just exclude certain terms from appearing in a feed.

So for my FFXIV feed for example, if the term FFXIV shows up then display it in feed, but if a post contains both FFXIV AND nsfw, then exclude it. I think Contrails already supports that for including posts in the feed, would it be difficult to just take that logic and then just make it exclude posts instead?

That might be an easier win and more powerful initially than excluding a single user and having to filter out specific posts of theirs.

@jcsalterego
Copy link
Owner

Thanks for the bump. I've been a bit swamped lately but this is the top of the list for the next Contrails update.

@bawanyadam
Copy link

@StuBlad Check out my modified feedgen.js here: https://github.com/bawanyadam/jeopardy-sky/blob/675c7083a533183abfe68f15bac23975e7bebd2b/cloudflare-worker/bsky-feedgen.js#L122

I've made a few feeds now and have continued to use this regex exact match function, and here you can see it explicitly will not including posts that contain "nsfw." This can also be adjusted to be "#nsfw" etc. From there you just have to implement the exact match logic into the feed build right below.

@StuBlad
Copy link
Author

StuBlad commented Oct 18, 2023

Thanks for the bump. I've been a bit swamped lately but this is the top of the list for the next Contrails update.

Hi Jerry, just bumping this again to see if you are still developing Contrails. I love it so much and recommend it to everyone 😃

@jcsalterego
Copy link
Owner

@StuBlad Oh no it's already October! I haven't cracked open Contrails in a while but I'll think on this a little bit this week.

@jcsalterego
Copy link
Owner

@StuBlad All set, check it out - let me know if you have any questions.

alimony added a commit to alimony/filmsky that referenced this issue Feb 16, 2024
* upstream/main: (42 commits)
  0.2.5-pre
  README fix
  VERSION: 0.2.4
  render-configs.py renders denyList; resolves jcsalterego#13
  0.2.4-pre
  RELEASE: 0.2.3
  Remove outdated app.bsky.feed.describeFeedGenerator call; fixes jcsalterego#19
  0.2.3-pre
  Fix README latest version
  RELEASE: 0.2.2
  Support exact phrases
  Update config comments for users
  0.2.2-pre
  RELEASE: 0.2.1
  Process +reposts and +replies from configs; resolves jcsalterego#7
  Update Keywords comment in configs
  Add missing mention of Safe Mode; add more notes for upgrading
  0.2.1-pre
  RELEASE: 0.2.0
  console logging cleanup
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants