{"id":17791270,"url":"https://github.com/schell/pusher","last_synced_at":"2025-06-29T13:35:55.759Z","repository":{"id":24085791,"uuid":"27472786","full_name":"schell/pusher","owner":"schell","description":"A server for pushing things to s3.","archived":false,"fork":false,"pushed_at":"2015-07-30T00:43:59.000Z","size":768,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-07T16:45:15.843Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schell.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":"2014-12-03T06:23:02.000Z","updated_at":"2020-01-20T03:13:51.000Z","dependencies_parsed_at":"2022-08-22T09:50:13.179Z","dependency_job_id":null,"html_url":"https://github.com/schell/pusher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schell%2Fpusher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schell%2Fpusher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schell%2Fpusher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schell%2Fpusher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schell","download_url":"https://codeload.github.com/schell/pusher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741183,"owners_count":20826063,"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":[],"created_at":"2024-10-27T10:50:29.444Z","updated_at":"2025-04-02T01:47:31.973Z","avatar_url":"https://github.com/schell.png","language":"Haskell","readme":"Pusher\n======\nScotty proxy to S3.\n\nFor generating a self signed certificate to run this server on TLS,\n@see https://github.com/yesodweb/wai/tree/master/warp-tls\n\nconfiguration\n-------------\nYou can supply pusher with a config file at startup `pusher myconfig.cfg` with\nthe following variables:\n\n    port = 31000\n    users-file = \"/some/initial/users.txt\"\n    log-file = \"log.txt\"\n    tmp-dir = \"/var/tmp/blah\"\n    server-key = \"key.pem\"\n    server-crt = \"certificate.pem\"\n    static-dir = \"/some/place/to/put/static/files/likeanimage.png\"\n    sign-in-cookie-life = 3600 #in seconds\n\nfunctions/routes\n----------------\n\n### user stuff\n\n    GET /users - list users \n    GET /users.txt - spit out the users.txt \n    GET /user - show create a new user form\n    POST /user - create a new user \n     \n### uploading \n\n    GET /upload - show upload file form \n    POST /upload - upload a file \n    GET /upload-zip - show upload tarballed dir form\n    POST /upload-zip - upload a tarballed dir \n\n### copying existing s3 things\n\n    GET /copy - copy a single file to another location (supports across buckets)\n    GET /copy-folder - copy a directory and contents (supports across buckets) \n\n### catchall with static dir lookup or 404\n\n    GET {static-dir}/* \n\n### misc\n\n    GET / - say hello \n    GET /log - display the log file\n    GET /auth-check-lvl - check your authorization\n    GET /auth-check-bucket - check your auth on a given bucket \n    GET /list - list the contents of a bucket \n\nFuture\n------\n- [ ] cloudfront cache invalidation\n- [ ] schedule s3 copies\n- [x] upload tar.gz and expand at s3\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschell%2Fpusher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschell%2Fpusher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschell%2Fpusher/lists"}