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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@fidus/cli

v0.1.0

Published

Fidus CLI - Command-line interface for Fidus AI Assistant

Readme

Fidus CLI

Command-line interface for the Fidus AI Assistant.

Features

  • Interactive Mode - Chat with Fidus in your terminal
  • Task Management - Create and manage tasks
  • Calendar - View and manage appointments
  • Finance - Track expenses and budgets
  • Quick Actions - Execute common operations
  • Configuration - Manage Fidus settings

Installation

# Install globally
pnpm install -g @fidus/cli

# Or use via npx
npx @fidus/cli

Usage

Interactive Mode

Start an interactive chat session:

fidus chat

Quick Commands

# Calendar
fidus calendar list                  # List today's appointments
fidus calendar add "Meeting at 2pm"  # Add appointment
fidus calendar free                  # Show free slots

# Tasks
fidus task create "Buy groceries"    # Create task
fidus task list                      # List tasks
fidus task complete <id>             # Complete task

# Finance
fidus finance summary                # Financial summary
fidus finance add -a 50 -c Food      # Add expense

# Travel
fidus travel search --from SFO --to JFK --date 2024-03-15
fidus travel book <flight-id>

# Status
fidus status                         # System status
fidus config                         # Show configuration

Configuration

# Set API endpoint
fidus config set api.url http://localhost:8000

# Set authentication token
fidus config set auth.token <your-token>

# Show all config
fidus config list

Project Structure

src/
├── cli.ts           # Main CLI entry point
├── commands/        # Command implementations
│   ├── chat.ts      # Interactive chat
│   ├── calendar.ts  # Calendar commands
│   ├── task.ts      # Task commands
│   ├── finance.ts   # Finance commands
│   └── ...          # Other commands
├── utils/           # Utility functions
│   ├── api.ts       # API client
│   ├── format.ts    # Output formatting
│   └── prompt.ts    # Interactive prompts
└── config/          # Configuration management
    └── store.ts     # Config storage

Development

Building

# Build CLI
pnpm build

# Watch mode
pnpm dev

Testing

# Run CLI locally
pnpm start

# Test specific command
node dist/cli.js calendar list

Configuration File

The CLI stores configuration in ~/.config/fidus/config.json:

{
  "api": {
    "url": "http://localhost:8000",
    "timeout": 30000
  },
  "auth": {
    "token": "your-jwt-token"
  },
  "preferences": {
    "dateFormat": "YYYY-MM-DD",
    "timeFormat": "24h",
    "colorOutput": true
  }
}

Examples

Morning Briefing

fidus briefing

Shows:

  • Today's schedule
  • Pending tasks
  • Financial summary
  • Important notifications

Quick Add

# Natural language input
fidus add "Dentist appointment tomorrow at 3pm"
fidus add "Buy milk on the way home"
fidus add "Expense: $25 for lunch"

The CLI uses the Orchestration API to intelligently route commands.

Batch Operations

# Import calendar from file
fidus calendar import ./events.ics

# Export tasks
fidus task export --format json > tasks.json

# Bulk expense import
fidus finance import ./expenses.csv

Authentication

The CLI uses JWT tokens for authentication:

# Login
fidus login
# Enter email and password

# Logout
fidus logout

# Check auth status
fidus whoami

Output Formats

Supports multiple output formats:

# Default table format
fidus calendar list

# JSON output
fidus calendar list --json

# Minimal output (for scripting)
fidus calendar list --quiet

Scripting

The CLI is designed to be scriptable:

#!/bin/bash
# morning-routine.sh

# Get briefing
fidus briefing --quiet

# Check calendar
EVENTS=$(fidus calendar list --json)

# Process with jq
echo $EVENTS | jq '.[] | select(.priority == "high")'