{"id":21643929,"url":"https://github.com/application-research/delta-sp-selection","last_synced_at":"2026-05-19T11:08:03.278Z","repository":{"id":227858632,"uuid":"620437278","full_name":"application-research/delta-sp-selection","owner":"application-research","description":"SP Selection using Storage.Market","archived":false,"fork":false,"pushed_at":"2023-04-01T13:44:37.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T04:11:10.391Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/application-research.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}},"created_at":"2023-03-28T17:19:46.000Z","updated_at":"2023-03-31T14:54:05.000Z","dependencies_parsed_at":"2024-03-15T14:23:14.442Z","dependency_job_id":"913d4c0f-c5ac-4c93-8763-e566d21ba6f8","html_url":"https://github.com/application-research/delta-sp-selection","commit_stats":null,"previous_names":["application-research/delta-sp-selection"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fdelta-sp-selection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fdelta-sp-selection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fdelta-sp-selection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fdelta-sp-selection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/application-research","download_url":"https://codeload.github.com/application-research/delta-sp-selection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244394463,"owners_count":20445634,"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-11-25T05:36:56.530Z","updated_at":"2026-05-19T11:08:03.219Z","avatar_url":"https://github.com/application-research.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Delta Storage Provider Selection\n\nSimple filecoin storage provider selection.\n- file size (min and max piece size)\n- verified FIL (soon)\n- geo location (soon)\n- success rate throttle (soon)\n\n## Running the app\n```\ngo build -o simple-sp-selection\n./simple-sp-selection\n```\n\n## Test the APIs\n### Get a random SP within a given piece size range\n```\ncurl --location 'http://localhost:8080/api/providers?size_bytes=256'\n```\n\n### Get a random SP within a given piece size range and IP address\n```\ncurl --location 'http://localhost:8080/api/providers?size_bytes=256\u0026source_ip=108.89.91.150'\n```\n\n## Test the live version\n```\ncurl --location --request GET 'https://sp-select.delta.store/api/providers?size_bytes=256'\ncurl --location --request GET 'https://sp-select.delta.store/api/providers?size_bytes=256\u0026source_ip=108.89.91.150'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Fdelta-sp-selection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplication-research%2Fdelta-sp-selection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Fdelta-sp-selection/lists"}