Skip to content

Go powered custom virtual keyboard that lets you use your phone as an external keyboard.

License

Notifications You must be signed in to change notification settings

cttricks/virtual-keyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual keyboard Banner

Go JavaScript Visual Studio Windows Motorola

A Go-powered virtual keyboard that turns your phone into an external keyboard for your PC. Built as part of my learning journey, this project aims to give developers an easy way to boost productivity with customizable key mappings.

This project is currently designed for use on Windows. I have only tested it by loading the web app on a Motorola phone's Chrome browser. Feel free to try it out on other devices and share your feedback!

Features Added So Far

Here's a rundown of all the nifty features I’ve put together

⬜️ = In to-do, will be added soon
🟨 = Added & working but has some functionality issues
✅ = Feature is added & working

Status Button What It Does
Copy Copies the selected text to the clipboard. Easy-peasy!
Paste Pastes text right from the clipboard. Boom, done.
CMD Opens the Windows Command Prompt. Geek mode: activated.
All Apps Shows a list of all running apps (Basically, a shortcut for win + tab).
Close App Force quits the current app on Windows (aka the classic alt + f4 move).
Enter Works like pressing the enter key on the keyboard. Handy, right?
Tab Acts like hitting the tab button on the keyboard. Press & hold this button for few sec to change tab direction (forward-backward). Jump around with ease!
Arrow Keys Planning to add arrow key ( ⬅️⬆️⬇️➡️ ) support for easier navigation
🟨 Keyboard Opens up the virtual keyboard on your mobile/tablet/iPad (But heads up, not all keys sync up perfectly 😒).
Notepad Launches the Windows Notepad app. Jot down those quick thoughts!
Chrome Opens Chrome (If no default profile is set, you'll see the profile selector first).
GitHub Opens github in Chrome.
Music Control music.

That's what I've added so far! Got more cool ideas? Feel free to share them. Give it a try and don't forget to pass it along to your dev friends! 😎

Tools & Credits

  • NirCmd by NirSoft, For simulating key-presses on the computer. Shout-out to NirSoft for this amazing utility!
  • Hugeicons For the icons used in the project. Thanks for the great icons!
  • Keyboard Design Inspiration Inspired by @kulpreets virtual keyboard design on CodePen. It's an excellent starting point for building a clean and functional interface!

How to Use

  • Make sure Go is installed on your system as no executable files are provided.
  • Download the NirCmd executable and place it in the root directory of this project.
  • Run the command go mod tidy to install all Go dependencies
  • Run the command go run . to start the application:
  • A QR code along with a URL will be printed on the console. Scan the QR code or open the URL on the phone/tablet you want to use as a virtual keyboard.

That's it! Your phone is now set up as a virtual keyboard. 🎉

It's a personal learning project, so any feedback or suggestions are highly appreciated! Also the project is under continuous development—more features and improvements are coming soon!