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

@shiori-sh/cli

v0.8.0

Published

CLI for managing your Shiori link library

Downloads

66

Readme

@shiori-sh/cli

Command-line interface for Shiori — save, organize, and manage your links from the terminal.

Install

npm install -g @shiori-sh/cli

Or use without installing:

npx @shiori-sh/cli list

Authenticate

shiori auth

This saves your API key to ~/.shiori/config.json. Generate an API key at shiori.sh/home → Settings.

You can also set SHIORI_API_KEY as an environment variable.

Commands

shiori list                        # List recent links
shiori list --read unread          # List unread links
shiori list --tag "design"         # Filter links by tag
shiori list --since 7d             # Links saved in the last 7 days
shiori list --content --json       # Include full markdown content

shiori search "react hooks"        # Full-text search
shiori search "AI" --since 30d     # Search within a time window
shiori search "go" --content --json # Search with full content

shiori get <id>                    # Get a link with full content
shiori content <id>                # Print raw markdown (for piping)

shiori save <url>                  # Save a new link
shiori save <url> --title "..."    # Save with custom title

shiori update <id> --read          # Mark as read
shiori update <id> --unread        # Mark as unread
shiori update <id> --title "..."   # Update title
shiori update <id> --restore       # Restore from trash
shiori update --ids <id1,id2,...> --read   # Bulk mark as read
shiori update --ids <id1,id2,...> --unread # Bulk mark as unread

shiori delete <id>                 # Move to trash
shiori delete --ids <id1,id2,...>  # Bulk move to trash
shiori trash                       # List trashed links
shiori trash --empty               # Permanently delete all trash

shiori tags list                    # List your tags
shiori tags create "design"        # Create a tag
shiori tags update <id> --name "dev"  # Rename a tag
shiori tags delete <id>            # Delete a tag
shiori tags set <link-id> design,work  # Set tags on a link

shiori subscriptions list           # List RSS subscriptions
shiori subscriptions add <url>     # Subscribe to an RSS feed
shiori subscriptions add <url> --sync  # Subscribe and sync recent items
shiori subscriptions remove <id>   # Remove a subscription
shiori subscriptions sync <id>     # Sync a subscription now
shiori subscriptions sync <id> --limit 5  # Sync with item limit

shiori whoami                      # Show account info
shiori auth --status               # Check auth status
shiori auth --logout               # Remove stored credentials

Add --json to any command for machine-readable output.

AI and Scripting

The CLI is designed to make your links accessible to AI tools and scripts:

# Pipe link content to an LLM
shiori content <id> | llm "summarize this"

# Get recent links with full content as JSON
shiori list --since 7d --content --json

# Search and pipe results
shiori search "react" --content --json | jq '.links[].content'

# Duration shortcuts: 1h, 7d, 2w, 1m, 1y
shiori list --since 2w --json

Environment Variables

| Variable | Description | | ----------------- | -------------------------------------------------- | | SHIORI_API_KEY | API key (overrides config file) | | SHIORI_BASE_URL | Custom base URL (default: https://www.shiori.sh) |

License

MIT