+
+
+ Repositories on {$page.data.gitDomain || 'localhost:6543'}
+ +
+
+ {#if isNIP07Available() && userPubkey}
+
+ {/if}
+
+
+ {#if error}
+
+ Error loading repositories: {error}
+
+ {:else if loading}
+ Loading repositories...
+ {:else}
+
+
+
+
+
+
+
+ {#if registeredRepos.length === 0}
+ Registered Repositories
+ {registeredRepos.length} +No registered repositories found.
+ {:else}
+
+ {#each registeredRepos as item}
+ {@const repo = item.event}
+ {@const repoImage = getRepoImage(repo)}
+ {@const repoBanner = getRepoBanner(repo)}
+
+ {/if}
+
+ {#if repoBanner}
+
+ {/if}
+
+ {/each}
+
+
+
+ {#if repoImage}
+
+ {/if}
+
+
+
+
+ View & Edit →
+
+ {getRepoName(repo)}
+ {#if getRepoDescription(repo)} +{getRepoDescription(repo)}
+ {/if} +
+ Clone URLs:
+ {#each getCloneUrls(repo) as url}
+
+
+ {url}
+ {/each}
+
+
+ {/if}
+
+
+ {#if loadingLocal}
+ Local Clones
+ {localRepos.length} + Repositories cloned locally but not registered with this domain +Loading local repositories...
+ {:else if localRepos.length === 0}
+ No local clones found.
+ {:else}
+
+ {#each localRepos as item}
+ {@const repo = item.announcement}
+ {@const repoImage = repo ? getRepoImage(repo) : null}
+ {@const repoBanner = repo ? getRepoBanner(repo) : null}
+ {@const canDelete = isOwner(item.npub, item.repoName)}
+
+ {/if}
+
+ {#if repoBanner}
+
+ {/if}
+
+ {/each}
+
+
+
+ {#if repoImage}
+
+ {/if}
+
+ {#if repo}
+
+
+ {repo ? getRepoName(repo) : item.repoName}
+ {#if repo && getRepoDescription(repo)} +{getRepoDescription(repo)}
+ {:else} +No description available
+ {/if} +
+
+ View & Edit →
+
+ {#if canDelete}
+
+ {/if}
+
+
+
+ Clone URLs:
+ {#each getCloneUrls(repo) as url}
+
+ {/if}
+
+ {url}
+ {/each}
+