Add node and network details to your site.
Use widgets to show your node or network information in your personal website. Amboss currently provides a widget for general Lightning Network information and another for a nodes details.
Use this endpoint to show Lightning network statistics. https://amboss.space/embed/networkStats (opens in a new tab)
Use this endpoint to show nodes information. https://amboss.space/embed/node/info/[PUBKEY] (opens in a new tab)
You can personalize the widgets by adding query params. These are the available personalizations:
|Param||Default value||Available options|
|unit||BTC||BTC, USD, EUR, ...|
For example if you want to show network statistics in a light theme, with no background and in EUR you would use this url: https://amboss.space/embed/networkStats?theme=light&unit=EUR&noBackground=true (opens in a new tab)
To add a widget into your personal website you can add the url in an iframe. For example the previous widget can be added like this:
<iframe src="https://amboss.space/embed/networkStats?theme=light&unit=EUR&noBackground=true" width="100%" height="40px" style="overflow: hidden" scrolling="no" />
Let us know if there's any widget you would find useful for us to add!