npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

old-tourbox-linux

v1.0.2

Published

An unofficial Linux driver for the original (old) TourBox hardware

Readme

TourBox Node.js Driver (Linux Only)

npm version license platform

An unofficial Linux driver for the original (2018) TourBox hardware, written in Node.js.

Note: This driver is specifically designed for the old TourBox model (2018). It has NOT been tested with TourBox Neo or Elite, and likely will not work with them (as they use different protocols). Use at your own risk.

Settings Page Showcase

Features

  • System Tray Icon: Quick access to settings.
  • Web-based Configuration: Configure your device via a web UI.
  • Wayland Support: Works on KDE Wayland (requires kdotool). (actually, I haven't test it on X11)
  • Profile Switching: Automatic profile switching based on active window.

Installation

Method 1: NPM Global Install (Recommended)

You can install the driver globally using npm. This is the easiest method.

npm install -g old-tourbox-linux

After installation, you can run the driver with:

old-tourbox-linux

Note: You may need to fix permissions or install dependencies manually (see below).

Method 2: Manual Installation

If you prefer to run from source or need the install.sh helper:

  1. Clone the repository:
    git clone https://github.com/hocti/old-tourbox-linux.git
    cd old-tourbox-linux
  2. Run the install script (this will install dependencies and setup permissions):
    ./install.sh
  3. Start the driver:
    npm start

Manual Setup & Prerequisites

If you installed via npm -g or encounter permission issues, you may need to manually install system libraries and configure permissions.

1. Install Required Libraries

The driver relies on uinput for simulating key presses and specific tools for window detection.

Debian/Ubuntu:

sudo apt install libinput-tools
# For KDE Wayland support:
pip install kdotool

Arch Linux:

sudo pacman -S libinput
# For KDE Wayland support:
pip install kdotool

2. Configure Permissions (Udev Rules)

To access the TourBox device and create virtual input devices without sudo, you need to configure udev rules.

Create a file /etc/udev/rules.d/99-tourbox.rules with the following content:

# TourBox Device Access
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", MODE="0666", GROUP="dialout"
# Uinput Access
KERNEL=="uinput", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput"

Then reload rules and add your user to the groups:

sudo udevadm control --reload-rules && sudo udevadm trigger
sudo usermod -aG input $USER
sudo usermod -aG dialout $USER

You must log out and log back in for group changes to take effect.

Anyways

This project is 95% written by Gemini Pro 3 using Vibe Coding.

I planned to get a usable version by vibe coding in around 4~6 hours, but finally I spent 4 days. If I knew even with vibe coding it's still such hard work, I wouldn't have started this project. Because it seems like I'm the only one who needs this thing. (I don't know if there are other people who need this, but I haven't seen anyone else talking about it.)

Btw the tourbox icon is stolen from the official website, and the setting page's toubox svg is copy from here.

License

ISC