Technologies: Rust, Tauri, Leptos
1.Ideally, creating a rust file with an object with all the letters and key press combinations as a key and 0 as value
2. When user presses key, the file is accessed and the letter corresponding to the key pressed increments by 1
3. When user requests for data aggregation, return heatmap of keyboard presses and statistics and values of key-presses based off of object data
Thinking about project structure:
main.rs
: final logic
input.rs
: location for data regardingl key logging
stats.rs
: locaction for data aggregation and processing (heatmap included here)
optimal_setup.rs
: location where aggregated data is utilized to recommend optimal keyboard setup
VS Code + Tauri + rust-analyzer.
-
Ensure that you have the required prerequisites installed: • Rust and Cargo • Tauri
-
Fork the
pks
repository to your own GitHub account -
Clone your forked repository to your local machine.
git clone https://github.com/<your-github-username>/pks.git
- Navigate to the project and build the application
cd pks
cargo tauri dev
cargo tauri dev
: start tauri dev window
RUST_BACKTRACE=1 tauri dev
: (Linux and macOS) Rerun tauri dev with granular stack trace
(Windows)
$ set RUST_BACKTRACE=1
$ tauri dev
This project is licensed under the terms of the MIT LICENSE