2
1 Comment

Selling software to other developers?

Are there any IndieHackers selling software libraries to other developers? e.g. selling an NPM library to other front end devs? Selling react components, wordpress themes etc?

I'm curious how you're handling licenses & upgrades for this when the code is not running on your server. How do you ensure people are paying you for your code and not accidentally (or deliberately) violating your license?

  1. 2

    I run Keygen and have a few customers who sell packages for Node, Java and PHP. It shouldn't be too hard to get something simple up and running on your own, if that's what you want to do. Is there anything unique/specific you're wanting to do, or do you just want to "gate" your package with a license keys? Handling installs in Node is as easy as pointing them to a file URL and having them add it to their package.json.

    For example, you could support adding your package like so:

    yarn add "https://download.example.com/v1/{PRODUCT}/releases/node/v1.3.0.tgz?license{KEY}&fingerprint={FINGERPRINT}"
    

    Automatic updates are a little harder with Node packages, unless you run your own NPM-compatible package server, but can probably be handled by checking an update server on boot and displaying a warning in the console indicating the package is out of date, with a link to the new version (think: what happens when yarn is out of date.)

    As for checking if the customers are "violating your license" — it really depends on your license. Can you give more detail as to what your licensing terms would be and what you'd want to enforce? E.g. install count, how many servers it can be used on, etc.

Trending on Indie Hackers
I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments How I Sourced 60% of Customers From Linkedin, Organically 12 comments Hero Section Copywriting Framework that Converts 3x 12 comments Promptzone - first-of-its-kind social media platform dedicated to all things AI. 8 comments How to create a rating system with Tailwind CSS and Alpinejs 7 comments