@bpanel/peers-widget

A widget for displaying peer information on the bPanel Dashboard

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@bpanel/peers-widget
Minified + gzip package size for @bpanel/peers-widget in KB

Readme

Peers Widget

This is a simple widget for the bPanel Dashboard plugin that displays peer information in two widget areas.

In the bottom widgets an expandable list of peers are displayed.

screenshot

In the customChildrenAfter area, a map is displayed.

screenshot

You will need API keys for two different services for the map to work. The map uses an external API to get approximate geolocations of nodes based on IP Address. To get your free API Key, head to ipstack and add your key to your secrets.json located in your bpanel config directory (defaults to ~/.bpanel). Must be running bPanel version 0.3.1 or above for secrets support. You can also get a premium account to support SSL for your map ($10/month). The second key is a Google Maps API key which you can get here

Your secrets.json should look something like this:

{
  "ipstack": "my-secret-key",
  "googleMaps": "my-google-key"
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.