{"id":19147566,"url":"https://github.com/hectorcorrea/dsget","last_synced_at":"2025-08-12T00:08:27.573Z","repository":{"id":139776589,"uuid":"479022208","full_name":"hectorcorrea/dsget","owner":"hectorcorrea","description":"A small utility to download files from DataSpace","archived":false,"fork":false,"pushed_at":"2022-04-07T14:42:47.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-22T20:17:31.968Z","etag":null,"topics":["dataspace","dspace"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hectorcorrea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-04-07T14:33:38.000Z","updated_at":"2023-02-28T16:33:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"33dd3232-da19-41c6-9161-685de14626a7","html_url":"https://github.com/hectorcorrea/dsget","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hectorcorrea/dsget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorcorrea%2Fdsget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorcorrea%2Fdsget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorcorrea%2Fdsget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorcorrea%2Fdsget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hectorcorrea","download_url":"https://codeload.github.com/hectorcorrea/dsget/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorcorrea%2Fdsget/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269976794,"owners_count":24506467,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"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":["dataspace","dspace"],"created_at":"2024-11-09T07:50:45.919Z","updated_at":"2025-08-12T00:08:27.486Z","avatar_url":"https://github.com/hectorcorrea.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dsget\nA small program to download files (bitstreams) from DataSpace collections\n\n## Sample of usage\nDownload the [executable](https://github.com/hectorcorrea/dsget/releases) and then issue a command as follows to get a *list of the files* (bitstreams) for the items in a given collection and their sizes. For example:\n\n```\n./dsget -collection=261 -get=list\n```\n\nThe `collection` parameter is required and it must match the ID of an existing collection in DataSpace.\n\nBy default `dsget` connects to DataSpace at https://dataspace-dev.princeton.edu but you can pass a `-url` parameter if you want to point to a different DataSpace.\n\nYou can also request the *actual files* (bitstreams) to be downloaded with a command as follows:\n\n```\n./dsget -collection=261 -get=files\n```\n\nby default files are downloaded to the `./data` folder but you can pass the `-data` parameter to request that files are stored at a different location.\n\nWhen fetching files via the `-get=files` parameter `dsfetch` will download the files and make sure their MD5 hash matches the one reported by DataSpace.\n\nIf you stop the program while downloading files and run it again it at a later time `dsget` will recognize the files already on disk and only download files that still need to be downloaded.\n\n\n## Source code\nThe source is written in Go. If you want to play with it you can follow these steps (assumming you have Go installed):\n\n```\ngit clone https://github.com/hectorcorrea/dsget.git\ncd dsget\ngo build\n./dsget\n```\n\n`main.go` is the entry point and parses the command line options. `downloader.go` has the functionality to connect to DataSpace and download the files.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhectorcorrea%2Fdsget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhectorcorrea%2Fdsget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhectorcorrea%2Fdsget/lists"}