https://github.com/yskszk63/my-csv-editor
CSV editor
https://github.com/yskszk63/my-csv-editor
csv rust wasm
Last synced: 4 months ago
JSON representation
CSV editor
- Host: GitHub
- URL: https://github.com/yskszk63/my-csv-editor
- Owner: yskszk63
- License: apache-2.0
- Created: 2020-09-13T10:59:54.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-01-04T02:53:05.000Z (over 1 year ago)
- Last Synced: 2025-03-30T21:51:09.151Z (about 1 year ago)
- Topics: csv, rust, wasm
- Language: Rust
- Homepage: https://yskszk63.github.io/my-csv-editor/
- Size: 5.29 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# My CSV editor
CSV editor for my Rust and WASM study.
(currently can not be save)
[Demo](https://yskszk63.github.io/my-csv-editor/)
[](https://deps.rs/repo/github/yskszk63/my-csv-editor)
## How do it run.
Examples -> ubuntu:21.04
### 0. Precondtion
- build environment.
- Node.js & npm
- git
- Rust ([rustup](https://rustup.rs/))
- [wasm-pack](https://github.com/rustwasm/wasm-pack)
```bash
$ sudo apt install build-essential nodejs npm git
...
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
...
```
#### 0-1. Install wasm-pack
Download
```bash
$ TMPDIR=`mktemp -d`
$ curl -L 'https://github.com/rustwasm/wasm-pack/releases/download/v0.9.1/wasm-pack-v0.9.1-x86_64-unknown-linux-musl.tar.gz' | tar -zxf - -C $TMPDIR
...
$ mv $TMPDIR/wasm-pack-v0.9.1-x86_64-unknown-linux-musl/wasm-pack ~/.local/bin/
$ wasm-pack --version
wasm-pack 0.9.1
```
or `cargo install`
```bash
$ cargo install wasm-pack
...
```
### 1. Clone repository & Initialize
```bash
$ git clone https://github.com/yskszk63/my-csv-editor
...
$ cd my-csv-editor
$ npm install
...
```
### 2. Run locally
```bash
$ npm start
```
Listen at http://localhost:8000/
### 3. Build
```bash
$ npm run build
...
$ ls dist/{*.css,*.wasm,index.*}
dist/bundle.css dist/fc37c871845c1cfd91f2.module.wasm dist/index.html dist/index.js
```
## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.