https://github.com/cryptape/fiber-dashboard
https://github.com/cryptape/fiber-dashboard
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cryptape/fiber-dashboard
- Owner: cryptape
- Created: 2025-07-28T07:37:34.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-09-20T06:43:15.000Z (9 months ago)
- Last Synced: 2025-09-20T07:14:40.373Z (9 months ago)
- Language: TypeScript
- Homepage: https://fiber-dashboard-3aew.vercel.app/
- Size: 352 KB
- Stars: 0
- Watchers: 0
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Fiber Dashbord
http api default on 8080, method list:
```
/nodes_hourly?page=0
/channels_hourly?page=0
/nodes_nearly_monthly?page=0&start=%Y-%m-%d&end=%Y-%m-%d start/end is optional
/channels_nearly_monthly?page=0&start=%Y-%m-%d&end=%Y-%m-%d start/end is optional
/node_udt_infos?node_id=0x...
/analysis_hourly
/channel_state?channel_id=0x..
/group_channel_by_state?state="open/commitment/closed"&page=0
/channel_info?channel_id=0x..
/node_info?node_id=0x..
post /nodes_by_udt body={ udt: Script }
post /analysis need json body
```
/analysis body:
| Parameter | Type | Description |
| --------- | ----------------------------- | -------------------------------------------------------------- |
| start | string(%Y-%m-%d) | Start date (e.g., `2025-08-01`) (optional, defaults to today) |
| end | string(%Y-%m-%d) | End date (optional) |
| range | enum | Time span, frontend passes `1M/3M/6M/1Y/2Y` (optional, auto-calculates start/end if provided) |
| interval | enum | Aggregation granularity: `day` (default) |
| fields | string\[] | Required metrics, e.g., `["channels","capacity","nodes"]` (defaults to all if not provided), capacity point is [sum, avg, min, max, median] |
All APIs have a parameter called `net`, which can be testnet or mainnet. The default is mainnet.