FileFlow is a simple and easy-to-use tool that allows you to insert data from a CSV file directly into a database table. With no privilege required for insertion, it simplifies the process while offering efficiency.
Built with Rust and the Tauri framework, FileFlow is a cross-platform application available on Windows, MacOS, and Linux. π
Check the Release Section for the latest version of the application.
- β Insert data into a new table
- β Insert data into an existing table
- β
Optimize column types (e.g.,
VARCHAR(MAX_LENGTH)
) - β Insert data from a CSV file
- β Does NOT require ANY privileges for data insertion
- β Generate LOAD DATA SQL query for faster insertion
- Rust
- Cargo
- pnpm
You can follow the instructions on the Tauri website to install Rust and Cargo.
-
Clone the repository:
git clone https://github.com/Maxime-Cllt/FileFlow.git
-
Install the dependencies:
cd FileFlow pnpm install
-
Build the application:
pnpm tauri build
-
Run the application:
pnpm tauri dev
- π Select the CSV file you want to insert into the database.
- π» Choose the database where you want to insert the data.
- β‘οΈ Click the "Insert" button.
- β³ Wait for the data to be inserted.
- β Done!
- π Select the CSV file you want to insert into the database.
- π±οΈ Click the "Load" button in the menu.
- π Copy the generated SQL query.
- πββοΈ Run the query if your database supports it.
- β Done!
There are two modes for inserting data into the database:
-
Optimized Mode: Inserts data into a new table with optimized column types (e.g.,
VARCHAR(MAX_LENGTH)
). π οΈ This mode may take longer but ensures the table structure is optimized. -
Fast Mode: Inserts data into an existing table, keeping the original column types as they are in the CSV file. β‘ This mode is quicker but may not optimize the column types.
Additionally, you can generate a LOAD DATA SQL query for faster insertion if your database supports it. This method is much quicker than row-by-row insertion! π
Want to contribute to the project? Feel free to open an issue or submit a pull request. We welcome contributions and ideas from the community! π‘