Hacker News new | ask | show | jobs
by iptq 2091 days ago
Can't i just pop open my browser's console and:

- Unix time converter: (unixtime) => new Date(unixtime)

- Unix time converter reverse: (date) => ~~(date.getTime() / 1000)

- JSON prettifier: (jsonString) => JSON.stringify(JSON.parse(jsonString), null, 2)

- JWT debugger: doesn't exist in browsers i suppose

- Base64 encode: btoa

- Base64 decode: atob

- Query string parser: (queryString) => new Map(new URLSearchParams(queryString).entries())

- HTML entity encode/decode: idk why u need this, should not be escaping html manually in webpages just use .innerText

- Backslash escape: not sure what specifically this is doing in the app but sounds like it's easy enough to do it with a regex

I feel like if u want a UI u should make one that can save scripts and turn them into forms so that users can add arbitrary functions themselves without having to wait for the application to add more functionality

1 comments

Yeah... This is what I was always doing. Everytime I open my Chrome Dev Tool for this, I wish there is an app that do it for me with just a single click / hotkey. So I wrote the app.

Custom scripts is in my roadmap too, I just need to figure out the UI, add some "smartness" into it, workout the auto-detect priority and other small details. Hopefully I can push out an update with that soon!