TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How I've built a profitable Slack bot as a side project in Rails

263 pointsby pawurbabout 7 years ago

14 comments

nathan_f77about 7 years ago
Great project and writeup! But I think a one-time fee makes very little sense for a hosted SaaS product, and you should definitely switch to recurring billing. Instead of a one-time fee of $29, I think you could charge $3 per month, or $29 per year (20% discount.) You could also charge more for larger teams.
评论 #16617618 未加载
pjc50about 7 years ago
I'm glad the author acknowledges there are abuse risks to anonymous communication.
评论 #16619152 未加载
评论 #16618085 未加载
throwaway2016aabout 7 years ago
Great writeup. And, if the author is here, congrats on profitability!<p>As a tip for other aspiring bot developers, though.<p>I&#x27;ve been writing a lot of bots lately and I&#x27;ve been convinced that for Slack bots Serverless really is the way to go. Pay for what you use, no infrastructure to run, and mostly seamless scaling.<p>I know the infrastructure is already lean based on this article but with AWS Lambda and DynamoDB each user would be pennies a month.[1] Profitability would only require about 1 user.<p>Ultimately, though, the most important thing is to launch and if RoR gets you their fastest or offers some features that are critical to your app and can&#x27;t be done in serverless then that is what you should do.<p>[1] When you consider the DynamoDB free tier. Which I&#x27;d venture you can get to a huge number of users before exhausting your free tier with a chat bot.
romanovcodeabout 7 years ago
Great idea but weird examples given.<p>&gt; I know you&#x27;ve been stealing my sandwiches.<p>Doesn&#x27;t this kind-of defeats the purpose? It&#x27;s pretty clear who is who in this scenario.
评论 #16617574 未加载
评论 #16617673 未加载
评论 #16617607 未加载
评论 #16618294 未加载
评论 #16621892 未加载
martin-adamsabout 7 years ago
Interesting project. The only thing that really came to mind is since the messages are deleted on their server, could someone use it as a way to harass to a colleague leaving the company unable to take any action because it would be 100% anonymous.
assafmoabout 7 years ago
You can maybe save the 9$&#x2F;month by replacing PostgreSQL with a more generous cloud database. Maybe Cloudant (<a href="https:&#x2F;&#x2F;www.ibm.com&#x2F;cloud&#x2F;cloudant&#x2F;pricing" rel="nofollow">https:&#x2F;&#x2F;www.ibm.com&#x2F;cloud&#x2F;cloudant&#x2F;pricing</a>) or Firestore (<a href="https:&#x2F;&#x2F;firebase.google.com&#x2F;pricing&#x2F;" rel="nofollow">https:&#x2F;&#x2F;firebase.google.com&#x2F;pricing&#x2F;</a>).<p>You should also check out the lambda services of google&#x2F;azure&#x2F;aws&#x2F;webtask.io, maybe they are cheaper for your usage than the $7&#x2F;month you are paying Heroku for the dyno.
alfonsodevabout 7 years ago
I was surprised by the one time purchase model. When I see that many other bots are charging by user per month.<p>What are you thoughs on the by user&#x2F;month model ? Example 1$ per active user per month vs fixed amount per month ?
darepublicabout 7 years ago
Seems like this could lead to a lot of trolling, harassment, and false flags. As humorous as I find the guy fawkes avatar I would pass on this for my own workplace.
blacksoilabout 7 years ago
Hi, thanks for sharing your journey. You might wanna share this on www.indiehacker.com, more people will be inspired :)
imhoguyabout 7 years ago
Excellently simple and well executed idea! I also plan to go global with some tiny for fun&amp;profit side-projects. I agree, it is not easy job with our EU VAT MESS laws so I look for some all-in-one solution too. I wonder if you had a chance to compare Paddle with FastSpring in any way?
评论 #16629950 未加载
nxrablabout 7 years ago
&quot;Rails&quot; is in the title, but there isn&#x27;t really anything in the article about what the advantages of using Rails for a Slack bot are. What have been people&#x27;s experience using Rails for this kind of app?
评论 #16621880 未加载
评论 #16621060 未加载
评论 #16621001 未加载
nukeopabout 7 years ago
Very interesting article and it gives me hope that creating a couple of decent APIs or bots can return a reasonable passive income that could make it easier to switch jobs in the future or enjoy an extra vacation a year.
keithnzabout 7 years ago
Interested to know why paddle rather than something like Stripe?
评论 #16629940 未加载
lr4444lrabout 7 years ago
This bot is a great idea. Kudos to you!