Extensions Repositories
{#each Object.entries($saved) as [id, config] (id)}
ico
{config.name}
{id}
{config.version}
{typeMap[config.type]}
{config.accuracy} Accuracy
{#if config.ratio}
{config.ratio} Ratio
{/if}
{config.media}
{#if config.languages}
{#each config.languages as lang (lang)} {codeToEmoji(lang)} {/each}
{/if}
{:else}
Looks like there's nothing here...
Import some extensions in the Repositories tab.
{/each}
Destination URL of the extension manifest to import extensions from. This can be a direct URL to a .json file, an npm package prefixed with npm:, a file in a github repository prefixed with gh: or a file with the file: prefix and the code inlined as text. {#await importPromise} {:then _} {/await}
{#each Object.entries(Object.groupBy(Object.values($saved), saved => saved.update ?? '')) as [id, extensions] (id) } {@const url = new URL(id)}
{#if url.protocol === 'gh:'} {:else if url.protocol === 'npm:'} {:else} {/if}
{url.pathname}
{extensions?.length ?? 0} Extensions
{:else}
Looks like there's nothing here...
Import some extensions in the field above.
{/each}