diff --git a/README.md b/README.md index 6150fd0..cb99a91 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This website makes it easier for you to generate beautiful stats for your GitHub ## APIs Used - [anuraghazra/github-readme-stats](https://github.com/anuraghazra/github-readme-stats) -- [DenverCoder1/github-readme-streak-stats](https://github.com/DenverCoder1/github-readme-streak-stats) +- [DenverCoder1/github-readme-streak-stats](https://streak-stats.demolab.com) ## How to Use @@ -22,7 +22,7 @@ This website makes it easier for you to generate beautiful stats for your GitHub ## Stats Available - + ## License diff --git a/bun.lockb b/bun.lockb index 4bca49a..46bd798 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/next.config.mjs b/next.config.mjs index 8219780..9674aa1 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -9,7 +9,7 @@ const nextConfig = { }, { protocol: "https", - hostname: "github-readme-streak-stats.herokuapp.com", + hostname: "streak-stats.demolab.com", }, ], }, diff --git a/package.json b/package.json index e4999aa..3b6c1d2 100644 --- a/package.json +++ b/package.json @@ -12,45 +12,41 @@ "dependencies": { "@hookform/resolvers": "^3.10.0", "@radix-ui/react-avatar": "^1.1.2", - "@radix-ui/react-dialog": "^1.1.4", - "@radix-ui/react-dropdown-menu": "^2.1.4", - "@radix-ui/react-hover-card": "^1.1.4", + "@radix-ui/react-dialog": "^1.1.5", + "@radix-ui/react-dropdown-menu": "^2.1.5", + "@radix-ui/react-hover-card": "^1.1.5", "@radix-ui/react-label": "^2.1.1", - "@radix-ui/react-popover": "^1.1.4", + "@radix-ui/react-popover": "^1.1.5", "@radix-ui/react-slot": "^1.1.1", "@radix-ui/react-switch": "^1.1.2", "@radix-ui/react-tabs": "^1.1.2", - "@radix-ui/react-tooltip": "^1.1.6", + "@radix-ui/react-tooltip": "^1.1.7", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.0.4", "geist": "^1.3.1", "lucide-react": "^0.441.0", - "next": "15.1.4", + "next": "15.1.6", "next-themes": "^0.3.0", "nextjs-toploader": "^1.6.12", - "posthog-js": "^1.205.0", - "react": "19.0.0", - "react-dom": "19.0.0", + "posthog-js": "^1.210.2", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-hook-form": "^7.54.2", - "sonner": "^1.7.1", + "sonner": "^1.7.2", "tailwind-merge": "^2.6.0", "tailwindcss-animate": "^1.0.7", "vaul": "^0.9.9", "zod": "^3.24.1" }, "devDependencies": { - "@types/node": "^20.17.12", - "@types/react": "19.0.3", - "@types/react-dom": "19.0.2", + "@types/node": "^20.17.16", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "eslint": "^8.57.1", - "eslint-config-next": "15.1.4", - "postcss": "^8.4.49", + "eslint-config-next": "15.1.6", + "postcss": "^8.5.1", "tailwindcss": "^3.4.17", - "typescript": "^5.7.2" - }, - "overrides": { - "@types/react": "19.0.3", - "@types/react-dom": "19.0.2" + "typescript": "^5.7.3" } } diff --git a/src/hooks/use-github-stats.ts b/src/hooks/use-github-stats.ts index c72b092..ab800be 100644 --- a/src/hooks/use-github-stats.ts +++ b/src/hooks/use-github-stats.ts @@ -13,7 +13,7 @@ export const useGithubStats = (data: Stats) => { return useMemo(() => { const stats = `https://github-readme-stats.vercel.app/api?username=${username}&theme=${theme}&show_icons=true&hide_border=${hideBorder}&count_private=${countPrivate}`; const topLanguages = `https://github-readme-stats.vercel.app/api/top-langs/?username=${username}&theme=${theme}&show_icons=true&hide_border=${hideBorder}&layout=compact`; - const streak = `https://github-readme-streak-stats.herokuapp.com/?user=${username}&theme=${theme}&hide_border=${hideBorder}`; + const streak = `https://streak-stats.demolab.com?user=${username}&theme=${theme}&hide_border=${hideBorder}`; return { stats, topLanguages, streak }; }, [username, theme, hideBorder, countPrivate]);