keyreader icon indicating copy to clipboard operation
keyreader copied to clipboard

Code for resizeable window

Open blankexistence opened this issue 1 year ago • 2 comments

📃 changes made:

  • updated main.rs to make the window easily resizeable
  • updated styles.css to make the app responsive to window size changes
  • updated how the keystroke visualization works slightly to accommodate for larger, resized windows

there's an unused useRef import in app.tsx but too lazy to remove it and make another commit, git is confusing enough and had a stroke trying to figure out how to fix my commits :P

blankexistence avatar Dec 24 '24 19:12 blankexistence

Are you going to package this as a release or drop some instructions on how to compile this

DoctorGlitchy avatar Jan 09 '25 04:01 DoctorGlitchy

Are you going to package this as a release or drop some instructions on how to compile this

🫠 dev instructions are there on hudy's readme here: https://github.com/hudy9x/keyreader?tab=readme-ov-file#development

if you want even more detail:

  • install rust & platform-based required dependencies as per ~ https://tauri.app/start/prerequisites/
  • complete the tauri setup
  • clone the repo ur interested in
  • run npm install within the root directory to install the project dependencies (all found in package.json including the scripts mentioned next)
  • then run npm run devapp or tauri dev if you wanna make changes with hot reload
  • or just run npm run build to compile based on ur operating system

or if ur running windows, u could just download the compiled release without all the associated pain: https://github.com/blankexistence/keyreader/releases/tag/feature

blankexistence avatar Jan 09 '25 17:01 blankexistence