Noob into the bot making scene here. Been coding my butt of for long enough to actually make working bots that so far can scrap product data/download pics, organize it all and then push to my woocommerce store.
Woooh I did it! But now I want to sell bots and realize that since I'm doing everything in JavaScript, anyone can just rip off my code. I don't really care if people do but at the same time I want to make money. Should I even care about this and just try to do custom work for people?
The solution is really simple, thanks to tech advances.
You don't sell the node.js source code.
Instead, you sell them an API to the source code.
It's easier than you might think.
You can basically create the app on Heroku, and implement API access. You will sell them the API key. Yearly or monthly works great.
Use a docker container and use Google Cloud if you don't want to use Heroku.
Each Docker with its own API key.
I know exactly what you mean because I also sell scrapers for products/prices/inventory/etc, and a lot of the time the price clients are willing to pay won't cover the source code.
So I just deploy a docker container on GCP with their API and charge them manually. I don't like monthly because the lower prices don't motivate me.
This being said, it really depends on what your clients are paying for.
In all my experience working on Upwork selling Web Scrapers, all of them wanted the source code, which is understandable.
Always keep in mind that if the price you ask is too high, there is always someone else willing to do it cheaper. Remember this.
You can't get rich overnight in this field.
However, happy clients will bring riches in the long term to come.