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

gwho

v1.0.1

Published

Seamless Git Profile Management CLI

Readme

🎭 gwho (Gw Who?)

Seamlessly manage and switch between multiple Git profiles across different workspaces.

Go Reference Go Report Card

Ever accidentally committed to your company's repository using your anime-avatar personal email? Say no more.

Note: 🎓 This project was built from scratch as a hands-on learning journey to master Clean Architecture and CLI development in Golang. It focuses on clean separation of concerns, SOLID principles, and building beautiful, interactive terminal UIs using Cobra and Fatih/Color.


✨ Features

  • 🚀 Interactive UI: Beautifully colored terminal prompts for an engaging user experience.
  • 🔄 Effortless Switching: Switch your Git identity locally (per repo) or globally in seconds.
  • 🗂️ Profile Management: Add, edit, list, and remove saved Git profiles with ease.
  • 🔍 Active Identity Check: Instantly verify which profile you are currently using to prevent wrong commits.
  • ⚡ Blazing Fast: Written purely in Go with zero bloated dependencies.

📥 Installation

Ensure you have Node.js installed on your machine. Run the following command to install gwho globally:

npm install -g gwho

(Alternatively, if you prefer the Go way: go install github.com/Marchiz3D/gwho@latest)_

🎬 Quick Demo

$ gwho list

📋 List of Git Profiles:
========================
[1] personal - John Doe <[email protected]>
[2] work     - John Doe <[email protected]>

$ gwho use
[1] personal
[2] work
Select a profile: 2
> Switched to local profile 'work'
Name: John Doe
Email: [email protected]

🚀 Usage Guide

gwho comes with a set of intuitive commands. You can always run gwho --help to see the available options.

1. Add a Profile

Create a new Git profile by defining an alias (e.g., work, personal).

gwho add work

2. List Profiles

View all your saved Git profiles in a beautifully formatted list.

gwho list

3. Switch Profile

Apply a profile to the current Git repository. If you don't provide an alias, an interactive menu will pop up!

gwho use           # Opens interactive selector
gwho use work      # Instantly switches to 'work' locally
gwho use work -g   # Switches to 'work' GLOBALLY across your entire OS

4. Check Current Profile

Unsure which email is active in your current folder? Just ask:

gwho current

5. Edit a Profile

Update the name or email of an existing profile interactively.

gwho edit work

6. Remove a Profile

Delete a profile you no longer need.

gwho remove work

🛠️ Built With

  • Cobra - The backbone of modern Go CLI applications.
  • Color - Bringing life to the terminal with beautiful colors.

🤝 Contributing

Since this is a learning project, I highly welcome feedback, code reviews, and pull requests! Feel free to open an issue if you find a bug or have a feature request.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request