I published the app to the Chrome Web Store, publicly. I wasn't really expecting anyone else to use it. There's a lot of recommendations in there. So you go to install an application in the Chrome Store, and immediately there's like four other similar apps listed below. So Insomnia's main competitor is, and still is, Postman, which has millions of users at this point. The way it went was people would go to the Chrome store, they would install Postman, and then below it they would see, oh, there's this app called Insomnia, which is similar. It's also a REST client, an API tool. Maybe I'll try it out. My name is Greg Schier, and I am the creator and founder of Insomnia.
This is Code Story, A podcast bringing you interviews with tech visionaries who share in the critical moments of what it takes to change an industry and build and lead a team that has your back. I'm your host, Noah Labhart. And today, how Greg Schier built a way for developers to interact with the part of the Internet not made for humans. All this and more on Code Story.
Greg Schier grew up in a small town without a lot of opportunity. He rode BMX bikes and skateboards and spent a lot of time building ramps and jumps for them both. At that time, he had no idea what programming entailed. He went to university, and it was at that point that he learned about programming, after spending some time in mechanical engineering. engineering. He recently moved outside of Montreal into a house with chickens, and he now finds himself getting into homesteading, gardening, and woodworking, creating many improvements around his place to increase the quality of life. The way he describes it, he's midway to a life change towards analog hobbies away from the digital world and the city. While he was working for a company making a transactional email API, he realized that that they didn't have a good way to interact with said API. There needed to be an easier way to interact as a customer, as a developer, et cetera. His tool, which ended up taking off, was born out of trying to solve this problem. This is the creation story of Insomnia.
Insomnia is a desktop application to help developers like myself interact with data-driven APIs. So you might have an API that you use JSON to fetch data and to make changes. You might have a GraphQL API, or you might just have simple APIs that take HTML form input. The way I describe it to my family members who aren't technical is I built a web browser for interacting with the part of the internet that's not meant for humans to read. forth. It's really hard to work with, so you kind of need a tool to make it friendlier to a human. So Insomnia lets you set up requests. You can put all your data in there and it formats it really nicely and makes it easy to add authentication. So OAuth, other types of authentication like that, which if you have to do it manually it's a huge nightmare. You have to read white papers and stuff, RFCs to figure out how it all works. Insomnia makes that really easy. So you can just go in there, get started with an API, maybe using the Stripe API maybe Shopify, something like that. Or you're building your own API, and you just need some way to easily interact with it and test it out. So Insomnia basically makes all those tasks easier for a regular person to do. And the way I got started with that, I was working at... Basically, my first job after university, my first tech job, was with a company called SendWithUs. We were making a transactional email API. So you send data with some variables in it, like first name, card items and we'd render off an email in real time and send it through your email service provider. So we were essentially building an API for our customers and we didn't really have a good way to interact with it day to day. So say a customer would have a problem getting started with the API or we'd be building a feature. We need some way to test that out and make sure it works, try different things. If it's a customer problem we need to debug it. So we need a a quick way to fire up an API request, send some data and see what happens. So Insomnia was essentially born out of that problem. Initially, it started as just a simple application needed to send JSON to an API and see a JSON response. So that's exactly what I built.
Let's switch to the MVP. Tell me about the MVP. What sort of tools you used and the process you went through to bring it to life?
Yeah, so the MVP was really quite a simple product. I think it took maybe a couple days to create the first working version. And then after a week, I actually published it publicly for others to use. So the MVP was essentially the minimum viable product for my team and myself to use. So we had an API that we were working with. It accepted JSON and returned JSON. The only thing that I built was an app where you could create requests, you can add an API key to the request for authentication, you could add your JSON to the request body, and then you can send off the request and get a response. And it would do some nice syntax highlighting for you, it would format the responses nicely. But all that took, I guess, probably a weekend, and then I published it mostly for my team to use. I published it to the Chrome Web Store, just for distribution so I can, like my team members could receive updates. So that was the MVP. Very simple. And my team basically was up and running using a new tool in a week. And we were much more productive after that. Yeah.
So with any MVP, you've got to make decisions and trade-offs, right? In the early days where you have to cut features or take on technical debt. And I can kind of perceive some that you may mention, but tell me about some of those trade-offs you had to make in the beginning and how did you cope with those decisions?
It's interesting because I wasn't building the product for anybody else at the start. So I wasn't thinking about long-term at the time, is my point. So I wasn't really aware of what the impacts of those decisions would be. Like, one of the biggest ones early on was like, I use jQuery, and I just whip together like a really, really messy web application, not really understanding that I would be maintaining it later on. So I guess that would be the biggest trade off. But that's, I mean, that was the tool that I used at the time that I was comfortable with. So it allowed me to get up and running really quickly. And I think like not having built it for anybody else sort of made that decision much easier. Because I think it's really easy to like start a product, you're like, oh, all these people are going to use it, it's going to need to scale, I'm going to need to build it with technology that's easy to change later. So you end up thinking a lot more, maybe unnecessarily about those things. But since I was just building it for myself and my team, I wasn't thinking I just used the tools that were most productive and maybe not necessarily the most intelligent choices for the long term.
Let's move forward then. How did you progress the product from there? And I'm interested in product progression, maturation, and then how you built your roadmap. How you figured out what was the next most important thing to build?
Like I mentioned, I published the app to the Chrome Web Store. I wasn't really expecting anyone else to use it. I think because the Chrome store had so much... There's a lot of recommendations in there. So you go to install an application in the Chrome store, and immediately there's four other similar apps listed below. So Insomnia's main competitor still is Postman, which has millions of users at this point. So I think the way it went was people would go to the Chrome store, they would install Postman, and then below it they would see oh, there's this app called Insomnia, which is similar. It's also a REST client, an API tool. Maybe I'll try it out. So I'm pretty sure that's sort of what spurred the initial growth of users. I think after maybe a year, a year after publishing it live, there was maybe like 1,000 to 3,000 users, real people using it. And I made it really easy to send feedback once I started noticing that people were installing it. in my inbox of like, hey, this is really cool, but it's pretty simple. I'm really excited to see where it goes. Can you, like, here's all my feedback. In the early days, like I remember getting emails that were like 1000, 2000 words long of people who are obviously really, really excited about the app and its direction. And just sort of talking back and forth with those people. Like that's what drove the roadmap initially. So that sort of got it out the door. And eventually Eventually I ended up quitting my job to focus on it full time and then subsequently I open sourced the product. So that also helped us really start getting feedback from a bigger community and also getting more participation from people who could suggest things but also actually implement the thing that they're suggesting.
For Insomnia, if it being open sourced, you kind of had an open source team.
team? No. So I was the only person working on it for the first, I would say, I think it was four years, maybe five years. There were a few major open source contributors, maybe like two or three. They made a really big impact by adding, I think one of the first major open source contributions was the addition of OAuth authentication. I mean, I didn't want to learn it. So it was nice that that someone just came in and added it for the product and that really benefited from there. But yeah, it was just me for the first five years and it wasn't until Insomnia was acquired that I ended up sort of inheriting a team, but I was also able to hire someone from the open source community. And that was really, really exciting and really cool. After the acquisition, I worked on it for about a year and now I have since moved on. So I didn't spend too much time with a team on Insomnia relative to the whole product's lifecycle.
So as far as the major open source contributors, did you have any say over how people contributed? Or talk to me about that, maybe about were you able to kick people off if they were jerks or if they weren't coding well? Or, you know, if they were doing something to your product you didn't agree with, tell me about that a little bit. And how did you determine who was doing well and who wasn't?
So when it comes to products, I think the most important thing that you can do is be as transparent as possible. The reason for that is it really builds trust with the people who you're interacting with. So one of the reasons I open sourced it in the first place was I wanted to be more transparent. parent. I wanted to like have people be able to contribute with ideas or like actual code. I wanted to show people like this is what the app looks like. If you have any questions or concerns, you can just go look at it. And one of the other things I did as soon as I, I think it was right when I added a paid option. I actually also published all the financial data. So people could go on the website and see, oh, this is how much money the application is making. This is how many users it has. Basically anything that they wanted to know, they could find out or ask. And I think that really shaped the community in a positive way. So like for things like someone asking for a feature that didn't exist, because of the culture of transparency, it was really easy for me just to honestly and openly say my opinions of like what I thought about the feature, what it could do. I always framed it in the mindset of this is us building the feature. It has a benefit us, not like I don't want this. I don't think it's good. If someone had an idea, I would open up that question to the broader community so other people could participate. And even if I didn't agree with it, but the community did, that was, I guess that was the best case scenario. Like that means the community is literally shaping the product. And I always loved it when that happens.
This will be interesting because I'm not sure how it exactly applies, but I'm going to go for it. So tell me about scalability. Did you build this in the beginning to scale efficiently or were you fighting it as you grew or was it ever a factor?
This is an interesting question and it's something that I did think about a lot. Because I was coming from a startup that had severe scaling issues. A customer would come on and 10x the traffic, and then all of a sudden our servers would be down, we'd have to scale things up, refactor things really quickly to get things back in order. But with a desktop app, those things don't really exist. You sort of have the code architecture scaling, which I think I was fortunate to be building it, or I guess I rebuilt it shortly after React came out, with putting together a code architecture that was easy to understand and easy to contribute to, which also really helped the open source. Insomnia did have a server-side component. Its business model was you have this desktop application, you maybe have some team members, you want to share your application data with your other computers and with your team. So there was a data sync portion of that, but due to the nature of data sync, it's inherently fault tolerant. So if the data is not there, it's sort of like the sync system needs to be able to handle differences in data. So if you switch computers, your data gets pulled down and updated. Everything gets back in sync. So if the server went down, even if it went down for an hour, you maybe would still be working in the application, but you wouldn't notice the outage unless you went to another computer to get the data or you tried to or you were trying to share with your co-worker in real time. So that sort of helped me sleep at night a little bit. I knew that I could survive a little bit of downtime. Fortunately, the sync system was extremely simple and easy to scale because it's like fairly simple architecture and data model. And at that point, I had a little bit of knowledge about scaling so that they could handle that sort of traffic. So it never quite got to the point where it was like the sync portion was big enough to encounter some of the problems that I had already worked with before. So it kind of it kind of worked out in a good way. I mostly got to work on the desktop app and not quite have to worry about actual scaling problems. I guess the other type of scale is different and diverse types of technologies. So like most of my time that wasn't dealing with scaling was dealing with different operating systems systems that it had to run on, different environments where maybe you have network proxies or you're behind a firewall or something like that. So I would say while those aren't typical startup scaling problems, it was a problem that I encountered once the application scaled to more users.
So as you step out on the balcony and you look across what you built with Insomnia, what are you most proud of?
I would say I am most proud of making that first hire from the open source community. I've always been really motivated and excited to help other people learn. I think learning is one of my favorite things in life, developing new skills and mastering them. And if I can help someone else do that, that's a huge win for me. Like help someone else experience the joy that I experience with what I do. So that first open source hire was huge. After the acquisition, I was like, we're looking at hiring some, like starting a team. And I wanted to reach out to you first to see if you're interested. And he basically immediately said yes. But one of the awesome things was he told me later that the reason he said yes was because he wanted to experience what he experienced from the open source community in like a more in-person development team. He obviously had a good experience with open source and wanted to, I guess, have more of that. So, I mean, that just made me feel really good. I can experience that again.
Well, let's flip the script a little bit. Tell me about a mistake you made and how you and perhaps the open source community or your team responded to it.
I think the biggest mistake I made was, I mean, since most of the product I was working by myself for myself, there was an open source community, but I mean, that seemed to go pretty well for open source standards. But I would say my biggest mistake was not focusing on personal health, as much as I should have. Creating a startup is hard work and you really have to dedicate a lot of yourself to it. And it's really easy to think that like the more you work, the faster it will grow. And that was definitely my mindset. Like I saw the MRR increasing 20 or 30% a month and then slowly declining over the years. And I guess I thought that like the more I worked on it, like if I just worked on it a little more, I can like bump this up a little bit more. But then I eventually got into this place and more work that I couldn't get out of. So like customer support, dealing with issues like technical debt that I just didn't have time to fix anymore. So I ended up sort of getting crushed under this rock of technical debt and work commitment that I just didn't have the ability to get out of. And then like that totally like wrecked my health. I wasn't really exercising anymore. I developed back problems. I developed like pretty severe burnout, which led to like like mild depression. And like, it was just like a really, I was in a really bad spot. The acquisition really helped me. Like without that, I don't think like I might have actually just stopped working on the project altogether. So the acquisition sort of gave me that opportunity to get some more people on board, get help from others again, and just dig me out of that place.
So normally I ask about, you know, what's the future look like for the product and for the team? But tell me a little bit about the acquisition. Tell me how that went for you and how that process went and how you end up moving on.
It kind of came out of the blue, although it was from somebody who I had known a little bit in the past. So when Insomnia was like a hobby project, when I was still employed at SendWithUs, Augie, who was now the founder, one of the co-founders of Kong, he reached out to me early on when he was running, it was called Mashape at the time. an API marketplace. He reached out and just wanted to sponsor the project. So I think he threw in like maybe a hundred bucks a month or something at the time just to support the project and to help it grow. But then when I eventually quit about a year later to go full-time on it, I reached out to him again and I said, like, I'm going to try and turn this into a business. I don't need the sponsorship anymore. Thanks for the support, but I'm going to take this on my own. so then four years later he reached out to me and catch up a little bit but also I guess he noticed like because of the transparency in the open source he saw that the project was growing really quickly and wanted to just like see if we could work together like I just told the story of I was like really burnt out at the time I really needed help I wasn't really interested in building a team or hiring but if I could just inherit a team and a company that already knew what they doing, then that seems like a good deal for everyone. And if I can get a little bit of a financial benefit from it and start improving my health again, then like that's a huge win. So that was essentially the story of the acquisition.
That's amazing. So it just sort of fell in your lap through prior relationships. Is that pretty accurate?
Yeah, exactly. And I think that's for all those people who are looking for advice, I would say the more you put yourself out there, whether it's like relationships or like writing, like sharing what you learned, the more opportunity will come your way. It's just an odds game. And the more things you put out there, the higher there is a chance that like somebody will see something that you're doing and be interested.
Well, let's switch to you, Greg. Who influences the way that you work? Name a, you know, a CEO, CTO, architect, really any person. Name a person up to and why?
I would say my biggest influence is from another indie developer like myself. His name's Marco Arment. He makes an iOS app called Overcast, which is a podcast player. I've been following him since, I don't know, 2012 maybe, when he was working on Instapaper, another app. And I've always just really admired his, I guess, dedication to making a singular product really good, but also in like a niche and as an indie. He sort of motivated me and inspired me to pursue that same path. And I can sort of look at what he was doing and just sort of realize that it was possible for me to do as well. He was always really open about technical decisions and choices and sort of being just really honest about like, nobody knows what they're doing. here's the stuff that I'm doing if you can do this then you can also do what I'm doing so like just made me realize that like technical ability and like you don't need an MBA to start a startup you don't need to be a like a super good engineer to make a really good product you just need to continuously iterate and improve and always be thinking about the next thing and if you can do those things then you can you can build a product that people really like so I'd say he's definitely has been my biggest influence, even just getting into tech in general.
So if you could go back to the beginning, when you first started building Insomnia, what would you do differently? Or where would you consider taking a different approach?
There's definitely things I could have done earlier. The product Insomnia itself is fairly simple. Like when I would talk about it, maybe three or more years in, I would sort of say that that it's basically done as an application and as a product. You can sort of do everything that you need. It's fairly niche and confined to a fairly simple use case. You want to interact with an API and see the data that it returns. But I think it was about three years in that I decided, what if it could do everything, or how could it do everything? If people wanted a feature, like a very niche feature, especially a feature that was too niche to benefit anyone else. I still wanted to fit every use case, that without literally implementing everything. So I made a plugin system. I mean, I don't know why I didn't think about it earlier on, but it ended up solving that exact problem. The application could be kept fairly simple then if it had a plugin system, because if you needed anything like fairly niche that wasn't very useful to more people, then you can make a plugin for it. And that actually really helped lessen the load on me as well, because it was easier to say no, no, if I could say no, but you can make a plugin or no, but there's this other plugin, which is very similar, which you can maybe use to get the job done. If I went back, I would have definitely done that sooner. Add a plugin system, get that community going earlier so that I could focus more on the core aspects rather than getting in the weeds with some of the more niche, the niche side of things.
Well, last question, Greg. So you're getting on a plane and you're sitting next to a young who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world. They can't wait to show it off to you right there on the plane. What advice do you give that person having gone down this road a bit?
Well, I guess there's a question I would ask, which is why haven't you already launched it? Like I think in general, when you're trying to succeed, it's really hard to pick a path and go down it. Like I think you need to realize that the path is not laid out there before you start. and you don't even know what path you're going to be walking on. You just have to sort of start walking in the woods and stumble upon things and just do as much as possible and talk to as many people as possible. I would say good job talking to me right now. This is what you need to be doing, getting feedback on what you're building, talking to more people, putting stuff out there. And the more you put out there, the more chance there will be of somebody stumbling upon it or discovering something. like maybe you write a blog post about something that you're not actually going to build, but you just have an idea and it ends up that people really connect with that. And then you realize, oh, maybe I could build a product around this idea that I wasn't even thinking about like turning into a business or anything. So I guess my biggest piece of advice would just be to be as open and transparent and just talk about what you're doing, because people will see that and they'll help you help guide you along the right path.
Well, that's great advice. Well, Greg, thank you for being on the show today. Thank you for telling the creation story of Insomnia.
Yeah, thanks for having me, Noah. It was fun.
And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. Support the show on patreon.com slash Code Story for just five to ten bucks a month. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.