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

@involvex/disgo-cli

v1.0.9

Published

A lightweight, secure, and feature-rich Discord terminal client

Readme

Disgo CLI · discord ci Go Report Card license npm

Disgo CLI is a lightweight, secure, and feature-rich Discord terminal client. Features web-based login interface with QR code authentication.

Preview

Features

  • Lightweight
  • Configurable
  • Mouse & clipboard support
  • Attachments
  • Notifications
  • 2-Factor & QR code authentication
  • Discord-flavored markdown

Installation

NPM Package (Recommended)

Install globally via npm:

npm install -g @involvex/disgo-cli

Prebuilt binaries

You can download and install a prebuilt binary here for Windows, macOS, or Linux.

Package managers

  • Arch Linux: yay -S disgo-cli-git (coming soon)
  • Gentoo (available on the guru repos as a live ebuild): emerge net-im/disgo-cli (coming soon)
  • FreeBSD: pkg install disgo-cli (coming soon)
  • Nix (NixOS, home-manager)
    • Upstream flake installation: Add inputs.disgo-cli.url = "github:involvex/disgo-cli". Install using inputs.disgo-cli.homeModules.default (.enable, .package, .settings TOML).
  • Windows (Scoop): Coming soon

Building from source

git clone https://github.com/involvex/disgo-cli
cd disgo-cli
go build .

Wayland clipboard support

x11-dev is required for X11 clipboard compatibility:

  • Ubuntu: apt install xwayland
  • Arch Linux: pacman -S xorg-xwayland

OAuth Setup (Optional)

For OAuth-based login, you need to configure a Discord OAuth2 application:

  1. Go to Discord Developer Portal
  2. Create a new application (or use existing one)
  3. Go to "OAuth2" section
  4. Under "Redirects", add: http://localhost:4444/oauth/callback
  5. Copy the Client ID and Client Secret
  6. Set environment variables:
    export DISGO_CLI_CLIENT_ID="your_client_id_here"
    export DISGO_CLI_CLIENT_SECRET="your_client_secret_here"
  7. Restart the application - now OAuth login will use real Discord authentication instead of placeholder

Note: OAuth only requests identify scope, which gives basic user info. No server/bot permissions needed.

Usage

Basic Usage

  1. Run the disgo-cli executable with no arguments:
disgo-cli
  1. For web-based login, use the --serve flag:
disgo-cli --serve

This starts a web server at http://localhost:4444 with a Discord-themed interface for QR code or API-based login.

If you are logging in using an authentication token, provide the token command-line flag (eg: --token "OTI2MDU5NTQxNDE2Nzc5ODA2.Yc2KKA.2iZ-5JxgxG-9Ub8GHzBSn-NJjNg"). Alternatively, set the value of the DISGO_CLI_TOKEN environment variable to the authentication token. The token is stored securely in the default OS-specific keyring.

NPM Scripts

If installed via npm, you can use these commands:

# Start the application
npm start

# Start with web login interface
npm run serve

# Run in development mode
npm run dev

# Build the binary
npm run build

# Clean build artifacts
npm run clean

Configuration

The configuration file allows you to configure and customize the behavior, keybindings, and theme of the application.

  • Unix: $XDG_CONFIG_HOME/disgo-cli/config.toml or $HOME/.config/disgo-cli/config.toml
  • Darwin: $HOME/Library/Application Support/disgo-cli/config.toml
  • Windows: %AppData%/disgo-cli/config.toml

Disgo CLI uses the default configuration if a configuration file is not found in the aforementioned path; however, the default configuration file is not written to the path. The default configuration can be found here.

FAQ

Manually adding token to keyring

Do this if you get the error:

failed to get token from keyring: secret not found in keyring

Windows

Run the following command in a terminal window. Replace YOUR_DISCORD_TOKEN with your authentication token.

cmdkey /add:disgo-cli /user:token /pass:YOUR_DISCORD_TOKEN

MacOS

Run the following command in a terminal window. Replace YOUR_DISCORD_TOKEN with your authentication token.

security add-generic-password -s disgo-cli -a token -w "YOUR_DISCORD_TOKEN"

Linux

  1. Start the keyring daemon.
eval $(gnome-keyring-daemon --start)
export $(gnome-keyring-daemon --start)
  1. Create the login keyring if it does not exist already. See GNOME/Keyring for more information.

  2. Run the following command to create the token entry.

secret-tool store --label="Discord Token" service disgo-cli username token
  1. When it prompts for the password, paste your token, and hit enter to confirm.

[!IMPORTANT] Automated user accounts or "self-bots" are against Discord's Terms of Service. I am not responsible for any loss caused by using "self-bots" or Disgo CLI.