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

@wekisas/git-tui

v1.0.1

Published

A visual Git TUI tool for terminal - stage, commit, push, stash, branch, repo management

Readme

git-tui

一个终端可视化 Git TUI 工具,支持暂存 / 提交推送、提交历史管理、Stash 管理、GitHub/Gitee 仓库创建与远程连接。

screenshot

安装

# 全局安装
npm install -g @wekisas/git-tui

# 或本地安装后 link
npm link

使用

在任意 Git 项目目录下运行:

gitui

功能

Stage(暂存)

  • 查看已暂存 / 未暂存文件列表
  • 使用 ↑↓ 导航,Enter 选择文件
  • s 暂存选中文件,u 取消暂存
  • c 提交并推送到远程
  • r 刷新文件状态

Log(提交历史)

  • 查看最近 30 条提交记录
  • ↑↓ 导航,Enter 对选中提交执行操作
  • 支持 Revert(创建撤销提交)、Soft Reset、Hard Reset

Stash(暂存管理)

  • n 创建新的 stash
  • 查看 stash 列表,Enter 对选中 stash 执行操作
  • 支持 Pop(恢复并删除)、Apply(恢复但保留)、Drop(删除)
  • x 清除所有 stash

Repo(仓库管理)

  • g / h 切换 GitHub / Gitee 平台
  • 设置 / 删除平台 Token(自动打开浏览器创建 Token)
  • Init & Push (i) — 初始化本地 Git 仓库、创建 README/.gitignore、创建远程仓库并推送
  • Existing Remote (e) — 连接已有远程仓库,支持拉取同步
  • 查看并切换分支(↑↓ 导航,Enter 切换)

快捷键

| 按键 | 功能 | |------|------| | F1-F4 | 切换 Tab | | q | 退出 | | ↑↓ | 列表导航 | | Enter | 确认 / 选择 | | Esc | 取消 / 关闭弹窗 |

配置

Token 和平台偏好存储在 Git 全局配置中:

  • wekisas.github-token — GitHub Token
  • wekisas.gitee-token — Gitee Token
  • wekisas.git-platform — 默认平台(github 或 gitee)

技术栈

License

MIT