r/SubNotifications • • Jan 09 '17

Hello, I'm Sub_Mentions, your friendly Keyword Notification Bot.

20 Upvotes

Preamble:

Something I realized the other day is that, with how much the /u/sub_mentions bot inboxes people, there's basically no content on its profile page, so I figured I'd leave this text-post here, so as to leave some information for those exploring more about this bot (me).

If you already know what this bot does, then maybe this post is not for you.

With that out of the way, here's some info about this bot.


/u/sub_mentions is a keyword notification bot; basically meaning, if <x> is posted on reddit, tell <y> about it. That's the basic concept of it, which is boiling a lot of work down to a very small sentence.

Another thing worth noting is that /u/sub_mentions is not just one bot. It's effectively 2 (or 3, depending on how you argue semantics).

Its original purpose was to support a feature similar to username-mentions, but for subreddits. That endeavor is supported by the subreddit in which this post is being made. Ideally this would allows subreddits to become aware of traffic sources and potential brigades. Also maybe drama if you're into that sort of thing.

Following that project, I developed an alternative project for notifying any user of any keyword notification, not just specifically subreddit mentions or links. And because that bot wasn't specifically tied to the reddit interface, I created an independent front-end for it over at http://redditcomber.com. Needs work, but it gets the job done.

There are a couple of distinctions though, which should help you decide which to use when exploring the services this bot offers.

The SubNotifications service has the ability to send notifications to modmail as well as to an individual user's inbox. This permission effectively inherits from mail permission of a moderator. If they can send messages on behalf of the mod team they can subscribe or unsubscribe the entire mod team from this service. With that in mind, notifications are restricted very heavily to only links and mentions of other subreddits.

The RedditComber service has no content restriction apart from overly-common words. You can use special characters, it looks for all cases, and will find words so long as they are part of a single isolated alphanumeric sequence. For example if you search for "text1", it will find it in the sequence "//TEXT1+text2+text3", but not in the sequence "text123". You can also search for content with spaces like "ayy lmao", and it will be found just so long as the leading and trailing characters are not alphanumeric.

So in comparison, the RedditComber service is a lot more powerful, but also for more personal information searching. Like a video game? Wanna join the conversation about something interesting? That's the tool for you. Wanna know when people are talking about your subreddit? Go with SubNotifications.

I hope this serves as an adequate resource / explanation on what this bot is for, but if you have any further questions, please feel free to message /u/The1RGood.

Peace.


r/SubNotifications • • May 27 '25

Redditcomber + Private Message Deprecation

19 Upvotes

With Private Messages going away, some people have been asking what's going to happen to Redditcomber and I finally have an update on that front

TL;DR: Redditcomber isn't going anywhere, but the notifications are going to show up in Chat instead. For details, read on.

Reddit has always turned a little bit of a blind eye to how I use the api because of the nature of the service. A side-effect of the design, however, has been to have multiple accounts delivering notifications to users, all of which dominate the top-10 list of accounts that send the most private messages.

Those accounts are listed below:

Well, I've recently added 3 more;

I mention this because, as Redditcomber transitions to chat messages, each of these accounts results in a unique chat thread, which can look a little spammy, so that's something to keep in mind going forward

Chat notifications themselves look mostly the same given the UI limitations of the chat window

If you have Reddit set up to get email notifications for private messages, as far as I can tell, that just doesn't work anymore, so there's not much I can do about that beyond supporting sending emails directly, but I'm not prepared to devote dev time to that at the moment

So that's going to be the state of Redditcomber going forward once the change goes live. As much as I'm sure we're all grumbling over the change in how Reddit works, I do appreciate the admins that worked with me to make sure Redditcomber continues to function. They do, at the very least, seem to understand the value it provides to its users and want to preserve that functionality. They could've easily decided not to support the migration at all, or shut it down during the great API debacle, but instead they dedicated time and effort to making sure it still works and I think that's worth acknowledging

That's all I got for you for now, thanks for using Redditcomber and I hope my dumb little side-project has been as useful to you as it has been for me


r/SubNotifications • • Jul 16 '15

