Show HN: From Chaos – A Chrome extension that turns any webpage into JSON

7 points by ryry 1 year ago | 3 comments
Hey HN! I wanted to share a chrome extension I built for myself called From Chaos.

It's an extension that takes the content of the page and organizes it into structured data. For instance, taking all the restaurants on a "top 10" article and just returning their names.

It requires an OpenAI API key that you can set in your settings, and lets you get data back as JSON, YAML, CSV, or plain text.

I built it to help in my data-gathering efforts, but wanted to share in case it's useful to someone else as well! It doesn't always return perfect data, but it does save me quite a bit of time.

  • ryry 1 year ago
    So there are definitely some features I'd like to add / improve upon: - json/yaml/etc validation - better pre-filtering before the openAI api call to save money - custom select (instead of the whole page) - adjustable models - the page doesn't disappear when you close it / data caching

    but before those, I wanted to launch it to see if anyone would actually use this besides me. Let me know!

    • treebeard5440 1 year ago
      This is a cool idea. Can it run outside of the extension ecosystem - like as a cli tool? I could see some use-cases/integration using it that way but not as much as an extension
      • ryry 1 year ago
        Thanks! A CLI tool is an interesting idea. I originally built something similar [as a python package](https://github.com/ryderdamen/fromchaos) to basically force LLMs to return data in a specific format, so I could probably easily adapt something.

        What I like about the extension is that I can use it on any content that I can see, like that behind a login page.