https://github.com/zotho/rust_udp_spreadsheet
Desktop app with UDP sync tables
https://github.com/zotho/rust_udp_spreadsheet
desktop fltk-gui-library mysql rust udp
Last synced: about 2 months ago
JSON representation
Desktop app with UDP sync tables
- Host: GitHub
- URL: https://github.com/zotho/rust_udp_spreadsheet
- Owner: zotho
- Created: 2020-10-29T05:36:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-29T13:12:36.000Z (over 5 years ago)
- Last Synced: 2025-12-27T01:38:10.688Z (6 months ago)
- Topics: desktop, fltk-gui-library, mysql, rust, udp
- Language: Rust
- Homepage:
- Size: 30.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust UDP spreadsheet
## Usage
```bash
cargo run -- --help
```
Run tests:
```bash
cargo test -- --test-threads=1
```
Setup database URL:
```bash
cargo run -- --db mysql://zotho:zotho@localhost:3306/rust
```
Populate table with example data:
```bash
cargo run -- --populate
```
## GUI Usage example
In first instance:
```
DB: mysql://zotho:zotho@localhost:3306/rust
Bind socket: 127.0.0.1:10001
Connect socket: 127.0.0.1:10000
[*] Send
```
In second instance:
```
Bind socket: 127.0.0.1:10000
Connect socket: 127.0.0.1:10001
[*] Recieve
```
### Table
- Start editing: double click or Enter
- Save cell: Enter
Columns:
- number (INTEGER)
- text (TEXT)
Editable only in send mode