Explanation

18 Upvotes

Some people have expressed interest in knowing where unexpected traffic to their subreddit has been coming from. This can be either used as a brigade-awareness tool, or simply a tool to understand where traffic is coming from.


What does the bot do?

The bot stores a list of subscribed subreddits, and an associated karma-count that must be attained before they are notified of the mention.

The bot then searches reddit for comments mentioning that subreddit, and once a comment is found, it is stored and checked periodically until the necessary karma is reached. The sub is then notified of the comment mentioning them.

An example of this functionality is visible here.


I'm working on an automated system for subscribing a subreddit to the bot, but as of right now, all additions are done manually. If anybody wishes to subscribe a sub to the bot, just send me a PM. In the future, I'll set up another means.

I am also working on putting the source on github, but there's some editing I need to do first, as well as put the database info in a config, instead of leaving it hard-coded.

Lastly, if you have any questions or suggestions about the bot, leave a comment here, or make a post in the sub.


r/SubNotifications • • Aug 17 '23

Discontinuing u/Sub_Mentions

15 Upvotes

u/Sub_Mentions has been in disrepair for some time at this point after several years of running unmonitored. This hasn't been due to the public api changes but more so my neglect. It's a very old project and one I'm not prepared to continue maintaining at this point. If Reddit's first-party Dev Platform ends up supporting it though, I'll probably build something on there in the future to replace it

Redditcomber will NOT be going away. You can still find and use it here: https://redditcomber.com

I want to take a moment to highlight the differences between these two projects so it's clear what is or isn't going away, and why I made this choice

u/Sub_Mentions was always made for the purpose of being a moderator tool. Mods wanted to know when their subreddit was mentioned elsewhere on Reddit the same way that usernames worked. Because of its primary purpose as a mod tool, u/Sub_Mentions was designed to support sending notifications to modmail. If modteams didn't want these notifications but individual mods did, they could configure the notifications to be sent to their inbox instead.

In contrast, Redditcomber was always a tool for personal / individual use. If you have a topic or keyword that you were personally interested in finding usage of on Reddit, then you could enter it in Redditcomber and receive notifications. Redditcomber was designed to be a more generic, more powerful tool that was intended for a broader audience. Taking that tool and building in support for modmail messages would've been a lot of work for a very niche use-case, so I chose not to, especially since u/Sub_Mentions was functioning fine at the time.

Well, time passed and now I'm at the point of not really wanting to support two different projects with different tech-stacks doing similar things, so I've elected to stick with Redditcomber. Hopefully those of you that were previously using u/sub_mentions can either adapt it to suit your needs, or find another tool that can. As I mentioned, keep an eye out for stuff on Reddit's developer platform.

For those of you interested, I'll leave the links in the sidebar to u/Sub_Mention's source code up, so you can play with it yourselves but it will probably need a good bit of work to get running with the latest version of PRAW, and please do feel free to reach out and ask questions about anything related to the work I've done / am doing on any of the projects discussed here.


r/SubNotifications • • Mar 02 '19

RedditComber V2 - Final Update

14 Upvotes

It's been a long couple of days, but the new app is up, the comment scraper is running (on my computer for now, so I can baby-sit it), and the data has been migrated.

RedditComber is officially back online.

Thanks for being patient, and I hope you dig the new site.

https://redditcomber.com

Thanks everybody, and thank you very much to /u/Drunken_Economist for his continued development support.

Cheers,
T1RG


r/SubNotifications • • Jul 20 '15

General Information

13 Upvotes
Why is this bot messaging my modmail?

You, or another moderator of your subreddit, requested that this bot notify you of comments mentioning your sub. This is an opt-in service, and will not message a subreddit without being explicitly asked to.

What is this bot?

This bot supports the feature of subreddits receiving notifications whenever their subreddit is mentioned elsewhere on the site.

Can I configure this?

Yes. This bot supports comment filtering by karma, subreddit, and user. Basically, you can ask to only receive notifications of comments mentioning your sub that have reached a certain karma, and filter out mentions from specific subreddits, bots, or users you're not fond of.

