Skip to content

A dashboard widget for bPanel to display a list of connected peers and map showing their approximate location based on IP

License

Notifications You must be signed in to change notification settings

bpanel-org/peers-widget

Repository files navigation

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

About

A dashboard widget for bPanel to display a list of connected peers and map showing their approximate location based on IP

Resources

License

Stars

Watchers

Forks

Packages

No packages published