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

@osallou/herodote-cli

v0.1.5

Published

Client to manage web hooks from a Herodote server

Downloads

15

Readme

Herodote-cli

About

Herodote-cli setup a server to handle some job requests from an Herodote server with web hooks. It is composed of a server handling web hooks, and slaves that execute the jobs.

Herodote server will send a request to your server on data modification with the details of the command to execute. Data will be fetched from Openstack Swift, command executed and results pushed back to Swift.

Jobs are dispatched among slaves.

The secret provided at init is used to create JWT tokens used to authorize the requests. Keep this secret private. In case of compromission, restart the master using a different secret, invalid token requests will be rejected.

Requirements

NodeJS, MongoDB and Docker installed on master and NodeJS and Swift python client on slaves.

Status

Still in beta

License

Apache 2.0

Credits

2019, Olivier Sallou, IRISA

Install

npm install -g @osallou/herodote-cli

Setup

hero-cli init

init will explain what should be done after that. A docker-compose.yml and .env file will be generated to start necessary components (mongo and rabbitmq). You may use local installs of those components, in this case simply update URLs/credentials on master and slave commands to match your install.

On Openstack, init will try to auto-detect private and public IP addresses. In case of failure, simply update .env file and master/slave commands.

Development

Start a mongo and rabbitmq server locally (on host or docker exposing ports) and update rabbitmq credentials in command.

Install npm nodemon for autorestart on file change.

NODE_ENV=development node node_modules/nodemon/bin/nodemon bin/hero-master run --mongo localhost:27017/hero --rabbit amqp://login:password@localhost:5672/%2F --secret XXXX

NODE_ENV=development node node_modules/nodemon/bin/nodemon bin/hero-slave run --mongo localhost:27017/hero --rabbit amqp://login:password@localhost:5672/%2F

Production

# For port selection, use --port option
hero-master run --mongo localhost:27017/hero --rabbit amqp://login:password@localhost:5672/%2F --secret XXXX
hero-slave run --mongo localhost:27017/hero --rabbit amqp://login:password@localhost:5672/%2F

To run processes as daemon:

npm install -g forever
forever start hero-master ....
forever start hero-slave ....

It is possible to scale slaves by running slaves on other servers, simply update command line to match mongo and rabbit option with master IP address (instead of localhost)

hero-cli

hero-cli is used at init, but it also gives information on jobs (listing, details). See -h for help.

node bin/hero-cli -h