How do I sign up?

Click the "Subscription Message Template" in the sidebar. You'll be prompted to enter

  1. The sub name. (No /r/ or <>. Adding either will cause the bot to not work .)

  2. How much karma a comment should have before you're notified about it (can even be negative, as a catch-all).

  3. The names of any subreddits or users you don't want to receive notifications from.

Send the message from the user or subreddit you want to receive the notifications.

I don't like this. How do I stop getting messages?

You can unsubscribe a subreddit with the template in the sidebar. Just enter the subreddit name you wish to un-subscribe yourself or a subreddit from. Again, you need to send the message from the subscription target. If you're signed up, just send it from yourself. If you want to unsubscribe a subreddit, send it from that subreddit.

Can you filter specific users / subreddits?

YES. The template offers an example of how to filter users or subreddits.

Can you send this to my inbox instead of modmail?

Yes. The bot will send messages to whomever sends it a subscription message. If you send a message from yourself, it will message you. If you send a message from a subreddit, it will message that subreddit.

I signed up, but I didn't get a response from the bot. Did it work?

No. If you signed up and didn't receive a confirmation message, the bot's oauth has expired for an unknown reason. In this case, PM me and I'll fix it next I can. I'm still working out some bugs.

I signed up, and the bot confirmed I signed up, but it's still not working. What gives?

The template is very picky. If you had /r/ infront of the subreddit name, or left in the <carrots>, the bot won't work. Input sanitation is my next priority, but I've been busy with schoolwork recently.

Other

Feel free to ask questions bellow, and I will append the list as necessary.


r/SubNotifications • • Oct 11 '23

I made a Discord server for Redditcomber as an easier means for people to get in touch

Thumbnail discord.gg
11 Upvotes

r/SubNotifications • • Sep 07 '20

Allowlist Support RedditComber now has a Patreon!

Thumbnail
patreon.com
10 Upvotes

r/SubNotifications • • Sep 26 '26

The Future of Redditcomber

9 Upvotes

TL;DR: Redditcomber is working again for now. All of Redditcomber's paid features are now free. I've discontinued the Patreon and increased the keyword limit from 5 to 20.


If you're here because you've noticed Redditcomber sending you messages again, welcome back. I have a great amount of fondness for this project, and it's been hard seeing it struggle the past few months. I finally spoke with the right people to help me debug why everything was broken and we were able to get things back to working order, but it's hard to say for how long that will last.

Reddit Inc has taken an understandable, if somewhat adversarial stance on third-party apps, and I'm not here to question the decision making behind that policy, just acknowledge its consequences for my app and all of you; its users.

The people who work at Reddit have put in a lot of highly appreciated effort to help keep Redditcomber working despite larger and more long-term shifts in Reddit's priorities when it comes to external developers, and for that they have my gratitude.

Now more to the direct point; I don't expect Redditcomber to work for much longer.

I've never been secretive about Redditcomber, what it does or how it does it, and Reddit Inc has always seemed willing to turn a blind eye to my *ahem* creative interpretation of their terms of service, and I believe that's because they're willing to distinguish between people and projects that are self-interested, versus people like me who just want to build a useful feature for and within Reddit. At its most popular, Redditcomber has been barely self-sustaining, supported by people who found value in it and wanted access to the modest "premium" features. They're not the sole thing that kept Redditcomber going, but they certainly helped distribute the financial burden.

Despite Reddit's exceptional willingness to tolerate this project, it continues to get caught in the crossfire of policy changes that intend to target more malicious usage of the public api. I don't begrudge them that fight, but ultimately I'm fighting a losing battle. At some point I expect Redditcomber to enter a state of disrepair that just isn't able to be fixed, either through public api policy changes, spam rules putting the accounts in a bad state, or any number of unforeseeable things. If the last few months are any indication, the problems that come up are systemic, not something I can fix in a code editor by myself.

I get asked from time to time why I haven't moved things over to the Developer Platform yet, and the reason for that is pretty simple; Reddit's Developer Platform doesn't have the features Redditcomber needs to run, namely a handler that receives every public post and comment on the platform. I will continue to advocate for adding that and will make the official Dev Platform the new home of this project the moment that's feasible.

