🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

linux-mouse-record

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linux-mouse-record

Simple CLI to record and replay mouse events

0.1
Maintainers
1

Linux mouse record

@readwithai - X - substack - YouTube

A simple command-line tool to record and replay mouse clicks on Linux.

Using

pipx install linux-mouse-record
linux-mouse-record  > recording.jsonl
linux-mouse-replay < recording.jsonl

The recording file is a stream of JSON lines and can be edited by hand.

Motivation

I wanted to record a click and replay it. I found a lot of apps, but a lot of them were complicated-to-use GUIs, two didn't work, and a bunch weren't really documented.

This tool will probably never support additional features you want - unless I need them.

Alternatives and prior work

This is mostly a wrapper about pynput. There are a variety of tools that do this - but I could not find a nice CLI that worked for linux and worked - though perhaps one exists.

About me

I am @readwithai. I make tools for and write about agency and productivity, particularly related to deep reading and for Obsidian.

If you found this tool useful, perhaps pay me 2 dollars on kofi.

If that sounds interesting, you can follow me on X or substack.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts