I want to create a worker that

I want to create a worker that dynamically generates and returns a barcode as an image (so I can embed a link directly to the worker which will generate the barcode on the fly). I've managed to work up a proof-of-concept in Pipedream using bwipjs - I don't think it's supported on CF Workers though. Anybody have any ideas?
1 Reply
welz
welz2y ago
I notify a webhook like https://webhook.../?text=1234567890 (where the text parameter is what I want converted to a barcode). The result I want is the same as something like this
https://bwipjs-api.metafloor.com/?bcid=code128&text=5956439111A&includetext&scale=3&padding=1&height=10
https://bwipjs-api.metafloor.com/?bcid=code128&text=5956439111A&includetext&scale=3&padding=1&height=10
Only I want to host it on my own deployment so it can't be tracked what barcodes we're generating from our system. Also so we're not at the mercy of the given system