Okay so now back to the bit that I put in the TL;DR. Because this project is on its last legs, I don't feel good about asking for money from the community anymore, and without offering another means to access the "premium" features, I've decided to just make them accessible to everybody. Everyone should now have access to up to 20 keywords, and access to both blocklists and allowlists.

Lastly, thanks for using Redditcomber over the years. My ambition has only ever been to build something that other people found useful, so if Redditcomber has been useful for you, then this project has been a successful one. My favorite parts of this project have been getting my own notifications for the keyword redditcomber and seeing people recommending it to someone else


r/SubNotifications • • Mar 07 '22

Redditcomber's UI has been updated

9 Upvotes

After finalizing some designs on the beta and commissioning a logo, the swap is now complete!

Check out the shiny new site here: https://redditcomber.com/


r/SubNotifications • • Mar 08 '21

Redditcomber's Future

9 Upvotes

Been awhile since I've kept you guys updated on what I've been up to so I thought I might take a second to fill you in

Firstly, the stuff to celebrate:

The less important of the two is that I got a job at Reddit 🎉 but Redditcomber will continue to be my own personal project unaffiliated with Reddit Inc

But more importantly, Redditcomber hit 3000 keywords! That's a lot of usage!

Now that gets us into development work:

For as long as Redditcomber's been growing, the main struggle has been how to keep up with usage and how to most efficiently use CPU time, because we're on a budget. Even this small operation costs more than my monthly internet in compute instances, so we have to run lean

In the past, Redditcomber has been a python backend that has... let's say "limitations", but I've spent awhile re-implementing Redditcomber in Go, to take advantage of the speed and native parallelism. Now, I've known Go for less than a month, so there's been a lot of tinkering going on, but I've arrived at a highly performant working prototype. It's not in production yet, but it won't be much longer until it is. What that means for you is faster and more consistent notifications

Secondly, I've been toying with the idea of moving the notifications from redditcomber to their own account, so it's separate from the original /u/sub_mentions account. As-is /u/sub_mentions is responsible for an enormous amount of DM traffic and I largely relied on its whitelist status to cut through some red tape that no longer needs to be cut through. I'd actually like your feedback on this though, so please let me know how you feel about moving notifications to a new account

Regardless, that's the immediate future for Redditcomber. Happy to continue spamming your inboxes (upon request)!

Cheers,
Randy


r/SubNotifications • • Apr 06 '17

General Info - Reupload to Unarchive V2

9 Upvotes
Why is this bot messaging my modmail?

You, or another moderator of your subreddit, requested that this bot notify you of comments mentioning your sub. This is an opt-in service, and will not message a subreddit without being explicitly asked to.

What is this bot?

This bot supports the feature of subreddits receiving notifications whenever their subreddit is mentioned elsewhere on the site.

Can I configure this?

Yes. This bot supports comment filtering by karma, subreddit, and user. Basically, you can ask to only receive notifications of comments mentioning your sub that have reached a certain karma, and filter out mentions from specific subreddits, bots, or users you're not fond of.

How do I sign up?

Click the "Subscription Message Template" in the sidebar. You'll be prompted to enter

  1. The sub name. (No /r/ or <>. Adding either will cause the bot to not work .)

  2. How much karma a comment should have before you're notified about it (can even be negative, as a catch-all).

  3. The names of any subreddits or users you don't want to receive notifications from.

Send the message from the user or subreddit you want to receive the notifications.

I don't like this. How do I stop getting messages?

You can unsubscribe a subreddit with the template in the sidebar. Just enter the subreddit name you wish to un-subscribe yourself or a subreddit from. Again, you need to send the message from the subscription target. If you're signed up, just send it from yourself. If you want to unsubscribe a subreddit, send it from that subreddit.

Can you filter specific users / subreddits?

YES. The template offers an example of how to filter users or subreddits.

Can you send this to my inbox instead of modmail?

