Skip to content

jovbcorreia/keypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keypress

A local web app that lets you automate keyboard and mouse input through a browser UI. Built with Node.js, Express, and RobotJS.

Features

  • Key automation — Configure a key, delay between presses, and number of repetitions
  • Mouse automation — Move the mouse to specific X/Y coordinates and click with a chosen button
  • Web UI — Simple browser interface to trigger actions without touching the terminal
  • 3-second start delay — Gives you time to switch focus to the target window before automation begins

Tech Stack

Runtime Node.js
Server Express
Automation RobotJS
Frontend HTML, CSS, Vanilla JS

Setup

Prerequisites

  • Node.js 14+
  • Python 2 / build tools (required by RobotJS for native compilation)

1. Clone the repo

git clone git@github.com:jovbcorreia/keypress.git
cd keypress

2. Install dependencies

npm install

RobotJS requires native compilation. On macOS, ensure Xcode Command Line Tools are installed (xcode-select --install).

3. Run

node app.js

Open http://localhost:3000 in your browser.

Usage

  1. Fill in the key to press (e.g. a, space, enter)
  2. Set the delay between presses (ms) and the number of repetitions
  3. Optionally set mouse X/Y coordinates, click button, and number of clicks
  4. Click Start Pressing — automation begins after a 3-second delay

Switch to your target application within those 3 seconds.

About

Web UI to automate keyboard and mouse input using Node.js and RobotJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors