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 ๐Ÿ™

ยฉ 2025 โ€“ย Pkg Stats / Ryan Hefner

@zesbe/tmux-termux

v1.0.0

Published

๐Ÿค– Tmux configuration optimized for Termux on Android with mouse scrolling support

Readme

@zesbe/tmux-termux

npm version

๐Ÿค– Tmux configuration optimized for Termux on Android

โœจ Features

  • ๐Ÿ“ฑ Touch Screen Friendly - Perfect for mobile devices
  • ๐Ÿ–ฑ๏ธ Mouse Scrolling - Scroll with mouse wheel or swipe
  • โšก Optimized for Termux - Special settings for Android
  • ๐ŸŽฏ Simple Setup - One command installation
  • ๐Ÿ“š Useful Aliases - Pre-configured shortcuts

๐Ÿš€ Quick Install

# Install via npm
npm install -g @zesbe/tmux-termux

# Or via pkg (Termux)
pkg install @zesbe/tmux-termux

# Run configuration
tmux-termux

๐Ÿ“– Usage

After installation:

# Start tmux with the new config
tmux

# Or use the alias
tm

# List sessions
tl

# Attach to session
ta session_name

๐ŸŽฎ Controls

Mouse/Touch

  • Scroll - Mouse wheel or swipe gesture
  • Click - Position cursor
  • Drag - Select text
  • Copy - After selection, use system copy

Keyboard Shortcuts

  • Prefix + c - New window
  • Prefix + | - Split horizontal
  • Prefix + - - Split vertical
  • Prefix + d - Detach session

Default Prefix: Ctrl + A

๐Ÿ“ฑ Termux Specific

The configuration includes:

  • Terminal override for Android
  • Mouse support optimization
  • Touch-friendly copy mode
  • Performance tweaks for mobile

๐Ÿ”ง Requirements

  • Termux app
  • Node.js (for npm install)
  • tmux package
# Install tmux if not installed
pkg update
pkg install tmux

๐Ÿ“ Configuration Location

Config file: ~/.tmux.conf Backup: ~/.tmux.conf.backup.TIMESTAMP

๐Ÿ› Troubleshooting

Scroll not working?

  1. Restart tmux: tmux kill-server && tmux
  2. Check config: cat ~/.tmux.conf
  3. Ensure mouse is enabled: tmux show -g mouse

Can't copy/paste?

  1. Enter copy mode: Prefix + [
  2. Select text with touch/mouse
  3. Copy with y or system copy

๐ŸŒŸ Tips

  1. Use external keyboard for better productivity
  2. Bluetooth mouse works great with Termux
  3. Split screen for multitasking
  4. Use sessions to organize work

๐Ÿ”— Links

๐Ÿ“„ License

MIT ยฉ Zesbe


Made with โค๏ธ for Termux users! ๐Ÿค–