Yes. The bot will send messages to whomever sends it a subscription message. If you send a message from yourself, it will message you. If you send a message from a subreddit, it will message that subreddit.

I signed up, but I didn't get a response from the bot. Did it work?

No. If you signed up and didn't receive a confirmation message, the bot's oauth has expired for an unknown reason. In this case, PM me and I'll fix it next I can. I'm still working out some bugs.

I signed up, and the bot confirmed I signed up, but it's still not working. What gives?

The template is very picky. If you had /r/ infront of the subreddit name, or left in the <carrots>, the bot won't work. I've added some basic sanitation and error-feedback, so you should know if this doesn't work.

Other

Feel free to ask questions bellow, and I will append the list as necessary.


r/SubNotifications • • Sep 11 '21

Brief Redditcomber downtime today

8 Upvotes

I just need to run an update on the computer it runs on before I go on vacation for a week

If you noticed and came here checking why, comment below and I'll gild you or something idk


r/SubNotifications • • Apr 07 '21

Mod Safety / Personal Info Monitoring w/ Redditcomber

8 Upvotes

Something I've seen discussed lately was the notion of moderator safety and the detection of personal information / doxx on Reddit. I think this is a fairly important issue that should ideally be self-managed.

Something I'd like to do is offer an increased keyword limit to moderators of default subreddits, so that they may enter / monitor personal information being posted elsewhere on Reddit for quicker identification / escalation.

If you moderate a default subreddit and would like to use Redditcomber as a personal safety tool, DM me privately and I'll change your Redditcomber account status.


r/SubNotifications • • Sep 27 '17

Update on what's going on

8 Upvotes

Been about a month since I've made a public post so I figure now's a good a time as any.

I've spent a lot of time working on redditcomber recently. If you haven't noticed, that's because it's on a new and improved version that I haven't released yet. I don't have an ETA on when the beta will be released, but soon enough. Will be an entirely new web-app that hopefully looks less hacked-together. A lot of the changes are mainly for me, making it easier to do future-work. I have ideas for changes that weren't easy to implement before but will be easier in maintaining an enterprise-like application for you. Also I'm running up against a cost-wall pretty soon so I don't exactly want to keep wasting time on this.

Secondary to that will be updates to the actual notification service. This is important because it hasn't been touched in awhile and while its fault tolerance is remarkable, it's not very... organized... Which is to say I've come up with designs for a replacement, I just have yet to start implementing it. The replacement should have better scalability and a larger feature set. I don't know how much of that I'll be able to offer to the subreddit notification service, but where I can expand, I will. SubNotifications have the inherent limitations of using reddit as its interface, and there's only so much I can do with the subscription template. The syntax requirement is probably one of the biggest criticisms I receive, which is an absolutely reasonable one. So asking people to delve even deeper to that in order to access some extra features would basically just mean those features would never get used. Idk, I'll think of something. Or at least try to move away from JSON. I appreciate software that's highly testable, which for a long time, and still to some degree, these projects are not. That makes rolling out changes difficult and have a high probability of breaking. You guys may not notice it that often, but I certainly do when the bot's offline for 48 hours and I have to dig into time I would otherwise spend sleeping.

So that's the direction I'm going in with these things. Projects that actually look and feel legitimate, instead of something hacked together. I've come a long way, but there's still a lot of ground to cover. I just figured a month was a little too long to leave you guys in the dark on that.

Peace,
Randy


r/SubNotifications • • Apr 18 '17

Refactoring Time Again

8 Upvotes

As most of you who use this product know by now, I host a similar service through https://redditcomber.com. Well, thanks primarily to you guys spreading this service through word-of-mouth, /u/Sub_Mentions was responsible for nearly 2% of reddit's PM traffic. That's a massive number for an individual account. That's one account sending basically 10k messages per day, or one message every 8.5 seconds.

Now I'm sure one could beat that number, but these bots provide an opt-in service that's fairly processing intensive. I'm very proud how far it's come and how much of a core feature these services seem to be. What's more is that I've been able to make these things for you at no cost to your or to myself, which is frankly rare for operations at this scale. The people that support this project monetarily have my infinite gratitude.

