Skip to content

A desktop app that analyzes your database schema and generates high-quality dummy data automatically.

License

Notifications You must be signed in to change notification settings

yuja201/here-is-dummy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Here’s Dummy

Your time-saving DB partner


🇰🇷 Korean🇺🇸 English

⬇️ Releases☕ Support


Table of Contents


1. Introduction

Here’s Dummy is a desktop application that automatically analyzes database schemas and utilizes AI or Faker.js to generate realistic, high-volume dummy data. It allows you to quickly secure the necessary data during development and testing phases, significantly boosting productivity.


2. Key Features

Here’s Dummy offers features for dummy data generation and DB performance testing.

1. Data Generation

  • Schema Auto-Analysis: Automatically identifies table structures, constraints, and relationships (FK).
  • Multi-Database Support: Can connect to various DBs like MySQL and PostgreSQL to generate data.
  • High-Speed Bulk Generation: Capable of generating 100,000 records in approximately 10 seconds using Faker.js.
  • AI-Powered Generation: Utilizes GPT, Claude, and Gemini to generate smart, contextually relevant data.
  • File-Based Data Conversion: Upload CSV, TXT, or JSON files to convert and insert data matching the DB structure.

2. DB Performance Test

  • Index Test: Analyzes the efficiency of your database indexes.

  • User Query Test: Analyzes query performance and recommends improvement measures.

  • Test History: Allows you to check the history of completed tests.


3. Getting Started

Download & Install

The latest release is available for download from the Releases page.

  • Run the heresdummy-setup.exe file.

4. User Guide

1️⃣ Create Project & Connect DB

Click the + button to create a project and enter connection details for MySQL, PostgreSQL, etc. You can check the connection status beforehand via Test Connection.

Project Creation and DB Connection


2️⃣ Check Schema & Set Data Rules

Once the DB is connected, the table list is automatically analyzed and displayed. Select a table for data generation and set the desired method for each column, such as Faker (random values), AI (intelligent generation), or File Upload.

Schema and Rule Setup


3️⃣ Generate & Insert Data

Enter the number of rows to generate and press the Generate Data button. The generated results can be Exported to SQL file or Inserted directly into DB.

Data Generation and Insertion


4️⃣ Index Test

You can analyze the efficiency of your database indexes by clicking the Start Test button in the Index Test tab.

Indexes are classified as Normal, Recommended, or Critical based on criteria. For indexes classified as Recommended or Critical, issues and improvement suggestions are displayed. Try deleting unused or inefficient indexes.

Performance Test Dashboard


5️⃣ User Query Test

In the User Query Test tab, you can click the Start Test button, enter the SQL you want to test, set the number of executions and a timeout, and then proceed with the test.

Syntax validation can be used to check if the query is valid. Even if not checked, syntax validation is performed upon starting the test, ensuring only valid queries are tested.

The test results provide average response time and response time distributions such as P50 and P95. It also analyzes the query execution plan to show how the query is processed.

Performance Test Dashboard

Click the AI response generation button to receive recommendations for improving the query. Improve complex queries, such as subqueries and joins, and add necessary indexes more efficiently.

Performance Test Dashboard


6️⃣ Test History

In the Test History tab, you can view the history of tests performed. Compare the results and use them for your portfolio.

Performance Test Dashboard


5. Tech Stack

  • Core: Electron, React, TypeScript, Vite
  • Database: mysql2, pg
  • Data Generation: @faker-js/faker, openai, @anthropic-ai/sdk, @google/generative-ai
  • State Management: zustand

6. Developer Guide

Requirements

  • Node.js 18+
  • npm or yarn

Local Development Execution

# 1. Clone the repository
git clone https://github.com/yuja201/here-is-dummy.git
cd here-is-dummy

# 2. Install dependencies
npm install

# 3. Set up .env file
cp .env.example .env
# Add your API keys to the .env file

# 4. Run development server
npm run dev

7. Advanced Configuration

Change API Endpoints & Timeouts

To change advanced settings for the AI generation feature (BASE_URL, TIMEOUT, etc.):

Windows

C:\Users\{USERNAME}\AppData\Roaming\Here's Dummy\.env

Open the .env file at this path with a text editor to modify the following settings. If using GMS, be sure to change the endpoint:

# API Endpoints
OPENAI_BASE_URL=https://api.openai.com/v1
ANTHROPIC_BASE_URL=https://api.anthropic.com
GOOGLE_BASE_URL=https://generativelanguage.googleapis.com

# Timeout settings (milliseconds)
OPENAI_TIMEOUT=60000
ANTHROPIC_TIMEOUT=60000
GOOGLE_TIMEOUT=60000

# Maximum retries
OPENAI_MAX_RETRIES=2
ANTHROPIC_MAX_RETRIES=2
GOOGLE_MAX_RETRIES=2

The settings will be applied after restarting the application.


8. Contributing

We welcome various contributions to the Here’s Dummy project! Bug reports and feature suggestions can be registered on the Issues page.


🇰🇷 Korean Manual    🇺🇸 English Guide


9. License

This project follows the MIT License.


10. Contact & Support



If you find this project useful, please give it a Star ⭐!