ipfs / ipfs/ipfs-companion

Switch API polling to ipfs-stats

Open
#358 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.