TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Fake2db – Generate fake but valid data-filled databases

120 pointsby emirozerover 10 years ago

9 comments

wowocover 10 years ago
Some time ago, I wrote a simple tool (command line and C++ library) for generating random data for the same purpose. You basically specify a regular expression and the random strings on output match that regexp. Link: <a href="https://github.com/vrok/randodo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vrok&#x2F;randodo</a>
emillonover 10 years ago
Hi! Looks interesting. I usually use faker for this (<a href="https://github.com/joke2k/faker" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;joke2k&#x2F;faker</a>). How does fake2db compare to it?
评论 #8762581 未加载
emirozerover 10 years ago
Author here, I am a rather newcomer to OSS projects and development. Any criticism is highly appreciated. Have a beautiful day !
jrullmannover 10 years ago
Nice utility. I submitted a pull request for FoundationDB SQL Layer <a href="https://github.com/emirozer/fake2db/pull/4" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;emirozer&#x2F;fake2db&#x2F;pull&#x2F;4</a>
at-fates-handsover 10 years ago
I&#x27;m starting to learn and use MongoDB quite a bit and this one thing I tend to struggle with is getting enough data into a DB to test and run queries on. I&#x27;ll be happy to give this a go.
folzover 10 years ago
emirozer (the author), you&#x27;re marked as [dead], which means that your comments are hidden by default and nobody can reply to you. Try emailing hn@ycombinator.com and see if a moderator can sort that out.
ogzdover 10 years ago
it would have been better if you can predefine DDLs.
评论 #8762364 未加载
i_ride_bartover 10 years ago
Hellyeah gonna try this out!
beardoover 10 years ago
+1