u/fsv

I made a new thing - Youtube Info and Enforcer!
▲ 6 r/Devvit

I made a new thing - Youtube Info and Enforcer!

I've made a new mod app for the Hackathon to handle Youtube video submissions and Youtube links in comments.

https://developers.reddit.com/apps/yt-infoapp

This app has two main functions - an optional informational comment that can be added in reply to posts or comments that contain Youtube URLs, and automatic removal of Youtube videos that don't meet the requirements of the subreddit.

Example information comment:

https://preview.redd.it/5in83c21lb2h1.png?width=906&format=png&auto=webp&s=fc9e32596a674ddbdb78bfc4e2c67dfd0706a2d7

The info comments look like this, and you can optionally also configure it to add the channel subscriber count, view count and video description. If more than one video link is found in a post or comment, the info comment will include information about all of them.

On the enforcement side, you can choose to remove or filter to the queue content containing Youtube links based on three metrics:

  • Channel subscriber count (either lower than or higher than) - good for subs that want to avoid spam from tiny channels, or avoid links to videos from big channels in subs dedicated to new or small Youtube channels
  • Video duration (either lower than or higher than) - good for subs for long-form content or short-form content only
  • Hashtags (configurable per-subreddit) - to avoid spam for videos on certain topics. E.g if you wanted to avoid crypto scam videos that typically might put hashtags in the description or title

The idea is that this app runs in the background and just does its thing once configured. No annoying webviews or custom queues for the sake of it. Just simple, non-intrusive and effective.

The app uses the Youtube API to retrieve information. Subreddits do not have to provide their own API keys for the app to work.

The app is public right now and available to install, and as always with my apps the app is open source. I'd love to hear feedback on this idea!

A future idea that I'm considering:

A way to ban certain channels or individual videos from a subreddit and prevent those videos/channels from being shared. For me to do this, I need to wait for menu-initiated webviews to be available to manage that blocklist. I don't want a janky experience that requires a custom post to be created on the subreddit, even if it's removed immediately.

reddit.com
u/fsv — 3 days ago
▲ 12 r/Devvit

I made a new thing: Modmail Translator!

This app can be used to translate modmail messages to and from a language of your choosing (you set up the mod team's preferred language in the app settings).

There's a !translate command that is used in two ways in private mod notes:

!translate on its own finds the previous message from the user, detects the language and translates it into the configured language.

!translate followed by the message you want to translate on subsequent lines takes that message and translates it back to the user in the language that was previously detected.

I've been using it the last few days on one of my subs that gets a lot of non-English modmail, and it's been a life saver. No more copying and pasting to and from Google Translate!

There's an option to turn on "continuous translation" which auto-checks all subsequent messages from an OP once the first translation has been done on a modmail chain, too.

This app uses the OpenAI API, but every sub gets 50 free translations per calendar month, funded by me. You only need to provide your own OpenAI key now if you are a heavy user.

I'd be interested in any feedback for the app, but hopefully it'll be very useful for subs that have to deal with modmail in a language that the mod team can't work with easily.

reddit.com
u/fsv — 22 days ago