Looking for: Unit Converter (JS)
Looking for: Unit Converter (JS)
Convert is a free and easy to use unit conversion program that will convert many of the most popular units.
Hello,
I'm looking for a unit converter written in JS / client-side only that I can self-host / add to a bunch of tools I already use.
I was looking for a suggestion to get something similar to the good old https://joshmadison.com/convert-for-windows/ but that runs a browser.
Thank you for your suggestions.
That app was the best back in the day!
I’m not aware of a JS equivalent, but it’s something that could be written solo once you get the formulas worked out.
4 0 Replyback in the day? This post just made me aware of it, and it's great! Less clicks than modern systems and more customizable. And it's portable (one .exe).
This is now added to my portable apps collection!
1 0 Reply
https://github.com/tiffany352/rink-rs is pretty cool, but it’s in rust, so you’d have to make some Wasm bindings
2 0 Replyo wait, there is a wasm build in the repo! You could probably host their interface too?
1 0 ReplyYou can try it out on https://rinkcalc.app/
4 0 Reply
This library looks like it could be a good starting point - https://convert.js.org/
1 0 ReplyAll you need is wine-wasm (if only it existed) and youre sorted!
1 0 ReplyYeah! Let's build that :D Maybe it will render UIs better than native wine? :D
1 0 Reply
There are a number of unit conversion libraries in JavaScript. Building your own is not that hard. A simple SPA shall suffice.
1 0 Replymathjs doesn't provide 1/10 of the units available in convert.exe. It is cool and I use it for other things but it simply doesn't cut it for this.
1 0 Reply
Cyperchef might not exactly what you are looking for, but it is selfhosted and has some conversion functions.
1 0 ReplyThat looks like a really neat util, and I can't wait to find a docker container to spin that up.
1 0 Reply