Skip to content

Conversation

@jpcano
Copy link

@jpcano jpcano commented Dec 14, 2025

I rewrote the code, making it cleaner and adding the following new features:

  • Long key press now works (useful to trigger the command help, among other things).
  • Implemented buzzer beeps for the web app.
  • A new look closer to a physical calculator.
  • The keyboard layout is now defined as SVG rather than a canvas, making the key responses snappier and the design easier to iterate on.
  • A hot-reload dev environment (provided by Vite)
  • A way to easily update the app if we modify the keyboard skin (see README).

The code is still simple HTML+JS(ES6) without any build step in order not to complicate things, and to make it easier to read.

Selection_003

@jpcano jpcano changed the base branch from stable to dev December 14, 2025 23:11
@jpcano jpcano changed the title WASM: Rewrite app WASM: Rewrite frontend app Dec 14, 2025
@c3d
Copy link
Owner

c3d commented Dec 16, 2025

Wow, thanks a lot, @jpcano. I'll take a look and see if I can merge this quickly.

@c3d c3d force-pushed the dev branch 26 times, most recently from 35646bf to d2422c7 Compare December 17, 2025 16:36
@c3d c3d force-pushed the dev branch 19 times, most recently from 278beaa to a62bf9a Compare December 18, 2025 17:37
@c3d
Copy link
Owner

c3d commented Dec 18, 2025

Overall, I like it, but I need to understand how to deploy it on https://48calc.org. It looks like I need to npm install several modules, and probably find a way deploy that on the web site.

@c3d c3d force-pushed the dev branch 3 times, most recently from 96b7a0f to ddeec85 Compare December 20, 2025 08:11
@jpcano
Copy link
Author

jpcano commented Dec 20, 2025

Overall, I like it, but I need to understand how to deploy it on https://48calc.org. It looks like I need to npm install several modules, and probably find a way deploy that on the website.

@c3d There is no need to do any npm to deploy this to your website. I've just added the following instructions in the README:

Production deployment

There is no build step for the app, just serve all the files inside public/ + the file index.html with any web server. Be sure to place all the files in the same directory level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants