{"id":30420232,"url":"https://github.com/macabeus/ruawss3","last_synced_at":"2026-05-08T09:33:57.524Z","repository":{"id":56921771,"uuid":"77502993","full_name":"macabeus/RuAWSS3","owner":"macabeus","description":"💫  Ridiculously Uncomplicated AWS S3","archived":false,"fork":false,"pushed_at":"2016-12-28T17:55:15.000Z","size":891,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-16T04:24:06.724Z","etag":null,"topics":["aws","aws-s3","cocoapods","swift"],"latest_commit_sha":null,"homepage":"https://cocoapods.org/pods/RuAWSS3","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macabeus.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}},"created_at":"2016-12-28T04:31:19.000Z","updated_at":"2022-01-15T00:01:18.000Z","dependencies_parsed_at":"2022-08-20T21:50:30.132Z","dependency_job_id":null,"html_url":"https://github.com/macabeus/RuAWSS3","commit_stats":null,"previous_names":["brunomacabeusbr/ruawss3"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/macabeus/RuAWSS3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macabeus%2FRuAWSS3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macabeus%2FRuAWSS3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macabeus%2FRuAWSS3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macabeus%2FRuAWSS3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macabeus","download_url":"https://codeload.github.com/macabeus/RuAWSS3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macabeus%2FRuAWSS3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271606595,"owners_count":24788979,"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-22T02:00:08.480Z","response_time":65,"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-s3","cocoapods","swift"],"created_at":"2025-08-22T08:14:03.140Z","updated_at":"2025-12-12T06:03:50.068Z","avatar_url":"https://github.com/macabeus.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RuAWSS3\n\n[![CI Status](http://img.shields.io/travis/Macabeus/RuAWSS3.svg?style=flat)](https://travis-ci.org/Macabeus/RuAWSS3)\n[![Version](https://img.shields.io/cocoapods/v/RuAWSS3.svg?style=flat)](http://cocoapods.org/pods/RuAWSS3)\n[![License](https://img.shields.io/cocoapods/l/RuAWSS3.svg?style=flat)](http://cocoapods.org/pods/RuAWSS3)\n[![Platform](https://img.shields.io/cocoapods/p/RuAWSS3.svg?style=flat)](http://cocoapods.org/pods/RuAWSS3)\n\nSince AWS's official library is extremely complicated, I decided to make one to simplify the work.\nAll asynchrony is performed using [PromiseKit](https://github.com/mxcl/PromiseKit). You need to know the concept of promise; if you don't know, [see it](https://realm.io/news/altconf-michael-gray-futures-promises-gcd/).\n\n![alt text](http://i.imgur.com/ubPEHUL.png)\n\n## Run the example project\n\n1. Clone the repo\n2. Run `pod install` from the Example directory first\n3. Open `AppDelegate.swift`\n4. Update `application(_:didFinishLaunchingWithOptions)` with your Amazon's credentials\n\n## Installation\n\nRuAWSS3 is available through [CocoaPods](http://cocoapods.org). To install\nit, add the following line to your Podfile:\n\n```ruby\npod 'RuAWSS3', '~\u003e 0.1.0-beta'\n```\n\nAnd, add in your `AppDelegate.swift`:\n\n```swift\nimport RuAWSS3\n...\n\nfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -\u003e Bool {\n\n  AmazonS3.shared.performCredentials(\n      regionType: ** YOUR REGION **,\n      identityPoolId: ** YOUR POOL ID **\n  )\n  \n  return true\n}\n```\n\n## Usage\n\nFirstly, you **need** import this modules:\n```swift\nimport PromiseKit\nimport RuAWSS3\n```\n\nUpload image\n```swift\nfirstly {\n    AmazonS3.shared.uploadImage(\n        bucket: \"example\",\n        key: \"image.jpg\",\n        image: UIImage(named: \"example\")!\n    )\n}.then {\n    print(\"succes õ/\")\n}.catch { error in\n    print(\"fail ;-;\")\n    print((error as NSError).localizedDescription)\n}\n```\n\nDownload image\n```swift\nfirstly {\n    AmazonS3.shared.download(\n        bucket: \"example\",\n        key: \"image.jpg\"\n    )\n}.then { filePath -\u003e Void in\n    print(\"succes õ/\")\n    self.imgView.image = UIImage(contentsOfFile: filePath)!\n}.catch { error in\n    print(\"fail ;-;\")\n    print((error as NSError).localizedDescription)\n}\n```\n\nDelete file\n```swift\nfirstly {\n    AmazonS3.shared.delete(\n        bucket: \"example\",\n        key: \"image.jpg\"\n    )\n}.then {\n    print(\"succes õ/\")\n}.catch { error in\n    print(\"fail ;-;\")\n    print((error as NSError).localizedDescription)\n}\n```\n\nYou can see others amazing examples in [Example application](https://github.com/brunomacabeusbr/RuAWSS3/blob/master/Example/RuAWSS3/ViewController.swift).\n\n## Author\n\nMacabeus, bruno.macabeus@gmail.com\n\n## License\n\nRuAWSS3 is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacabeus%2Fruawss3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacabeus%2Fruawss3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacabeus%2Fruawss3/lists"}