Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 4 days ago
JSON representation

Application to insert CSV file into a specified database with optimised columns lenght

Awesome Lists containing this project

README

        


FileFlow

FileFlow



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

## 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
- pnpm

To 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

1. Select the CSV file you want to insert into the database
2. Select the database you want to insert the data into
3. Click on the "Insert" button
4. Wait for the data to be inserted
5. 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 file

The optimised mode might take longer to insert the data but it will create a table with the type of the columns
optimised.