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

@tsukinoko-kun/pogo

v0.1.0

Published

A centralized version control system that is simple and easy to use.

Readme

Pogo is a centralized version control system designed to be straightforward and efficient. It features an easy-to-use CLI client, a simple web UI, and robust support for both text and binary files. Pogo treats conflicts as first-class citizens, allowing them to be pushed to the remote to be resolved later.

✨ Goals

  • 🏠 Centralized Server: A single source of truth for all your data.
  • 💻 Easy CLI Client: No need for a complex GUI.
  • 🌐 Simple Web UI: For easy viewing of your repositories.
  • 🔄 Cross-Platform Consistency: Works the same on all major operating systems.
  • 📄 Text & Binary File Support: Handles all file types with ease.
  • 💥 First-Class Conflicts: Push conflicts to the remote and resolve them later.
  • 🌳 No Named Branches: Create branches by adding multiple children to a change and merge them by creating a new change with multiple parents. Changes are automaticall named.
  • 🔖 Bookmarks: Tag versions with bookmarks, like main for the current version or v1.0.0 for a specific version. main is treated like a default branch in Git.
  • 📦 Go Module Support: Import a Pogo repository as a Go module, no additional configuration or software required.

🚀 Installation

From Source

To build Pogo from source, run the following commands:

git clone https://github.com/tsukinoko-kun/pogo.git
cd pogo
just build

This will create a pogo binary in the current directory. You can move this binary to a directory in your PATH to make it accessible from anywhere.

Required software for building:

🕹️ Usage

The intended workflow for Pogo is simple and efficient:

  1. describe your changes: Before you start working, use the pogo describe command to write a detailed description of the changes you are about to make and why. This helps you to think about the changes and to communicate them to others.
  2. Make your changes: Make the changes to your files as you normally would.
  3. Iterate on the description: As you work, you can iterate on the description to reflect the changes you are making. Maybe your implementation plan changed and you need your description to reflect that.
  4. Push your changes: Regularly push your changes to the server using the pogo push command. A daemon process that pushes automatically will be added later. You constantly overwrite the current change until you are satisfied with it.
  5. Create a new change: When you are done with your changes, create a new one using the pogo new command. You can optionally add one or more parent changes to the command. By default, your current change is used as the parent.
  6. Maintain a "main" bookmark: Use bookmarks to tag important changes. You can set a bookmark with pogo bookmark set main to set the current change as the main one, or pogo bookmark set main <change> to set a specific change as main. "main" ist just a string, you can use any format for version bookmarks you want. But "main" is a special value, treated like a default branch in Git.

📋 Commands

| Command | Subcommand | Aliases | Description | | --------------- | ---------- | ------------------ | ------------------------------------------------------------------------------------------- | | pogo | | | The root command for the Pogo CLI. | | pogo bookmark | | b | Manage bookmarks. | | | set | s | Set a bookmark to a specific change. If no change is specified, the current change is used. | | | list | l | List all bookmarks. | | pogo commit | | | Combines describe, push, and new into a single command. | | pogo describe | | desc, rephrase | Set the description for the current change. | | pogo edit | | checkout | Sets the specified revision as the working-copy revision. | | pogo gc | | | Run garbage collection on the server. | | pogo info | | | Display the current working copy status. | | pogo init | | | Initialize a new repository. | | pogo log | | | Show the change history. | | pogo new | | | Create a new change based on one or more parent changes. | | pogo push | | | Push a change to the repository. | | pogo rm | | | Remove a change from the repository. | | pogo serve | | | Start the Pogo server. | | pogo whoami | | | Show the personal access token being used for the current repository. |

🏗️ Architecture

Pogo uses a PostgreSQL server to store all metadata about repositories, changes, and files. The actual file contents are stored in an object store on the file system. This separation of metadata and content allows for efficient storage and retrieval of data.

🗑️ Garbage Collection

Pogo includes an automatic garbage collection system that removes unreachable data to prevent unbounded storage growth. The GC system cleans up both database records and filesystem objects that are no longer referenced by any repository.

How to Use

  • Manual GC: Run pogo gc from any repository to trigger garbage collection on the server. This requires authentication.
  • Automatic GC: When running pogo serve, garbage collection automatically runs daily at 3:00 AM server time.

Adaptive Implementation

The garbage collection system uses an adaptive strategy based on the total number of files in the database:

  • Small-scale (< 10 million files): Uses an in-memory hash map strategy for fast O(1) lookups.
  • Large-scale (≥ 10 million files): Uses a batch processing strategy that scales to billions of files with constant memory usage.

The threshold can be configured via the GC_MEMORY_THRESHOLD environment variable.

📜 License

This project is published under the Zlib license.

In short:

  • You can use Pogo for any purpose, for free, including commercial use, forever.
  • You can create and distribute modified versions of Pogo, but you must not misrepresent the software's origin, you must clearly mark your changes, and you must retain the original license notice.
  • I don't take any responsibility for any damages or losses that may occur as a result of using Pogo. If you encounter any issues, please report them to me.

If you make any modifications to Pogo, I would appreciate it if you shared them with me. I'm always interested in learning from others and improving my own work.