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

gdit

v3.3.0

Published

Git-like version control for Google Drive. Stage, commit, and sync files using familiar Git commands.

Readme

gdit


🌟 Overview

gdit (Google Drive Git) is a powerful, high-performance CLI tool that brings a familiar Git-like workflow to your Google Drive and other cloud storage providers. Built with TypeScript and designed for the modern developer, it bridges the gap between local development and cloud-based file management.

[!IMPORTANT] gdit now features full Model Context Protocol (MCP) integration, allowing AI agents like Cursor or Claude to manage your cloud storage and repository state autonomously.


✨ Features

🛠️ Core Git Workflow

  • init & clone: Quickly setup or sync existing Drive folders.
  • add & rm: Intuitive staging area management.
  • commit: Version your changes locally before syncing.
  • push & pull: Bi-directional synchronization with MD5-based smart updates.

🛡️ Enterprise-Grade Security

  • Client-Side Encryption: AES-256-GCM encryption secures your data before it leaves your machine.
  • Zero-Storage: Your OAuth tokens and encryption keys stay strictly on your local machine.
  • Security Purge: Instantly wipe all local sensitive data with gdit security purge.

☁️ Universal Cloud Engine

Native integration for the industry leaders:

  • 📦 Google Drive: The primary versioning remote.
  • 🪣 AWS S3: List, sync, and manage buckets.
  • ☁️ Google Cloud Storage: Full GCS operations support.
  • 💠 Azure Blob Storage: Enterprise blob management.

🔌 AI-Ready (New!)

  • MCP Server: Built-in support for the Model Context Protocol.
  • AI Tools: LLMs can now use gdit status, gdit log, and more.
  • Cloud Resources: Expose your repo config directly to AI agents.

🏗️ Architecture

graph TD
    subgraph Local Environment
        CLI[gdit CLI]
        StageBuf[(Staging Area)]
        LocalFS[Local File System]
        MCP[MCP Server]
    end

    subgraph Core Engine
        Auth[OAuth2 / Auth Module]
        Encrypt[AES-256-GCM Encryption]
        Logic[Sync Logic / MD5 Hashing]
    end

    subgraph Cloud Remotes
        Drive[[Google Drive]]
        S3[[AWS S3]]
        GCS[[Google Cloud]]
        Azure[[Azure Blob]]
    end

    CLI --> Logic
    CLI --> MCP
    Logic --> StageBuf
    Logic --> LocalFS
    Logic --> Encrypt
    Encrypt --> Auth
    Auth --> Drive
    Auth --> S3
    Auth --> GCS
    Auth --> Azure

🚀 Quick Start

1. Installation

npm install -g gdit

2. Authentication

gdit setup-creds   # Configure your Google API credentials
gdit login         # Authenticate with your account

3. Initialize & Sync

gdit init                          # Create a new remote repo
gdit add .                         # Stage your work
gdit commit -m "feat: Initial sync" # Create a local snapshot
gdit push                          # Securely upload to Drive

🔌 AI Integration (MCP)

gdit is fully compatible with any MCP client (like Claude Desktop or Cursor).

Configuration

Add this to your MCP configuration file:

{
  "mcpServers": {
    "gdit": {
      "command": "gdit",
      "args": ["mcp"]
    }
  }
}

Dynamic AI Tools

Once connected, your AI assistant can use tools like:

  • gdit_status: Understand current local changes.
  • gdit_push: Request the AI to sync your work cloud-side.
  • gdit_whoami: Let the AI check your storage usage.

📜 Command Reference

| Command | Action | Provider | | :--- | :--- | :--- | | gdit init | Setup a new repository | Google Drive | | gdit push | Upload local changes | Google Drive | | gdit s3 list | List bucket contents | AWS S3 | | gdit gcp sync | Sync with cloud bucket | GCS | | gdit azure list| Manage blob containers | Azure | | gdit mcp | Launch the MCP server | Universal |

For a full list of commands, run gdit --help.


🤝 Contributing & Support

We love community involvement! Whether it's a bug report or a feature request, feel free to open an issue or submit a pull request.

🤖 MCP Server Integration

gdit now includes a built-in Model Context Protocol (MCP) server, allowing AI agents (like Claude Desktop or Cursor) to interact directly with your repository.

Configuration

Add the following to your MCP server configuration:

{
  "mcpServers": {
    "gdit": {
      "command": "node",
      "args": ["/path/to/gdit/dist/index.js", "mcp"]
    }
  }
}

Key Tools

  • gdit_status: Check repo state.
  • gdit_push/gdit_pull: Sync with Google Drive.
  • gdit_list_remote: Browse remote files in Drive.
  • gdit_whoami: Check storage quota.

License