mybrowser.fyi-project
mybrowser.fyi-project copied to clipboard
Publish as an npm package?
Any other notes
Hi, would you be willing to publish this as an npm package? I understand (from our last conversation in the past) that you are not planning on open-sourcing this, but how about a small npm module that would return the JSON for people who already have their own issue reporting system and would like to integrate this behind the scenes/automatically for the user?
Best, andreas
I'm certainly putting some work into this project later in the year and something on my radar is providing a way of people being able to make use of the data.
Not sure what the best approach is yet.
In the meantime, I know it's not perfect, but you can get pure JSON for any report by appending /json to the end of a report URL, like this: https://mybrowser.fyi/report/5c4a29b7d311ab00145494b0/json
Thanks, but that way I'd still require the user to visit an external site and share a report URL with me. Whereas ideally I'd ask them to click "Report an issue" in my app, which would send me info about their session, along with their browser/device details.
Ah I see, so you're suggesting an NPM package that does the browser reporting for you, on site? I reckon in that context, you're better off using a system like Sentry