@bpanel/peers-widget

0.3.1 • Public • Published

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"
}

Package Sidebar

Install

npm i @bpanel/peers-widget

Weekly Downloads

0

Version

0.3.1

License

MIT

Unpacked Size

963 kB

Total Files

26

Last publish

Collaborators

  • bucko
  • mark-purse
  • pinheadmz
  • tynes