Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxime-cllt/fileflow
Application to insert CSV file into a specified database with optimised columns lenght
https://github.com/maxime-cllt/fileflow
csv2sql freetouse githubaction-workflow jsx react rust taillwindcss tauri-app tool
Last synced: 8 days ago
JSON representation
Application to insert CSV file into a specified database with optimised columns lenght
- Host: GitHub
- URL: https://github.com/maxime-cllt/fileflow
- Owner: Maxime-Cllt
- Created: 2024-10-04T08:48:25.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-19T09:32:03.000Z (2 months ago)
- Last Synced: 2024-10-22T03:59:54.123Z (2 months ago)
- Topics: csv2sql, freetouse, githubaction-workflow, jsx, react, rust, taillwindcss, tauri-app, tool
- Language: TypeScript
- Homepage:
- Size: 1.09 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
FileFlow
## Description
FileFlow is a simple tool that allows you to insert data from a CSV file into a table in a database. It is designed to
be simple to use and to require no privilege to insert the data.
Build with Rust and the Tauri framework, it is a cross-platform application that can be used on Windows, MacOS and
Linux.See in the release section for the latest version of the application.
## Features
Insert data into a new table
Insert data into an existing table
Optimise the type of the columns (VARCHAR(MAX_LENGHT))
From CSV file
Don't require ANY privilege to insert the data
Generate LOAD DATA sql query to insert faster
## Supported databases
![MySQL](https://img.shields.io/badge/MySQL-00758F?style=for-the-badge&logo=mysql&logoColor=white)
![MySQL](https://img.shields.io/badge/MariaDB-003545?style=for-the-badge&logo=mariadb&logoColor=white)
![PostgreSQL](https://img.shields.io/badge/PostgreSQL-336791?style=for-the-badge&logo=postgresql&logoColor=white)
![SQLite](https://img.shields.io/badge/SQLite-003B57?style=for-the-badge&logo=sqlite&logoColor=white)## Requirements
- Rust
- Cargo
- pnpmTo install Rust and Cargo, you can follow the instructions on the Tauri website
## Installation
1. Clone the repository
```bash
git clone https://github.com/Maxime-Cllt/FileFlow.git
```2. Install the dependencies
```bash
cd FileFlow
``````bash
pnpm install
```3. Build the application
```bash
pnpm tauri build
```4. Run the application
```bash
pnpm tauri dev
```## Usage
- Insert Data
- Select the CSV file you want to insert into the database
- Select the database you want to insert the data into
- Click on the "Insert" button
- Wait for the data to be inserted
- Done!
- Generate Load data
- Select the CSV file you want to insert into the database
- Click on the "Load" button in the menu
- Copy the generated SQL query
- Run the query if your database support it
- Done!
## Information
There are two mode to insert the data into the database:
- **Optimised mode**: The data is inserted into a new table with the type of the columns optimised (VARCHAR(MAX_LENGHT))
- **Fast mode**: The data is inserted into an existing table with the type of the columns as they are in the CSV fileThe optimised mode might take longer to insert the data but it will create a table with the type of the columns
optimised.You can also generate a LOAD DATA SQL query to insert the data faster if your database support it. It is way faster than
inserting the data row by row but not all databases support it.## Contributing
If you want to contribute to the project, you can open an issue or a pull request.