Add ADDITIONAL_HF_REPOS config option for Hugging Face repos outside the org#75
Draft
Add ADDITIONAL_HF_REPOS config option for Hugging Face repos outside the org#75
Conversation
…tside the org Adds support for including Hugging Face repositories from outside the designated organization. Each entry specifies the repo ID (owner/name) and its type (datasets, models, or spaces). The parameter is optional and defaults to an empty array when not provided in config.yaml. Closes #64 Agent-Logs-Url: https://github.com/Imageomics/catalog/sessions/84f115ce-95f1-4640-be1f-191404fa3aa9 Co-authored-by: egrace479 <38985481+egrace479@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add option for additional Hugging Face repositories
Add ADDITIONAL_HF_REPOS config option for Hugging Face repos outside the org
Apr 16, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new ADDITIONAL_HF_REPOS config option to include Hugging Face datasets/models/spaces that are not owned by the configured org, and merges those items into the existing HF fetch flows (UI + tag export).
Changes:
- Adds
ADDITIONAL_HF_REPOSparsing/defaulting in the app config and uses it to fetch extra HF items per repo type. - Mirrors the same “fetch + merge” behavior in
scripts/export-tags.jsso exported tags include the additional HF repos. - Documents the new config key in
public/config.yamlandREADME.md.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
main.js |
Adds optional ADDITIONAL_HF_REPOS config handling and fetch/merge logic for extra HF repos. |
scripts/export-tags.js |
Adds optional ADDITIONAL_HF_REPOS support when collecting HF tags. |
public/config.yaml |
Documents and adds a default ADDITIONAL_HF_REPOS: []. |
README.md |
Documents the new config option alongside existing config keys. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrors the existing
ADDITIONAL_REPOS(GitHub) pattern for Hugging Face. Each entry specifies the repo ID and its type since HF API endpoints differ by repo type.Config format
The parameter is optional — defaults to
[]when absent fromconfig.yaml.Changes
main.js: InfetchHubItems(), after fetching org items for a given HF type, filtersADDITIONAL_HF_REPOSentries matching that type, deduplicates byitem.id, and fetches each additional repo via${API_BASE_URL}${repoType}/${entry.repo}. Added config validation and module-scope variable.scripts/export-tags.js: Same fetch-and-merge logic so the tag export script picks up tags from additional HF repos.public/config.yaml: New parameter with commented usage examples.README.md: DocumentedADDITIONAL_HF_REPOSalongsideADDITIONAL_REPOS.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/orgs/imageomics/repos/home/REDACTED/work/_temp/ghcca-node/node/bin/node node scripts/fetch-releases.js(http block)https://api.github.com/repos/Imageomics/Fish-Vista/releases/latest/home/REDACTED/work/_temp/ghcca-node/node/bin/node node scripts/fetch-releases.js(http block)https://api.github.com/repos/Imageomics/docker-workshop/releases/latest/home/REDACTED/work/_temp/ghcca-node/node/bin/node node scripts/fetch-releases.js(http block)https://api.github.com/repos/Imageomics/phylonn/releases/latest/home/REDACTED/work/_temp/ghcca-node/node/bin/node node scripts/fetch-releases.js(http block)https://api.github.com/repos/Imageomics/telemetry-dashboard/releases/latest/home/REDACTED/work/_temp/ghcca-node/node/bin/node node scripts/fetch-releases.js(http block)https://api.github.com/repos/ixlab/vidformer/releases/latest/home/REDACTED/work/_temp/ghcca-node/node/bin/node node scripts/fetch-releases.js(http block)https://api.github.com/repos/jennamk14/autonomous_drone_simulator/releases/latest/home/REDACTED/work/_temp/ghcca-node/node/bin/node node scripts/fetch-releases.js(http block)If you need me to access, download, or install something from one of these locations, you can either: