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

skyreader

v0.1.1

Published

Skyreader CLI - Read and manage RSS feeds from the terminal

Downloads

213

Readme

Skyreader CLI

Read and manage RSS feeds from the terminal. Designed for power users and AI agents (like Claude Code).

Install

cd cli
npm install

Run commands with npx tsx src/index.ts <command> during development, or build and use the skyreader binary:

npm run build
node dist/index.js <command>

Authentication

The CLI authenticates via your Bluesky account using OAuth. Login opens your browser to complete the flow.

# Login (production)
npx tsx src/index.ts login --handle you.bsky.social

# Login (local dev)
npx tsx src/index.ts login --handle you.bsky.social --server http://127.0.0.1:8787

Your session is stored in ~/.config/skyreader/config.json.

Verify your session:

npx tsx src/index.ts whoami

Commands

whoami

Show current user info.

skyreader whoami
skyreader whoami --json

subscriptions

List your feed subscriptions.

skyreader subscriptions
skyreader subscriptions --json

feeds

Fetch articles from a single feed or all subscriptions.

# Single feed
skyreader feeds https://example.com/rss

# All subscribed feeds
skyreader feeds --all

# Limit articles per feed
skyreader feeds --all --limit 5

# Include article content
skyreader feeds --all --content

# Only show unread articles
skyreader feeds --all --unread

# Only show articles published after a date
skyreader feeds --all --since 2024-01-01
skyreader feeds --all --since "3 days ago"
skyreader feeds --all --since yesterday

# Combine filters
skyreader feeds --all --unread --since "1 week ago"

# JSON output (includes all fields)
skyreader feeds --all --json

saved

List saved articles.

skyreader saved
skyreader saved --json

Output Formats

By default, commands output human-readable tables and lists. Add --json to any command for structured JSON output, useful for piping to other tools:

# Get all article titles
skyreader feeds --all --json | jq '.feeds[].items[].title'

# Get saved article URLs
skyreader saved --json | jq '.[].url'

# Count articles per feed
skyreader feeds --all --json | jq '.feeds | to_entries[] | {feed: .key, count: (.value.items | length)}'

AI Agent Usage

The CLI is designed to work well with AI agents. Use --json for structured output that's easy to parse:

# Fetch and summarize recent articles
skyreader feeds --all --limit 5 --json

# Get full article content for analysis
skyreader feeds https://example.com/rss --content --json

# Check subscriptions
skyreader subscriptions --json

Configuration

Config is stored at ~/.config/skyreader/config.json:

{
  "server": "https://api.skyreader.app",
  "sessionId": "...",
  "handle": "you.bsky.social"
}

The --server flag on login sets the backend URL. This is useful for local development against http://127.0.0.1:8787.

Exit Codes

| Code | Meaning | | ---- | ----------------------------------------- | | 0 | Success | | 1 | General error | | 2 | Not authenticated (run skyreader login) |

Local Development

Prerequisites: the backend must be running via ./scripts/dev-local.sh from the repo root.

# Start the backend + frontend
cd .. && ./scripts/dev-local.sh

# In another terminal, use the CLI
cd cli
npx tsx src/index.ts login --handle you.bsky.social --server http://127.0.0.1:8787
npx tsx src/index.ts feeds --all --limit 3