export function giteaUrlFor(project: { path: string; gitea_remote?: string | null }): string { if (project.gitea_remote) return project.gitea_remote; const folderName = project.path.split('/').filter(Boolean).pop() ?? ''; return `https://git.indifferentketchup.com/indifferentketchup/${folderName}`; }