Updated repos
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m48s

This commit is contained in:
2026-01-24 18:30:50 -07:00
parent d06a453461
commit d3844a5870
2 changed files with 12 additions and 14 deletions

View File

@@ -188,13 +188,6 @@ export const config: Config = {
androidLink:
"https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://git.atri.dad/atridad/MagicCounter/releases",
},
{
id: "goth-stack",
name: "GOTH Stack",
description:
"🚀 A Web Application Template Powered by HTMX + Go + Tailwind 🚀",
gitLink: "https://git.atri.dad/atridad/goth.stack",
},
{
id: "himbot",
name: "Himbot",
@@ -203,11 +196,17 @@ export const config: Config = {
gitLink: "https://git.atri.dad/atridad/himbot",
},
{
id: "loadr",
name: "loadr",
id: "lavitz",
name: "Lavitz",
description:
"A lightweight REST load testing tool with robust support for different verbs, token auth, and performance reports.",
gitLink: "https://git.atri.dad/atridad/loadr",
"My NixOS desktop configuration, named after a character in Legend of Dragoon for the PS1: Lavitz.",
gitLink: "https://git.atri.dad/atridad/lavitz",
},
{
id: "atrodotdad",
name: "Personal Site",
description: "My personal website built with Astro.",
gitLink: "https://git.atri.dad/atridad/atridotdad",
},
],

View File

@@ -60,8 +60,6 @@ export async function fetchGiteaRepoInfo(
});
if (languagesResponse.ok) {
const languagesData = await languagesResponse.json();
// Gitea returns an object like { "TypeScript": 12345, "JavaScript": 6789 }
// Sort by usage (bytes) and extract language names
languages = Object.keys(languagesData).sort(
(a, b) => languagesData[b] - languagesData[a],
);
@@ -96,7 +94,8 @@ const MINUTE_MS = 60_000;
const HOUR_MS = 3_600_000;
const DAY_MS = 86_400_000;
const pluralize = (n: number, unit: string) => `${n} ${unit}${n !== 1 ? "s" : ""} ago`;
const pluralize = (n: number, unit: string) =>
`${n} ${unit}${n !== 1 ? "s" : ""} ago`;
export function formatRelativeTime(dateString: string): string {
if (!dateString) return "Unknown";