DataForge is a powerful and user-friendly Command Line Interface (CLI) tool designed to simplify JSON data file management. Whether you're working with language translations, configuration files, or any key-value JSON data, DataForge provides an intuitive interface to interact with your JSON files.
- 📂 Load JSON Files: Easily load your JSON files
- 🔍 Smart Value Search: Search through values with precise matching
- 📊 Duplicate Detection: Identify and list duplicate values across keys
- ➕ Add New Entries: Seamlessly add new keys
- ➖ Remove Entries: Quickly remove unnecessary keys
- 🎨 Interactive UI: Colorful terminal interface with emojis for a delightful user experience
- Go 1.16+
- Dependencies:
- github.com/fatih/color
- github.com/manifoldco/promptui
- Clone the repository
git clone https://github.com/your-username/dataforge.git
cd dataforge- Install dependencies
go mod init dataforge
go get github.com/fatih/color
go get github.com/manifoldco/promptui
go mod tidy- Build the application
go buildRun the application:
./dataforge- Select "Load JSON File" and provide the path to your JSON file
- Choose from options:
- Search values
- Find duplicate values
- Add new keys
- Remove existing keys
- Exit the application
{
"welcome_message": "Welcome",
"login_button": "Log In",
"signup_button": "Sign Up"
}{
"database_host": "localhost",
"max_connections": "100",
"cache_enabled": "true"
}- Search through JSON values with case-insensitive matching
- Quickly find entries containing specific text
- Identify keys with identical values
- Helps in finding redundant or mistakenly duplicated entries
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.