{"id":17244629,"url":"https://github.com/kost/httpupload","last_synced_at":"2025-03-26T04:42:37.309Z","repository":{"id":206862012,"uuid":"717856207","full_name":"kost/httpupload","owner":"kost","description":"Simple HTTP server for quick uploads in different languages","archived":false,"fork":false,"pushed_at":"2023-11-12T20:32:19.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T06:39:40.163Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/kost.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,"governance":null}},"created_at":"2023-11-12T20:06:54.000Z","updated_at":"2024-09-08T21:18:13.000Z","dependencies_parsed_at":"2023-11-12T21:27:08.298Z","dependency_job_id":"f8076877-b4ec-4fb6-ab0d-26c0fd58d781","html_url":"https://github.com/kost/httpupload","commit_stats":null,"previous_names":["kost/httpupload"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fhttpupload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fhttpupload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fhttpupload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fhttpupload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kost","download_url":"https://codeload.github.com/kost/httpupload/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245591617,"owners_count":20640692,"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-15T06:26:24.970Z","updated_at":"2025-03-26T04:42:37.292Z","avatar_url":"https://github.com/kost.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# httpupload\nSimple HTTP server for quick uploads in different programming languages\n\nNote: you should run it in trusted environments. No authentication and sanitization of inputs on purpose.\n\n# Quick Usage\n\nStart web server:\n```\npython3 httpupload.py\nphp -S 0.0.0.0:8000 -f -t httpupload.php\ngo run httpupload.go\n```\n\nOf course, you can just place php file somewhere on PHP server as well.\n\nYou can use following commands to upload file (or just use browser):\n```\ncurl -F 'file=@file.txt' http://localhost:8000/\ncurl -X PUT --upload-file file.txt http://localhost:8000\nwget -O- --method=PUT --body-file=file.txt http://localhost:8000/file.txt\n```\n\nFor obvious reasons, you have to use following for PHP server:\n```\ncurl -F 'file[]=@file.txt' http://localhost:8000/\n```\n\n# Reference\n\n## Python\n\n```\noptional arguments:\n  -h, --help            show this help message and exit\n  --port PORT, -p PORT  Listening port for HTTP Server\n  --directory DIRECTORY, -d DIRECTORY\n                        Specify alternative directory [default:current directory]\n```\n\n## Go\n\n```\n -cert string\n    \tSpecify [cert].crt and [cert].key to use for TLS\n  -dir string\n    \tSpecify the upload directory (default \".\")\n  -limit int\n    \tSpecify maximum (in MB) for parsing multiform post data (default -1)\n  -listen string\n    \tListen on address:port (default \"0.0.0.0:8000\")\n  -overwrite\n    \tAllow overwriting existing files\n  -q\tBe quiet\n  -tls\n    \tListen on TLS\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkost%2Fhttpupload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkost%2Fhttpupload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkost%2Fhttpupload/lists"}