Welcome to the AI Keyboard Configurator, a locally hosted solution to dynamically change the keymaps of your custom keyboard based on the active application.
- 🔌 Detect your custom keyboard model.
- 🔄 Quickly switch between keymaps based on active application.
- 🌐 Local web interface for easy configuration.
- 💡 LED level adjustment.
- Node.js & npm
- A Worklouder Creator Micro keyboard.
- Chrome or Edge browser (for WebHID API support to detect your keyboard).
- Mac with Vapor (for serving the list of open apps).
-
Clone the Repository (if not done yet)
git clone https://github.com/your-username/keyboard-configurator.git cd keyboard-configurator/mac-app
-
Install Vapor
If you haven't installed Vapor yet, follow the official documentation to set it up.
-
Run the Mac App Server
swift run
This will start serving the list of currently running apps on your Mac on
http://localhost:8080/runningApps
.
-
Navigate to the Web App Directory
If you cloned the repository earlier, just navigate to the web-app directory:
cd keyboard-configurator/web-app
-
Install Dependencies
npm install
-
Run the Web App Server
npm start
This will start the web app on
http://localhost:3000/
.
- Ensure both the Mac App and Web App servers are running.
- Connect your keyboard to your computer.
- Open a browser and navigate to
http://localhost:3000/
. - Click on
Check if keyboard is connected
to confirm your keyboard model. - Configure your desired keymaps and settings using the provided UI.
- The keymaps will dynamically adjust based on the active application you're using.
- Enjoy a dynamic keyboard experience tailored to your active applications!
This project is licensed under the MIT License - see the LICENSE.md file for details.
Made with 💙 by Meals