Switch API polling to ipfs-stats
Open
Nobody has claimed this yet.
good first issue
help wanted
kind/maintenance
P3
status/deferred
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 339
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
Background
Right now we poll stats about peers and repo manually.
@hacdias extracted similar code into ipfs-stats during his work on IPFS Desktop 👌
It may be a good idea to reuse it in Companion to decrease code we have to maintain..
References
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the existing API polling for peer and repository statistics, then review the linked ipfs-desktop pull request and ipfs-stats project. The work is complete when Companion reuses ipfs-stats for both statistics instead of maintaining equivalent polling code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100