{"id":21323832,"url":"https://github.com/mnicole/s3-hosted-string-replace","last_synced_at":"2026-05-08T15:17:18.298Z","repository":{"id":79893874,"uuid":"142508187","full_name":"mnicole/s3-hosted-string-replace","owner":"mnicole","description":"Set of Node CLI scripts for downloading s3 files, doing string replaces, and re-uploading","archived":false,"fork":false,"pushed_at":"2018-07-30T20:04:43.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T06:09:28.594Z","etag":null,"topics":["aws","aws-cli","cli","javascript","nodejs","s3","s3-bucket"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mnicole.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":"2018-07-27T00:29:02.000Z","updated_at":"2023-11-06T07:08:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"bafb189e-329d-4278-9626-54ecc7723d95","html_url":"https://github.com/mnicole/s3-hosted-string-replace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mnicole/s3-hosted-string-replace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnicole%2Fs3-hosted-string-replace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnicole%2Fs3-hosted-string-replace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnicole%2Fs3-hosted-string-replace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnicole%2Fs3-hosted-string-replace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnicole","download_url":"https://codeload.github.com/mnicole/s3-hosted-string-replace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnicole%2Fs3-hosted-string-replace/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269740238,"owners_count":24467751,"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-10T02:00:08.965Z","response_time":71,"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":["aws","aws-cli","cli","javascript","nodejs","s3","s3-bucket"],"created_at":"2024-11-21T20:27:29.218Z","updated_at":"2026-05-08T15:17:13.250Z","avatar_url":"https://github.com/mnicole.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# S3 Hosted String Replace\n\n### Description\nSet of Node CLI scripts for downloading s3 files, doing string replaces, and reuploading them. Uses the aws-sdk package.\n\n### Prerequisites\nYou must have your AWS keys stored locally to use this. See [aws config files](https://docs.aws.amazon.com/cli/latest/userguide/cli-config-files.html) for more information.\n\nYou must have node and npm.\n\nRun `yarn install` or `npm install` to install the dependency (aws-sdk)\n\n### Scripts\n#### getFiles.js\nRun: `node getFiles.js path/to/file/with/filenames path/to/folder/to/upload/them/to bucketName`\n\nExample: `node getFiles.js files.txt ./files/ my-bucket-name`\n\nThe upload folders must already exist. Your files.txt should list each file name you want to download separated by a new line.\n\n#### replaceStrings.js:\nRun: `node replaceStrings.js path/to/folder/where/files/exist`\n\nExample: `node replaceStrings.js /Users/you/stuff`\n\nThe folder must already exist. You should edit the replaceStrings.js file with the regex of what you want to replace.\n\n#### uploadFiles.js\nRun: `node uploadFiles.js path/to/folder/where/files/exist bucketName`\n\nExample: `node uploadFiles.js /Users/you/stuff my-bucket-name`\n\nThe folder must already exist. This example uses Content-Type: text/html. You can change this in uploadFiles.js.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnicole%2Fs3-hosted-string-replace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnicole%2Fs3-hosted-string-replace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnicole%2Fs3-hosted-string-replace/lists"}