From d3844a5870bbc87f5553c99bd0fe3e88f2d321b0 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Sat, 24 Jan 2026 18:30:50 -0700 Subject: [PATCH] Updated repos --- src/config.ts | 21 ++++++++++----------- src/utils/gitea.ts | 5 ++--- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src/config.ts b/src/config.ts index 5b98d9d..295d54a 100644 --- a/src/config.ts +++ b/src/config.ts @@ -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", }, ], diff --git a/src/utils/gitea.ts b/src/utils/gitea.ts index 8c22b01..9b0c1ca 100644 --- a/src/utils/gitea.ts +++ b/src/utils/gitea.ts @@ -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";