{"id":20550597,"url":"https://github.com/manmolecular/cloud-downloader","last_synced_at":"2026-05-04T15:38:09.953Z","repository":{"id":71196555,"uuid":"254810224","full_name":"manmolecular/cloud-downloader","owner":"manmolecular","description":":rocket: Download files directly into the cloud with a list of URLs (Distributed RabbitMQ Workers, PostgreSQL, Tornado Web Server)","archived":false,"fork":false,"pushed_at":"2020-04-20T20:02:40.000Z","size":35,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T16:52:21.931Z","etag":null,"topics":["docker","docker-compose","postgresql","python3","rabbitmq","sqlalchemy","tornado"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manmolecular.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":"2020-04-11T06:49:26.000Z","updated_at":"2023-04-25T07:25:45.000Z","dependencies_parsed_at":"2023-08-31T08:04:11.596Z","dependency_job_id":null,"html_url":"https://github.com/manmolecular/cloud-downloader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manmolecular%2Fcloud-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manmolecular%2Fcloud-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manmolecular%2Fcloud-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manmolecular%2Fcloud-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manmolecular","download_url":"https://codeload.github.com/manmolecular/cloud-downloader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242157176,"owners_count":20081036,"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":["docker","docker-compose","postgresql","python3","rabbitmq","sqlalchemy","tornado"],"created_at":"2024-11-16T02:26:07.407Z","updated_at":"2026-05-04T15:38:04.930Z","avatar_url":"https://github.com/manmolecular.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloud-downloader\n:rocket: Download files directly into the cloud with a list of URLs (RabbitMQ, PostgreSQL, Tornado Web Server)\n\n## Note\n:construction: Work in progress. Early PoC. \n\n## Run\n### Deploy  \nRun with 5 downloader instances:\n```bash\ndocker-compose up --scale cloud-downloader-consumer=5\n```\nAnd wait until the consumer and server will connect to RabbitMQ and PostgreSQL (about 10-20 seconds, you will see tracebacks and errors during this time - it's okay for now :smile:).\n\n### Usage  \nRegister:  \n```bash\ncurl --location --request POST 'http://localhost:8888/api/register' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"username\": \"testuser\",\n    \"password\": \"testpassword\"\n}'\n```\nLogin:  \n```bash\ncurl --location --request POST 'http://localhost:8888/api/login' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"username\": \"testuser\",\n    \"password\": \"testpassword\"\n}' -c cookies.txt\n```\n\nCreate task:\n```bash\ncurl --location --request POST 'http://localhost:8888/api/upload' \\\n--header 'Content-Type: application/json' \\\n--data-raw '[\n    \"https://file-examples.com/wp-content/uploads/2017/10/file_example_JPG_100kB.jpg\",\n    \"https://file-examples.com/wp-content/uploads/2017/10/file_example_JPG_500kB.jpg\",\n    \"https://file-examples.com/wp-content/uploads/2017/10/file_example_JPG_1MB.jpg\",\n    \"https://file-examples.com/wp-content/uploads/2017/10/file_example_JPG_2500kB.jpg\",\n    \"https://file-examples.com/wp-content/uploads/2017/02/zip_2MB.zip\",\n    \"https://file-examples.com/wp-content/uploads/2017/02/zip_5MB.zip\",\n    \"https://file-examples.com/wp-content/uploads/2017/02/zip_9MB.zip\",\n    \"https://file-examples.com/wp-content/uploads/2017/02/zip_10MB.zip\",\n    \"https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_5MG.mp3\",\n    \"https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_2MG.mp3\",\n    \"https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_1MG.mp3\",\n    \"https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_700KB.mp3\"\n]' -b cookies.txt\n```\nCheck status:\n```bash\nhttp://localhost:8888/api/status?uuid=2b29a2c7-169a-417c-9bf8-239b1f283cd5\n```\nor  \n```bash\ncurl --location --request GET 'http://localhost:8888/api/status?uuid=4ae0f42d-552d-46ea-8358-6938a40aa8fe' -b cookies.txt\n```\nIf status is \"ok/done\", you can check downloaded files in `data/{UUID}` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanmolecular%2Fcloud-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanmolecular%2Fcloud-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanmolecular%2Fcloud-downloader/lists"}