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

gitmaps-cli

v1.0.0

Published

GitMaps Command Line Interface — Open repositories in GitMaps from terminal

Downloads

113

Readme

🗺️ GitMaps CLI

Command Line Interface for GitMaps — Open repositories in GitMaps from terminal!

Install Live Demo


🚀 Quick Start

# Install globally
npm install -g gitmaps-cli

# Open current repository in GitMaps
gitmaps open

# Open specific repository
gitmaps open /path/to/repo

# Use local GitMaps server
gitmaps open -l

# Copy shareable URL
gitmaps share

📖 Commands

gitmaps open [path]

Open a repository in GitMaps.

# Open current directory
gitmaps open

# Open specific path
gitmaps open /path/to/repo

# Use local server
gitmaps open -l

# Use custom server
gitmaps open -u https://gitmaps.xyz

# Specify GitHub owner/repo manually
gitmaps open -o 7flash -r gitmaps

Options:

  • -u, --url <url> — GitMaps server URL (default: https://gitmaps.xyz)
  • -l, --local — Use local server (localhost:3335)
  • -o, --owner <owner> — GitHub owner (auto-detected from git remote)
  • -r, --repo <repo> — GitHub repo name (auto-detected)

gitmaps snapshot [path]

Generate a canvas snapshot (placeholder for GitHub Action integration).

gitmaps snapshot
gitmaps snapshot -o snapshot.png -w 1920 -h 1080

Options:

  • -o, --output <file> — Output file path (default: gitmaps-snapshot.png)
  • -w, --width <width> — Snapshot width (default: 1920)
  • -h, --height <height> — Snapshot height (default: 1080)
  • -u, --url <url> — GitMaps server URL

gitmaps share [path]

Copy shareable GitMaps URL to clipboard.

gitmaps share
gitmaps share /path/to/repo
gitmaps share -l  # Local server URL

Options:

  • -u, --url <url> — GitMaps server URL
  • -l, --local — Use local server

gitmaps status

Check if GitMaps server is online.

gitmaps status
gitmaps status -u http://localhost:3335

Options:

  • -u, --url <url> — GitMaps server URL to check

gitmaps config

Show GitMaps CLI configuration and available commands.

gitmaps config

🎯 Use Cases

1. Quick Open from Terminal

cd my-project
gitmaps open
# Opens in browser instantly!

2. Share with Team

gitmaps share
# URL copied to clipboard
# Paste in Slack/Discord/Email

3. Local Development

gitmaps open -l
# Opens local GitMaps instance

4. CI/CD Integration

# In GitHub Actions
- name: Open in GitMaps
  run: gitmaps open -u https://gitmaps.xyz

🔧 Installation

npm

npm install -g gitmaps-cli

yarn

yarn global add gitmaps-cli

bun

bun add -g gitmaps-cli

From Source

git clone https://github.com/7flash/gitmaps.git
cd gitmaps/gitmaps-cli
npm install
npm link

📊 Examples

Open Current Project

$ cd my-awesome-project
$ gitmaps open
🗺️ Opening in GitMaps: https://gitmaps.xyz/owner/my-awesome-project
✅ GitMaps opened in your browser!

Share Repository URL

$ gitmaps share
✅ GitMaps URL copied to clipboard:
   https://gitmaps.xyz/owner/my-awesome-project

Check Server Status

$ gitmaps status
🔍 Checking GitMaps status: https://gitmaps.xyz
✅ GitMaps is online!
   URL: https://gitmaps.xyz
   Status: 200

Show Configuration

$ gitmaps config
🗺️ GitMaps CLI Configuration

Default Settings:
  Base URL: https://gitmaps.xyz
  Local URL: http://localhost:3335

Commands:
  gitmaps open [path]     - Open repository in GitMaps
  gitmaps snapshot [path] - Generate canvas snapshot
  gitmaps share [path]    - Copy shareable URL
  gitmaps status          - Check server status
  gitmaps config          - Show this config

🙏 Acknowledgments

Built for GitMaps — Spatial Code Explorer.


📄 License

ISC © 7flash


Explore code spatially from your terminal! 🗺️