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

@oalacea/palnia-cli

v0.3.0

Published

CLI for Palnia productivity app

Readme

Palnia CLI

CLI Rust pour Palnia, l'app de productivité tout-en-un.

Installation

npm i -g @oalacea/palnia-cli

Authentification

Le CLI utilise des tokens API générés depuis l'app Palnia (Paramètres > Tokens API).

palnia login
# Coller votre token API (plt_...)
# URL par défaut : https://palnia.newalfox.fr/api

palnia whoami    # Vérifier la connexion
palnia logout    # Se déconnecter

Configuration stockée dans ~/.palnia/config.toml. L'URL de l'API est configurable via --url ou la variable d'env PALNIA_API_URL.

Commandes

Tâches

palnia tasks                          # Lister les tâches actives (todo/doing)
palnia tasks all                      # Lister toutes les tâches (inclut done)
palnia tasks add "Titre"              # Créer une tâche
palnia tasks add "Titre" \
  -c professional \                   # Catégorie: spiritual, personal, professional
  -p urgent \                         # Priorité: urgent, normal, low
  --due 2026-03-20 \                  # Date d'échéance
  -n "Notes ici" \                    # Notes
  -t cli,rust \                       # Tags (séparés par virgule)
  -s "Sous-tâche 1,Sous-tâche 2"     # Sous-tâches

palnia tasks doing <id>               # Marquer en cours
palnia tasks done <id>                # Marquer terminée
palnia tasks delete <id>              # Supprimer
palnia tasks subtask <id> "Titre"     # Ajouter une sous-tâche

Événements

palnia events                         # Événements du jour
palnia events week                    # Événements de la semaine
palnia events add "Titre" \
  --date 2026-03-20 \                 # Date (requis)
  --start 14:00 \                     # Heure de début (défaut: 09:00)
  --end 15:30 \                       # Heure de fin (défaut: 10:00)
  -c professional \                   # Catégorie
  -d "Description" \                  # Description
  -n "Notes" \                        # Notes
  -t meeting,demo \                   # Tags
  --all-day                           # Événement journée entière

palnia events delete <id>             # Supprimer

Habitudes

palnia habits                         # Lister + statut du jour
palnia habits add "Titre"             # Créer une habitude
palnia habits add "Titre" \
  -c spiritual \                      # Catégorie
  -f weekly                           # Fréquence: daily, weekly

palnia habits toggle <id>             # Cocher/décocher aujourd'hui
palnia habits toggle <id> --date 2026-03-17  # Cocher une date spécifique
palnia habits delete <id>             # Supprimer

Agenda

palnia agenda                         # Vue combinée du jour (événements + tâches)
palnia agenda week                    # Vue de la semaine

Images

palnia images                         # Lister la galerie
palnia images upload <file>           # Upload une image
palnia images upload <file> --task <id>     # Attacher à une tâche
palnia images upload <file> --event <id>    # Attacher à un événement
palnia images download <id>           # Télécharger une image
palnia images delete <id>             # Supprimer
palnia images rename <id> "Nouveau nom"     # Renommer
palnia images quota                   # Voir le quota utilisé

Identifiants courts

Les commandes qui prennent un <id> acceptent un préfixe de l'UUID. Par exemple si l'ID est d02c3f4c-..., vous pouvez taper :

palnia tasks done d02c

Intégrations

Claude Code

palnia init --claude-code

Génère ~/.claude/PALNIA.md avec la documentation du CLI et ajoute la référence @PALNIA.md dans le ~/.claude/CLAUDE.md global. Idempotent : peut être relancé sans risque de doublon.

Configuration

| Variable | Description | Défaut | |----------|-------------|--------| | PALNIA_API_URL | URL de l'API Palnia | https://palnia.newalfox.fr/api |

Stack

  • Rust avec Tokio (async runtime)
  • clap pour le parsing CLI
  • reqwest pour les appels HTTP
  • colored pour l'affichage terminal

License

MIT