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

physalis-cli

v0.1.1

Published

CLI Physalis — injecte tes secrets sans jamais les écrire sur le disque (physalis run), liste/exporte tes secrets en self-host.

Readme

physalis-cli

CLI du gestionnaire de secrets Physalis (self-host). Son intérêt principal :

physalis run -- <commande> injecte tes secrets en variables d'environnement du process, sans jamais les écrire sur le disque.

Zéro dépendance runtime (Node ≥ 18 : fetch natif, child_process).

Installation

npm install -g physalis-cli   # ou: npx physalis-cli ...

Démarrage

# 1. Se connecter (colle un token sv_… créé dans l'UI Physalis)
physalis login --url https://vault.exemple.fr
# (interactif : demande URL, token, et projet/env par défaut optionnels)

# 2. Lancer une commande avec les secrets injectés (rien sur le disque)
physalis run -p mon-projet -e production -- node app.js

Commandes

| Commande | Rôle | |---|---| | physalis login | Stocke l'URL + le token dans ~/.physalis/config.json (0600). | | physalis logout | Efface le token. | | physalis whoami | Affiche l'URL, le projet/env résolus et le token (masqué). | | physalis run -- <cmd…> | Héros. Récupère (project, env), injecte les secrets en env, exécute <cmd>. Propage signaux + code de sortie. Fail-closed. | | physalis secrets [--reveal] | Liste les clés (valeurs masquées sauf --reveal). | | physalis secrets get <KEY> | Une valeur brute (scripting). | | physalis export [--format=env\|json] | Sortie stdout (physalis export > .env pour docker-compose). |

Résolution de (url, token, project, env)

Priorité, du plus fort au plus faible :

  1. Flags : --url, --token, -p/--project, -e/--env
  2. Variables d'env : PHYSALIS_URL, PHYSALIS_TOKEN, PHYSALIS_PROJECT, PHYSALIS_ENV
  3. .physalis.json (dans le dossier courant) :
    { "project": "mon-projet", "env": "production" }
  4. Config stockée (~/.physalis/config.json, via physalis login)

PHYSALIS_TOKEN est l'override idéal pour la CI (token machine, non-interactif).

Sécurité

  • Le token est au repos en 0600 (chiffré par le système de fichiers). Un token volé = lecture des secrets de sa portée → TTL court + révocation depuis l'UI.
  • physalis run n'écrit aucun fichier : les secrets ne vivent que dans l'environnement du process enfant, en mémoire.
  • Fail-closed : si la récupération des secrets échoue, la commande n'est pas lancée (jamais de process avec des secrets manquants en silence).

Build (dev)

npm install
npm run build      # → dist/
npm run watch      # tsc --watch

Licence

MIT