News for hackers. Stuff that matters.
Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Friday April 14, 2023 @07:40AM (#35568323)
I run HTTP Toolkit (https://httptoolkit.com) which passed $2k a couple of years back. No longer a side project, as it's made enough money for me to work on it full time for a fair while now, but it certainly started that way, and it's still a one-man show (plus many wonderful open-source contributors).

I suspect that'll be a common theme in answers here though: if you have a side project making $2k a month, in most of the world that's enough for you to go full-time and try to take it further. If you can make $2k/month on something working only part-time, you can definitely make a lot more if you focus on it.

On your questions: HTTP Toolkit is a desktop app (plus a mobile app and other components for integrations) but it's an Electron app that effectively functions as a SaaS (with a freemium subscription model) that just happens to have a component that runs on your computer. And actually getting to $2k wasn't overnight at all - it took a couple of years of slow steady slog. A few inflection points that made a notable difference (releasing rewriting support & Android support particularly) but mostly it was a matter of "just keep pushing", trusting the trajectory would keep going, and steadily grinding upwards. It's great where it is now, but it's hard work - a solo business is not for the faint of heart!

Re:Ask HN: Side project of more that $2k monthly revenue wha... by nigma1337 on Friday April 14, 2023 @08:06AM (#35568557)
I absolutely love how easy it was to capture requests through ADB with your tool, only solution i could find which just worked out of the box.
Re:Ask HN: Side project of more that $2k monthly revenue wha... by seri4l on Friday April 14, 2023 @08:20AM (#35568691)
Does it work for apps with pinned certs?
Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Friday April 14, 2023 @08:47AM (#35568943)
Depends on the setup, but for the proper certificate pinning cases where it doesn't work automatically, I have a Frida walkthrough & script you can use to easily do this at https://httptoolkit.com/blog/frida-certificate-pinning/ and I'm working on fully automating that part within HTTP Toolkit too (more details: https://httptoolkit.com/blog/frida-mobile-interception-fundi...).
Re:Ask HN: Side project of more that $2k monthly revenue wha... by iamlolz on Friday April 14, 2023 @08:07AM (#35568558)
I really like the UX on the homepage of emailing a download link to myself.
Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Friday April 14, 2023 @08:58AM (#35569059)
Thanks! Yes, I found that a huge percentage of visitors to the site were on mobile (especially for HN/reddit/etc traffic) and when your product is a desktop app there's not much you can do with that, so for a long time I effectively didn't have a call to action for most visitors at all, which isn't great for anybody.

Under the hood it's just a tiny automated email flow set up via Mailchimp that sends out the download link when you sign up. Nothing fancy, but it's easy and it does the job.

Re:Ask HN: Side project of more that $2k monthly revenue wha... by spotplay on Friday April 14, 2023 @08:17AM (#35568663)
Interesting project. Will definitely check it out next time I have to analyze the traffic from my phone.

I was just about to ask how do you differentiate your product from mitmproxy but on a quick google search I found this thread from a few years ago: https://news.ycombinator.com/item?id=29627819

Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Friday April 14, 2023 @08:54AM (#35569018)
The nice bit of running a project for a long time is that eventually your old answers accumulate and save you time like this :-).

That said, one point there is outdated: HTTP Toolkit does now fully support websockets too. There's more I'd like to do there, but as far as I'm aware it's equally capable to mitmproxy in that sense today.

Re:Ask HN: Side project of more that $2k monthly revenue wha... by synergy20 on Friday April 14, 2023 @08:30AM (#35568780)
how is this different from devtools? is the main selling point easy of use, or more extra features on top of devtools?
Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Friday April 14, 2023 @08:47AM (#35568944)
Yes: ease of use, lots of additional power (for starters, you can modify traffic, not just view it) and being able to intercept anything (multiple tabs, multiple browsers, mobile, docker, CLI tools, backend services, you name) all in the same interface.

For the web dev case, for example, if you're debugging some interaction that means you can intercept your browser <-> server traffic and your server <-> upstream API traffic all in the same place, and see the full flow, and you can modify server responses or backend API responses in flight, to test out different edge cases.

There's a Chrome dev tools vs HTTP Toolkit comparison page here with a little more detail: https://httptoolkit.com/chrome-devtools-alternative/

Re:Ask HN: Side project of more that $2k monthly revenue wha... by slowmotiony on Friday April 14, 2023 @03:13PM (#35573503)
That's very cool - does it support corporate proxy stuff like PAC files, HTTPS, NTLM, Kerberos, authenticating with current user, etc? For example would I be able to write a rule to capture traffic going to certain proxies and redirect it to another proxy? Sorry if this is explained somewhere already but I couldn't find anything about it on your webpage or github. Many thanks for your time!
Re:Ask HN: Side project of more that $2k monthly revenue wha... by ericb on Friday April 14, 2023 @08:31AM (#35568789)
Any tips on making a nice animated gif like your homepage?
Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Friday April 14, 2023 @08:51AM (#35568985)
Not really! To be honest it's a bit of a hassle and I don't have good tooling or a proper setup. I write a little script, then just record myself manually clicking through it (which is boring, and takes a bunch of tries to do smoothly) and then load it into iMovie and trim it down and speed up any awkward slow bits. It's not a perfect solution at all, but it does the job and I only update it once a year or so.

In a perfect world, I'd kill for a tool where I could define a script (something similar to a Playwright test) and it'd automatically run and record everything, so I could redo the video much more frequently and accurately. I think you probably can do that for a normal web app already (?) but the challenge here is that HTTP Toolkit is launching other apps that also pop up over the top, and so I need to record them all together.

If you're looking for inspiration around this sort of thing, the Android demo video is different and also worth looking at: https://httptoolkit.com/android/

Re:Ask HN: Side project of more that $2k monthly revenue wha... by jeffreyq on Friday April 14, 2023 @10:26AM (#35569919)
Perhaps this recording tool built on top of / integrated with an e2e testing framework could be a revenue-generating side project for an enterprising soul :)
Re:Ask HN: Side project of more that $2k monthly revenue wha... by ericb on Friday April 14, 2023 @11:00AM (#35570288)
So first off, your gif looks great! I like your sizing and resolution--that's one of the things I was worried about. Video recording is new to me, so I'd love to know what you record with and resolution settings to pick?

I stumbled on this nice blog post on automating these recordings. Maybe a partial solution?

https://martinheinz.dev/blog/94

I was thinking of doing a manual process like yours for a start rather than automating, but hearing your thoughts makes me think I'll try automating sooner.

I see what you mean about the multi-app aspect. I'll have to switch to browser windows for mine as well. Your android approach is nice!

Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Friday April 14, 2023 @12:09PM (#35571144)
> I'd love to know what you record with and resolution settings to pick?

It's an _extremely_ simple setup. Actual recording is done with Mac's built-in screenshot tool: https://support.apple.com/en-us/HT208721. It's recorded at an arbitrary window size I eyeballed the first time, that now I probably have to stick to forever (because if they're all the same size, I can reuse parts to avoid re-recording unnecessarily).

All of this is suboptimal (using 1080p would have helped, for starters, since lots of tools work better with standard resolutions) but it doesn't really matter, it just annoys me mildly one day a year and that's it.

IMO: if you're at the start, unless you have a super unique situation, I wouldn't look at automating videos or perfecting the recording setup at all - just ship something barely acceptable and see if it works, and then focus on pain points that actually turn out to be blockers later. Getting a core product into real people's hands and getting real feedback ASAP is more valuable than tweaking the video resolution or anything similar!

Re:Ask HN: Side project of more that $2k monthly revenue wha... by epolanski on Friday April 14, 2023 @08:43AM (#35568909)
Hey, I've used your tool many times to debug SSR applications! It was actually a Google engineer that recommended me it.

Like it a lot. Cheers.

Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Friday April 14, 2023 @09:01AM (#35569112)
Awesome, thanks! Glad it's working well for you :D
Re:Ask HN: Side project of more that $2k monthly revenue wha... by epolanski on Wednesday April 19, 2023 @06:09AM (#35626362)
It's awesome.
Re:Ask HN: Side project of more that $2k monthly revenue wha... by lampshades on Friday April 14, 2023 @09:33AM (#35569392)
This is a cool project. Looks like a good replacement for Charles (which I hate) and reminds me of Fiddler (which I love). The fact that this is a desktop app makes it all the more enjoyable to work on as a profitable side project, imo.
Re:Ask HN: Side project of more that $2k monthly revenue wha... by Nurbek-F on Friday April 14, 2023 @10:01AM (#35569663)
I've been looking [1] for a similar tool for a while; Just downloaded, really liking it so far! It's clean and intuitive. Thank you!

[1] - https://news.ycombinator.com/item?id=35559469

Re:Ask HN: Side project of more that $2k monthly revenue wha... by jeffreyq on Friday April 14, 2023 @10:23AM (#35569886)
This is so inspiring! Thanks for sharing your story.

I was wondering what the early days of the journey looked like. - What did the first iteration of this product look like? Was it more or less similar, or substantially different from the spirit of httptoolkit today? - How did you go from (some semblance of a product) to first sale? / acquiring first customer? - did you spend anything on marketing/distribution?

Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Friday April 14, 2023 @11:02AM (#35570309)
> What did the first iteration of this product look like? Was it more or less similar, or substantially different from the spirit of httptoolkit today?

Technically, the first iteration was https://github.com/httptoolkit/mockttp - an HTTP integration testing library for JS. Not a desktop app at all! I'd originally built that for testing uses, but as it matured I realised that with a UI and automated setup tools it'd be useful as a complete product (but Mockttp still powers all the internals today, and you can use it directly to build your own custom intercepting proxies too).

For the first real product, the very first public 'launch' was literally a landing page with some demos of the potential UI and a signup form, just to test interest and check it wasn't a terrible idea. The results looked promising, so that was followed a few months later by a very basic but usable free version (entirely read-only, and only supporting Chrome interception) with the freemium features on top appearing a few months after that. From this stage it was all very much the same spirit as today, just less feature complete.

> How did you go from (some semblance of a product) to first sale? / acquiring first customer?

Once I announced the paid version (a blog post to my tiny set of newsletter signups, plus a little response on HN/Reddit/Product Hunt etc) I got a handful of paying customers (but certainly less than 10) within 24 hours. Nice but not a meaningful income, and from that wild peak it dropped back down to maybe one new customer per week or so afterwards, so it was quite slow going at the start.

However, those paying customers (and the mere fact of offering a paid service generally) resulted in _much_ better feedback. Rather than "this is cool" all of a sudden I had real demands for specific features, from people with concrete use cases and money in their hands. The initial paid features were just made up off the top of my head, and honestly didn't create a particularly compelling paid feature set. It's very hard to really know what people will pay for! That feedback was incredibly unbelievably useful to fix that.

From there, building out the key features people asked for over the following 6 months boosted things very significantly, and started to get things moving for real, and then you get into a virtuous circle, where more users => more feedback => better product => more users => ...

> did you spend anything on marketing/distribution?

I tested advertising at a small scale for a few months, but it didn't really work great. I think largely because it's very very freemium - 99% of users pay nothing - so the acquisition cost for a paying user doesn't make sense, and also honestly I don't have much experience with ads and I'm not sure I'm any good at writing them.

Content marketing meanwhile has worked great, keeps passively returning dividends, and cost nothing. I've tried to fill the blog (https://httptoolkit.com/blog/) exclusively with detailed & high-value original content (detailed breakdowns of a recent HTTP security vulnerability, not "top 10 HTTP libraries for Python") which shares well on social networks for an immediate burst of traffic, and then (in most cases) provides both a long-term SEO boost and constant incoming traffic on related topics that converts into users. That starts slow, but again steadily builds up over years, if you keep working at it. Content marketing + SEO are pretty much the only marketing channels I work on right now.

Re:Ask HN: Side project of more that $2k monthly revenue wha... by plugin-baby on Friday April 14, 2023 @10:31AM (#35569963)
Hi Terry, awesome project! Can I use it to MITM my smart TV, or TV stick?
Re:Ask HN: Side project of more that $2k monthly revenue wha... by yellow_lead on Friday April 14, 2023 @10:59AM (#35570275)
Not him, but probably not. They likely use HTTPS with certificate pinning
Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Friday April 14, 2023 @11:24AM (#35570573)
It depends :-). If it's Android (like a Fire stick) then in some cases, but all the Android caveats apply, e.g. you'll need root access to access traffic from apps that don't opt-in to debugging. For testing your own apps that's fine, but for reverse engineering HTTPS traffic you'll generally need a rooted device. In practice, if you don't already have a rooted phone on hand it's usually best to use an Android emulator on your computer, since most of those provide root access out of the box.

Even with root, certificate pinning can cause problems (as the sibling comment points out) but you can usually defeat that fairly easily: https://httptoolkit.com/blog/frida-certificate-pinning/.

For non-Android, HTTP Toolkit can't set it up for you automatically, but you can absolutely intercept _anything_ manually if you can configure it with your own HTTP proxy setting (fairly common) and add a trusted CA certificate (less common).

Re:Ask HN: Side project of more that $2k monthly revenue wha... by ruffrey on Friday April 14, 2023 @11:19AM (#35570502)
Thank you - I love this tool
Re:Ask HN: Side project of more that $2k monthly revenue wha... by l5870uoo9y on Friday April 14, 2023 @11:20AM (#35570532)
> A few inflection points that made a notable difference (releasing rewriting support & Android support particularly)...

Do you mean that improving documentation helped get customers? I have a small side project and I think this is one of its weaker spots, even if it is relatively simple [0]. I noticed "helper popups" are getting used quite extensively.

[0]: https://aihelperbot.com/guide

Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Friday April 14, 2023 @11:23AM (#35570560)
> Do you mean that improving documentation helped get customers?

It probably did, but no that's not what I mean, sorry :-). By "rewriting support" I mean adding features that allowed you to rewrite arbitrary network traffic, rather than just viewing it (as in the very first PoC).

Re:Ask HN: Side project of more that $2k monthly revenue wha... by BigBalli on Friday April 14, 2023 @07:51PM (#35576300)
Love it, been using it for a long time. Much easier for 99% of use cases compared to Charles.
Re:Ask HN: Side project of more that $2k monthly revenue wha... by realitysballs on Friday April 14, 2023 @09:01PM (#35576690)
I used it once to get past a crux in my project , solid ui/functionality.
Re:Ask HN: Side project of more that $2k monthly revenue wha... by MangoCoffee on Monday April 17, 2023 @01:17AM (#35597089)
cool tool
Re:Ask HN: Side project of more that $2k monthly revenue wha... by tmcdos on Monday April 17, 2023 @10:16AM (#35601031)
Is it possible to make this tool work as a system-wide proxy - like Fiddler? Right now it does not support portable versions of browsers - only normally installed ones.
Re:Ask HN: Side project of more that $2k monthly revenue wha... by pimterry on Monday April 17, 2023 @10:40AM (#35601443)
You can proxy anything, it's just the "intercept the entire system" isn't automated here (because targeted interception is usually preferable).

For system-wide setup, you'll just need to configure that manually - setting your system proxy and trusting the CA certificate. The settings you need are on the Intercept page, in the 'Anything' section. For portable browsers, you may also be able to configure proxy & CA settings within the browser itself, which might be more convenient, depending on your setup.

Re:Ask HN: Side project of more that $2k monthly revenue wha... by victorabarros on Friday April 21, 2023 @05:38PM (#35660571)
Really nice, man! Congratulations!