{"id":13338699,"url":"https://github.com/soffes/Camo","last_synced_at":"2025-03-11T10:31:48.939Z","repository":{"id":54646788,"uuid":"47474477","full_name":"soffes/Camo","owner":"soffes","description":"Swift client for Camo","archived":true,"fork":false,"pushed_at":"2016-10-28T12:33:30.000Z","size":21,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-23T22:18:24.525Z","etag":null,"topics":["carthage","ios","macos","swift","tvos","watchos"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/soffes.png","metadata":{"files":{"readme":"Readme.markdown","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":"2015-12-05T22:07:33.000Z","updated_at":"2023-01-28T04:42:16.000Z","dependencies_parsed_at":"2022-08-13T22:40:39.158Z","dependency_job_id":null,"html_url":"https://github.com/soffes/Camo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffes%2FCamo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffes%2FCamo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffes%2FCamo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffes%2FCamo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soffes","download_url":"https://codeload.github.com/soffes/Camo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243015440,"owners_count":20222082,"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":["carthage","ios","macos","swift","tvos","watchos"],"created_at":"2024-07-29T19:17:08.584Z","updated_at":"2025-03-11T10:31:47.140Z","avatar_url":"https://github.com/soffes.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Camo\n\n[![Version](https://img.shields.io/github/release/soffes/Camo.svg)](https://github.com/soffes/Camo/releases)\n![Swift Version](https://img.shields.io/badge/swift-3.0.1-orange.svg)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\nSwift client for [Camo](https://github.com/atmos/camo).\n\nCamo depends on [Crypto](https://github.com/soffes/Crypto). Released under the MIT license.\n\n\n\n## Installation\n\n[Carthage](https://github.com/carthage/carthage) is the recommended way to install Crypto. Add the following to your Cartfile:\n\n``` ruby\ngithub \"soffes/Camo\"\n```\n\n\n## Usage\n\n```swift\nimport Camo\n\n// Setup Camo with your secret and base URL.\n// You can also optionally set the HMAC algorithm. The default is SHA1\nlet camo = Camo(secret: \"something-secret\", baseURL: NSURL(string: \"https://camo.example.com/\")!)\n\n// Get a URL to sign\nlet imageURL = NSURL(string: \"http://soffes-assets.s3.amazonaws.com/images/Sam-Soffes.jpg\")!\n\n// Get a camo'd URL\ncamo.sign(URL: URL) // \"https://camo.example.com/c426621ed24dd05c47d766e5372de822c5601789?url=http://soffes-assets.s3.amazonaws.com/images/Sam-Soffes.jpg\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoffes%2FCamo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoffes%2FCamo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoffes%2FCamo/lists"}