OpenLake / OpenLake/OpenLake--Website

Refactor: Replace Static GitHub Stats with Dynamic Data

Open
#7 1 comment 0 reactions 1 assignee View on GitHub

@aviralsaxena16 is already working on this.

Since May 22, 2025.

DevLabs enhancement help wanted
Dominant language
TypeScript
Stars
3
Forks
16
Avg merge
8h 54m
Merged PRs (30d)
7

Description

Issue

Currently, the GitHub statistics displayed are hardcoded and do not reflect real-time data.
We need to replace these static values with dynamic stats by creating a reusable hook.

Task

  • Create a custom hook useStats to fetch and return live GitHub stats.
  • Replace the existing static values with data from the hook.
  • Ensure fallback values or error handling is in place if the API fails.

Reference

Image

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.