But now to the point of this post, it seems that the previous design had start to hit its upper bound as far as message speed goes, and that's unacceptable to me. A system that works most of the time is a system that doesn't work well enough. To temporarily address this problem, I've banned two keywords that are excessively common. I don't feel great about this move, and I'd very much like to reverse it, but at the present moment, that's not possible.

So it's time for a re-design. Again. Distributed systems are complicated, but they enable a certain separation of concerns that I believe are necessary for this project to continue. So please, continue using /u/Sub_Mentions, as it's my motivation to keep improving it. Just figured I'd give you guys a heads-up in case these changes impacted your experience at all. They shouldn't, but better safe than sorry. I'll be doing extensive testing before flipping that switch, but that's where this crazy-train is headed. Buckle up.


r/SubNotifications • • Feb 27 '17

Huge Milestone - 1000 Subreddits

8 Upvotes

Today is a big day. Today the /r/SubNotifications bot is now searching for 1000 unique subreddits as keywords. This may seem like a small amount, compared to the ~350000 subreddits that currently exist, but only about 6000 subreddits get any modmail in a given week, and this one bot makes up a not-insignificant chunk of that mail.

1000 subreddits. Wow.

Every single comment posted publicly is being pulled down by this bot, scanned for the mentions of a thousand different communities, and then either discarded or sent for further processing. That's no small feat.

I'm further amazed how this on-a-whim project, suggested to me by /u/preggit, now became a feature integral to the daily activity of so many users. I'm very proud of this work, and the satisfaction you guys derive from it.

I'd like to thank /u/preggit for the idea and support, /u/Drunken_Economist for going to such great lengths in helping me keep the lights on, and /u/amici_ursi, who has helped shape the user experience by staying so interactive with me during development. You can thank him for a lot of the quality-of-life improvements as well as faster-response-times on outages. He keeps me in the know without ever having been asked to and deserves some recognition for that. That thanks also extends to anybody over the past couple years who has spent time offering feedback on the bot. It is what it is today because you put in time to help me.

Today, /r/SubNotifications is faced not with design problems, but with scaling problems. How to feasibly support the load of comments that go through it on a daily basis. So while my journey towards providing the best service possible will continue, it's a rewarding problem to have.

Keep on keepin' on,
Randy


r/SubNotifications • • Jan 30 '17

It's only a mild banning.

8 Upvotes

Just a heads-up, there was a brief outage today where /u/sub_mentions was shadowbanned. It got caught by a spam tool, but everything is back online and all is well. All of your data / config is still there.

Big thanks to the people that noticed / helped sort everything out in such a timely manner. I owe you, and so does everybody else that likes / uses this bot.

Cheerio


r/SubNotifications • • Sep 01 '17

Migration Complete

7 Upvotes

Both bots are now up and running on their new server. Enjoy.


r/SubNotifications • • May 30 '17

Minor Update to Format

7 Upvotes

Hey, when I made the change I didn't post anything so I guess I will now.

I had a few requests to update the post format, so I've gone ahead and done that. Should look a tad cleaner / more compact. Also slightly more mobile friendly, based on the notifications I've received on my phone, so thanks to the people who've suggested the changes.

In the future I'd maybe like to consider letting people format their own messages, but that'd require a lot of consideration towards how that'd be configured or reconfigured. Just something to toss around in my head and see if anything rolls out.


r/SubNotifications • • Mar 07 '16

Future of SubNotifications

7 Upvotes

I think my next thing to add to this project, apart from checking a subscription config without actually modifying it, is adding some form of "achievements" for use of the bot. Some little accolades that notify what sort of usage users are getting out of the bot.

Things like:

  • "Ears Burning: You have been mentioned on reddit 100 times."

  • "Talkative Bunch: Send a total of 500 messages in response to a bot notification."

  • "Moving Goalposts: Update the bot configuration 5 times."

Etc etc etc. As usual, feedback or suggestions are appreciated.


r/SubNotifications • • Jan 08 '16

MRW This account needs karma for my next project

