Spaces:
Running
Running
duplicated-spaces
Small Poetry project to list public Spaces created in the last N days that were duplicated from a given source Space.
Setup
cd tools/duplicated-spaces
poetry install --no-root
Optionally export your token:
export HF_TOKEN=hf_xxx
Usage
poetry run find-duplicated-spaces --source owner/space-name --days 14
Options:
--source: required. The source Space in the formowner/space-name.--days: optional. Time window in days (default: 14).--token: optional. Your HF token. Defaults toHF_TOKENenv var if set.--no-deep: optional. Disable README/frontmatter fallback detection.
The tool checks card metadata and may fallback to README frontmatter parsing for robustness.