{"id":26134090,"url":"https://github.com/benhowell/s3-crewser","last_synced_at":"2026-05-18T06:34:17.703Z","repository":{"id":73072458,"uuid":"86295219","full_name":"benhowell/s3-crewser","owner":"benhowell","description":"AWS s3 upload and delete recipe for clojure(script) web apps","archived":false,"fork":false,"pushed_at":"2017-04-01T22:12:12.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-30T20:38:55.046Z","etag":null,"topics":["amazonica","aws","clojure","clojurescript","s3","s3-beam"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/benhowell.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-03-27T05:37:10.000Z","updated_at":"2017-08-01T22:33:12.000Z","dependencies_parsed_at":"2023-03-22T13:18:54.291Z","dependency_job_id":null,"html_url":"https://github.com/benhowell/s3-crewser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benhowell/s3-crewser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhowell%2Fs3-crewser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhowell%2Fs3-crewser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhowell%2Fs3-crewser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhowell%2Fs3-crewser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benhowell","download_url":"https://codeload.github.com/benhowell/s3-crewser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhowell%2Fs3-crewser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33167668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["amazonica","aws","clojure","clojurescript","s3","s3-beam"],"created_at":"2025-03-10T23:04:03.741Z","updated_at":"2026-05-18T06:34:17.692Z","avatar_url":"https://github.com/benhowell.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# s3-crewser\nAWS s3 upload, list and delete recipe for clojure web apps.\n\nSmall server-side wrapper for amazonica and s3-beam for uploading, listing and deleting files from your clojure(script) web app. The main reason to use both s3-beam and amazonica in the same implementation is to leverage s3-beam to perform direct from browser uploading of files to s3 (therefore saving any server-side handling of those files) and to leverage amazonica for everything else (and again, not have to do any server-side handling of the actual files).\n\nNote: This is a bare bones recipe and the [amazonica](https://github.com/mcohen01/amazonica) library has much more functionality than what's demonstrated here.\n\nRequires:\n - https://github.com/martinklepsch/s3-beam\n - https://github.com/mcohen01/amazonica\n\n\n## Server-side config\nWherever you define your routes, add a path for \"/sign\" like so:\n\n```clj\n(defroutes\n\n  ;; aws s3-beam\n   (GET \"/sign\" {params :params} (aws-s3/s3-sign))\n  ;; end aws s3-beam\n\n)\n```\n\n## Server-side usage\nList objects like so:\n```clj\n(ns server.some.namespace\n  (:require\n   [server.controllers.aws.s3 :as aws-s3]))\n   \n(aws-s3/list-objects)\n```\n\nDelete an object like so:\n```clj\n(ns server.some.namespace\n  (:require\n   [server.controllers.aws.s3 :as aws-s3]))\n   \n(aws-s3/delete-object-by-url! url)\n;; OR\n(aws-s3/delete-object-by-key! key)\n```\n\n## Client-side usage\nUpload an object like so (where `uploaded` is a core.async channel):\n```cljs\n(ns client.some.namespace\n  (:require \n    [s3-beam.client :as s3]))\n    \n(s3/s3-pipe uploaded)\n    \n```\n\nFor more info on how to use channels with s3-beam, see the s3-beam documentation: https://github.com/martinklepsch/s3-beam#3-integrate-the-upload-pipeline-into-your-frontend\n\n\n\n### Obscure name\ns3-crewser is a silly name made from s3 CReate dElete for broWSER\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhowell%2Fs3-crewser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenhowell%2Fs3-crewser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhowell%2Fs3-crewser/lists"}