{"id":31027079,"url":"https://github.com/willhackett/cloudwrap","last_synced_at":"2025-09-13T18:51:19.313Z","repository":{"id":276387652,"uuid":"929144567","full_name":"willhackett/cloudwrap","owner":"willhackett","description":"A nice way to share screenshots or files using Cloudflare Workers","archived":false,"fork":false,"pushed_at":"2025-02-07T22:38:57.000Z","size":38,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T23:23:27.259Z","etag":null,"topics":["cloudflare-workers","file-sharing"],"latest_commit_sha":null,"homepage":"https://notes.willhackett.com/cloudwrap/","language":"TypeScript","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/willhackett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2025-02-07T22:18:24.000Z","updated_at":"2025-02-07T22:40:02.000Z","dependencies_parsed_at":"2025-02-07T23:23:33.230Z","dependency_job_id":"e4d0d931-fb44-44d8-896f-0f310027eada","html_url":"https://github.com/willhackett/cloudwrap","commit_stats":null,"previous_names":["willhackett/cloudwrap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willhackett/cloudwrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willhackett%2Fcloudwrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willhackett%2Fcloudwrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willhackett%2Fcloudwrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willhackett%2Fcloudwrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willhackett","download_url":"https://codeload.github.com/willhackett/cloudwrap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willhackett%2Fcloudwrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275013282,"owners_count":25390481,"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-09-13T02:00:10.085Z","response_time":70,"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":["cloudflare-workers","file-sharing"],"created_at":"2025-09-13T18:51:16.767Z","updated_at":"2025-09-13T18:51:19.296Z","avatar_url":"https://github.com/willhackett.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloudwrap\n\nI wrote this on a Friday evening to replace CleanShot X's cloud upload feature. It's a simple upload handler and a web server that serves the uploaded files.\n\nIt deploys to Cloudflare Workers and uses R2 for storage.\n\nThere's a Siri Shortcut that uploads the last screenshot to the server.\n\n## Deploy to Cloudflare Workers\n\nI added a button that deploys the project to Cloudflare Workers. You can use it to deploy your own instance of cloudwrap.\n\n1. Sign up to Cloudflare \u0026 create an R2 bucket named `cloudwrap`.\n\n2. Click the button below to deploy the project to Cloudflare Workers.\n\n   [![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/willhackett/cloudwrap)\n\n3. Navigate to the Workers dashboard and add the following environment variables as a secret:\n\n   - `SHARED_SECRET` - Choose a secret key that will be used to authenticate requests.\n\n4. (Optionally) Setup a custom domain for your Worker.\n\n## Setup the Siri Shortcut\n\n1. Click the link below to download the Siri Shortcut.\n\n   [Download the shortcut](https://www.icloud.com/shortcuts/3f7fdffd75d2449c901498821ad4173a)\n\n2. Set the _Endpoint URL_ variable to the URL of your Worker\n\n3. Set the _Secret_ variable to the secret key you chose earlier\n\n4. (Optionally) Make it accessible\n\n   - On macOS select \"Finder\" under \"Use as Quick Action\"\n   - On macOS select \"Show in Share Sheet\"\n\n## Manual installation\n\n1. Clone the repository\n\n   ```sh\n   git clone https://github.com/willhackett/cloudwrap.git\n   ```\n\n2. Install the dependencies\n\n   ```sh\n   npm install\n   ```\n\n3. Deploy the project to Cloudflare Workers\n\n   ```sh\n   wrangler deploy\n   ```\n\n4. Follow secret setup instructions from the Cloudflare Workers deployment section\n\n## Customise the template\n\nThe template is located in `public/template.html`. You can customise it to your liking.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillhackett%2Fcloudwrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillhackett%2Fcloudwrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillhackett%2Fcloudwrap/lists"}