Show HN: ChaosData – Chaotic data that fits your schema (chaosdata.net)

1 points by blamarvt ↗ HN
I've always been the person who types an emoji into a form just to see what happens. Most of the bugs I've reported are really about data that my code assumed would look a certain way.

So I built ChaosData. Give it a schema, and it generates realistic data with a few deliberate edge cases mixed in. Emojis where they shouldn't be, malformed strings, edge-case integers, etc.

  mysqldump --no-data shop | curl -s -X POST \
    "https://chaosdata.net/api/v1/quick-generate?rows=100&chaos=20" \
    -H "Accept: text/sql" --data-binary @- | mysql shop_test
Some tools generate realisitc data, and some generate chaotic data, but we'll do both (and respect your schema)!

There are lots of ways I could go from here, but I wanted to see if I could get some input first before I took it further.

I'd love any thoughts or feedback.

1 comment

[ 0.30 ms ] story [ 4.4 ms ] thread
interesting idea! i wonder if having an easy way to integrate to github actions (or whatever future stable CI/CD pipeline is) will make it super valuable for devs