Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coderhs/csvsqlweb
Manipulate CSV using SQL online
https://github.com/coderhs/csvsqlweb
csv database javascript offline sqlite sqlite3 web-assembly
Last synced: about 1 month ago
JSON representation
Manipulate CSV using SQL online
- Host: GitHub
- URL: https://github.com/coderhs/csvsqlweb
- Owner: coderhs
- License: mit
- Created: 2023-04-10T05:11:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-19T22:23:47.000Z (over 1 year ago)
- Last Synced: 2024-10-30T09:42:27.121Z (3 months ago)
- Topics: csv, database, javascript, offline, sqlite, sqlite3, web-assembly
- Language: HTML
- Homepage: https://hsps.in/csvsqlweb/
- Size: 55.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSVSQLWEB *
[Demo](https://hsps.in/csvsqlweb/)
A web based application that allows you to manipulate a CSV file using SQL. The app import the csv file into an in memory sqlite3 database, thus no data (100% privacy) is ever shared with the web server. The data in database can be manipulated using SQL, and then the result of the SQL can be downloaded as a CSV file.
This project doesn't use any special framework at the moment but we are building using 2 major libraries.
1) Papaparse
Papa parse, lightweight library that parses and generates CSV files.
2) sql.js
SQLite compiled to JavaScriptThings to do
------------1) Proper/better name for the project
2) Move both Papa parse/SQL to service worker, to reduce load on the browser main thread.
3) Validate SQL query as valid before executing
4) Detect data type and use that when we create the tableRun Locally
-----------```sh
npm install
http-server .
```