Show HN: ChaosData – Chaotic data that fits your schema

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 points blamarvt 1 month ago 1 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton