{"id":49349008,"url":"https://github.com/spack/spack-cache","last_synced_at":"2026-04-27T09:03:50.746Z","repository":{"id":353629875,"uuid":"1220229616","full_name":"spack/spack-cache","owner":"spack","description":"Simple interface to explore the spack cache. ✨️","archived":false,"fork":false,"pushed_at":"2026-04-24T18:35:14.000Z","size":1415,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-24T19:33:54.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-24T17:24:56.000Z","updated_at":"2026-04-24T18:35:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/spack/spack-cache","commit_stats":null,"previous_names":["spack/spack-cache"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/spack/spack-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spack%2Fspack-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spack%2Fspack-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spack%2Fspack-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spack%2Fspack-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spack","download_url":"https://codeload.github.com/spack/spack-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spack%2Fspack-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-27T09:03:49.868Z","updated_at":"2026-04-27T09:03:50.739Z","avatar_url":"https://github.com/spack.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spack Build Cache\n\nView the deployment at [https://cache.spack.io/](https://cache.spack.io/).\n\n![Home View](screenshots/spack_cache_home_view.png)\n\nWhen you select a package name from the tree in the sidebar, you'll be presented with a table to compare available specs for that package.\n\n![Home View](screenshots/spack_cache_package_view.png)\n\n# Usage\n\n\u003e **Note:** This usage guide recommends running these scripts via [uv](https://docs.astral.sh/uv/), so most commands are prefixed with `uv run`. You may also elect to run these scripts with native python instead, but you will need to run `pip install -e .` first.\n\n## Get Data\n\nThis Python script will parse data from [https://binaries.spack.io/](https://binaries.spack.io/).\n\n```\nuv run data.py\n```\n\nBy default, the data script will parse data for all build tags and all packages. To reduce data size, you may pass in optional arguments to filter by tag name and/or package name.\n\n| Shorthand | Longhand  | Description                                               |\n| --------- | --------- | --------------------------------------------------------- |\n| -t        | --tag     | Build tag to include. Can be specified multiple times.    |\n| -s        | --stack   | Stack name to include. Can be specified multiple times.   |\n| -p        | --package | Package name to include. Can be specified multiple times. |\n\n## Build Web Pages\n\nAfter obtaining data via the data script, you can build static web pages with the build script. The build script leverages [Jinja2](https://jinja.palletsprojects.com/en/stable/) to load the data into a set of HTML templates and saves the populated pages to the build directory.\n\n```\nuv run build.py\n```\n\n## Serve Static Web Pages\n\nAfter building the static web pages with the build script, you can serve them locally with the serve static script, which leverages the builtin python package `http.server`.\n\n```\nuv run serve_static.py --port 8000\n```\n\n\u003e **Note:** You may chose to replace 8000 with any other available port number.\n\n## Development Mode\n\n### Run the local development server\n\nWhen developing templates, it can be burdensome to rebuild after every change. Instead, you may launch a local development server that will reload after every change to the template files. This local development server leverages [Uvicorn](https://uvicorn.dev/) and [FastAPI](https://fastapi.tiangolo.com/). Visit `localhost:8000` in your browser to view the local development server.\n\n```\nuv run serve_dev.py\n```\n\n\u003e **Note:** Ensure that your browser has disabled caching of static files.\n\n### Run a proxy for refreshing the browser\n\nThis step is optional. If you choose not to do this step, you will need to refresh the page in your browser whenever the local development server reloads.\n\nIn a separate terminal, run the proxy command. The command below will leverage [Browsersync](https://browsersync.io/) to run a proxy server on port 8080 that will automatically refresh the browser when changes are made. Visit `localhost:8080` in your browser and start making changes to templates.\n\n```\ncd sync\nnpm i\nnpm run sync\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspack%2Fspack-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspack%2Fspack-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspack%2Fspack-cache/lists"}