{"id":22687445,"url":"https://github.com/cablehead/agent-crates-io","last_synced_at":"2025-03-29T15:43:19.775Z","repository":{"id":265762942,"uuid":"640582487","full_name":"cablehead/agent-crates-io","owner":"cablehead","description":"Exploring the csv data behind crates.io","archived":false,"fork":false,"pushed_at":"2023-05-14T15:12:55.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T05:05:47.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/cablehead.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}},"created_at":"2023-05-14T15:12:46.000Z","updated_at":"2023-05-14T15:12:58.000Z","dependencies_parsed_at":"2024-11-30T20:49:09.186Z","dependency_job_id":"0c9c820e-c0fa-4390-b71a-6a3a03b578b9","html_url":"https://github.com/cablehead/agent-crates-io","commit_stats":null,"previous_names":["cablehead/agent-crates-io"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fagent-crates-io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fagent-crates-io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fagent-crates-io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fagent-crates-io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cablehead","download_url":"https://codeload.github.com/cablehead/agent-crates-io/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207491,"owners_count":20740723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-12-09T23:18:26.699Z","updated_at":"2025-03-29T15:43:19.747Z","avatar_url":"https://github.com/cablehead.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# agent: crates.io\n\n## To get started\n\n```\ncurl -L https://static.crates.io/db-dump.tar.gz | gunzip -c | tar xvf -\n```\n\n## Contents\n\n- get-embedding.sh: get a text-embedding-ada-002 embedding for content on stdin\n- q*.sql: some sql queries to use with duckdb, beginning to expore the csv data\n\n## Resources\n\n- https://crates.io/data-access\n- To explore the csv files:\n    - https://duckdb.org\n    - https://github.com/jqnatividad/qsv#qsv-ultra-fast-csv-data-wrangling-toolkit\n\n- https://github.com/kamu-data/kamu-cli/ ## Mike I'm curious if we could ingest the crates.io csv files into this tool\n    - New generation decentralized data warehouse and streaming data pipeline\n    - ~/.local/bin/kamu\n\n## Method\n\n- generate a csv file that's a summary of all crate information\n- text-embedding-ada-002: used for generated embeddings\n- turn user prompt into an embedding\n- table scan to find best matches\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcablehead%2Fagent-crates-io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcablehead%2Fagent-crates-io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcablehead%2Fagent-crates-io/lists"}