7 Upvotes

r/SubNotifications • • Sep 28 '15

On Privacy

7 Upvotes

This issue came up a few times back when the bot was running directly on my main account, and I figure it's worth addressing a bit now.

I'll split this up into two sections. What I have access to, and what you can expect of me.


Access:

I have access to all responses you make to sub notifications. If it spawns a modmail chain of you guys talking to each other, then I am capable of viewing it on the /u/Sub_Mentions account.

I can see all subscription and unsubscription notifications. I have access to who is subscribed to what, and which users or subreddits they have filtered.

What you can expect:

I do occasionally log into the /u/Sub_Mentions account. It's not completely autonomous, and the way it functions requires me to log in to restart the subscriptions interface, or restart the notification service. When I'm there, I do clear the inbox, because I'm one of those people. No, I'm not interested in reading your modmail conversations in response to the bot, but I'd be lying if I said the possibility didn't exist that I could. Full disclosure.

I guarantee that I will not share any modmail information. What you say to or in response to the bot begins and ends there. For all intents and purposes, it's modmail, and I'm a fly on the wall not paying attention. Under no circumstances will I share information there with anyone else.

The same is true for who is subscribed, and for which subreddits. If you use this bot, I will not share that information. This is private data, and the only person that should know if you're subscribed to something, is you, or your moderation team, and me.

Because this is a personal project, and because I'm currently looking for a job, I may include vague information about this project like "x users use this thing I've developed", but nothing personal, and no identifying information.


I'm open to discussion on any of this. Feel free to leave a comment or send me a PM.


r/SubNotifications • • Jan 17 '22

Redditcomber Redesign Beta

6 Upvotes

There's a new version of Redditcomber now available for general use at: https://beta.redditcomber.com

Please give it a test-drive and let me know how it goes

Edit: In case the website seems broken to you, please try forcing a refresh of your browser's DNS cache. On Chrome, you can do that here: chrome://net-internals/#dns


r/SubNotifications • • Oct 18 '21

Redditcomber Tech Blog 10/18/2021

6 Upvotes

I'm home recovering from a bachelor party I attended this weekend, but it's the second time I've taken time off work in the past month. What those vacations have in common, though, is that Redditcomber decided to crash on me while I didn't have particularly convenient internet access, causing an outage that lasted about a day each time.

Well, I'm tired of Murphy's Law biting me in the ass every time I decide to "trust" this app. There's too many people using it at this point for that to be acceptable. Now, y'all are exceptionally accommodating. I've received nothing but positive messages whenever people have had an issue with the service asking for help, and in those cases I'm happy to go out of my way to provide it.

But I think it'd be easier for everyone if "shit just worked". So I decided it was time to dive into a deployment management service like K8s or Docker. In this case, Docker because it's piss-easy to set up in comparison. GCP is a little bit of a hassle to set up with it, but overall it still makes my life way easier managing this thing, so here we are.

A little background on the app is that the comment scanner and post scanner are actually two different services that actually share a lot of logic. They live in the same repo, and use the same libraries, but they have different entry points and slightly different scanning logic.

The popular pattern seems to be a Dockerfile for each app startup process, which is straightforward enough; just copy the files to the relevant workspace, build, and run the app.

Then just add an entry for each into our docker-compose.yml file and then docker-compose up becomes a quick and easy startup command for both. The nice part though is a little line in the config; restart: "unless-stopped", which restarts the app should it ever crash for some reason.

So lastly, log into the GCP VM I have provisioned for this project, make sure docker tools are installed and the daemon is running, and start the app. Redditcomber should now run indefinitely and be fault tolerant.

And as a bonus, whenever I update the app now, I can simply clone the repo and re run docker-compose up -d and it will replace the old running instance. Less downtime when making development changes!

Future plans will be to integrate it with GCP's Cloud Build / Cloud Deploy products, but that's a todo item for another time.

And lastly, here's the Patreon for Redditcomber in case you're interested in supporting this project. Supporters get my eternal gratitude, as well as a couple extra features: https://www.patreon.com/rgood