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

@seepine/giteacli

v0.1.6

Published

A CLI tool for interacting with Gitea instances

Downloads

942

Readme

giteacli

A CLI tool for interacting with Gitea instances. Manage repositories, issues, pull requests, labels, and more with type-safe commands.

Installation

# Using npm
npm install -g @seepine/giteacli

# Using pnpm
pnpm add -g @seepine/giteacli

Quick Start

# Login to your Gitea instance
giteacli login --host <host> --token <token>

# Check current user
giteacli whoami

Commands

Authentication

# Login to a Gitea instance
giteacli login --host <host> --token <token>

# Show current logged in user
giteacli whoami

Repository Management

# List your repositories
giteacli repo list

# Create a new repository
giteacli repo add --name <name>

# Fork a repository
giteacli repo fork --repo <owner/repo>

Repository Labels

# List labels in a repository
giteacli repo label list --repo <owner/repo>

# Create a new label
giteacli repo label add --repo <owner/repo> --name <name> --color <color>

# Edit a label
giteacli repo label edit --repo <owner/repo> --id <id>

# Delete a label
giteacli repo label del --repo <owner/repo> --id <id>

Issue Management

# Get a single issue
giteacli issue get --repo <owner/repo> --index <index>

# List issues in a repository
giteacli issue list --repo <owner/repo>

# Search issues
giteacli issue search

# Create a new issue
giteacli issue add --repo <owner/repo> --title <title> --body <body>

# Edit an issue
giteacli issue edit --repo <owner/repo> --index <index>

# Add labels to an issue
giteacli issue add-labels --repo <owner/repo> --index <index> --labels <labels>

# Remove labels from an issue
giteacli issue del-labels --repo <owner/repo> --index <index> --labels <labels>

Issue Comments

# List comments on an issue
giteacli issue comment list --repo <owner/repo> --index <index>

# Add a comment to an issue
giteacli issue comment add --repo <owner/repo> --index <index> --body <body>

# Edit a comment
giteacli issue comment edit --repo <owner/repo> --comment-id <commentId> --body <body>

Pull Request Management

# List pull requests in a repository
giteacli pr list --repo <owner/repo>

# Search pull requests
giteacli pr search

# Get a single pull request
giteacli pr get --repo <owner/repo> --index <index>

# Create a new pull request
giteacli pr add --repo <owner/repo> --title <title> --head <head> --base <base>

# Edit a pull request
giteacli pr edit --repo <owner/repo> --index <index>

# Get pull request comments
giteacli pr comments --repo <owner/repo> --index <index>

# List pull request reviews
giteacli pr reviews --repo <owner/repo> --index <index>

# Find first PR that need changes (REQUEST_CHANGES review)
giteacli pr tbd

Reviewers

# Add a reviewer to a pull request
giteacli pr reviewer add --repo <owner/repo> --index <index> --username <username>

# Remove a reviewer from a pull request
giteacli pr reviewer del --repo <owner/repo> --index <index> --username <username>

# Request re-review
giteacli pr reviewer review --repo <owner/repo> --index <index> --username <username>

Configuration

# Set configuration values
giteacli config set <key> <value>

# Available keys: format
# format: can be set to "toon" for pretty-printed output

Output Format

By default, output is JSON. You can set format=toon in config for pretty-printed output:

giteacli config set format toon

License

MIT