{"id":21951600,"url":"https://github.com/toxe/simple-file-upload-server","last_synced_at":"2026-04-24T22:35:28.954Z","repository":{"id":134565013,"uuid":"293860649","full_name":"Toxe/simple-file-upload-server","owner":"Toxe","description":"A (very) simple HTTP file upload server","archived":false,"fork":false,"pushed_at":"2020-09-08T16:58:13.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T17:47:08.617Z","etag":null,"topics":["file","http","poetry","python","python3","server","upload"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Toxe.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-09-08T16:03:38.000Z","updated_at":"2020-09-08T16:58:15.000Z","dependencies_parsed_at":"2023-06-18T22:48:56.916Z","dependency_job_id":null,"html_url":"https://github.com/Toxe/simple-file-upload-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Toxe/simple-file-upload-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fsimple-file-upload-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fsimple-file-upload-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fsimple-file-upload-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fsimple-file-upload-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Toxe","download_url":"https://codeload.github.com/Toxe/simple-file-upload-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toxe%2Fsimple-file-upload-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260520777,"owners_count":23021687,"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":["file","http","poetry","python","python3","server","upload"],"created_at":"2024-11-29T06:15:11.134Z","updated_at":"2026-04-24T22:35:28.949Z","avatar_url":"https://github.com/Toxe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A (very) simple HTTP file upload server\n\nNote: Not meant for production!\n\n## Dependencies\n\n- Python 3\n- [Poetry](https://python-poetry.org)\n\n## Setup Virtual Environment and install Dependencies\n\n```\n$ poetry install\n$ poetry shell\n```\n\n## Configuration\n\n### Flask\n\n#### `.flaskenv` for development and debugging\n\n```ini\nFLASK_APP=main\nFLASK_ENV=development\n```\n\n## Run server\n\n```\n$ flask run\n```\n\nThis will create a folder named `upload` in the current directory (or use an already existing one) to save the uploaded files. Change the upload directory either in `.flaskenv` or pass it as an environment variable.\n\n```\n$ mkdir /tmp/upload\n$ UPLOAD_FOLDER=/tmp/upload flask run\n```\n\n## Upload file\n\n```\n$ curl -i -F \"file=@README.md\" http://localhost:5000/upload\n```\n\n```http\nHTTP/1.0 201 CREATED\nContent-Type: text/html; charset=utf-8\nLocation: http://localhost:5000/download/README.md\nContent-Length: 0\nServer: Werkzeug/1.0.1 Python/3.8.5\nDate: Tue, 08 Sep 2020 16:09:09 GMT\n```\n\n## Download file\n\n```\n$ curl -O http://localhost:5000/download/README.md\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoxe%2Fsimple-file-upload-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoxe%2Fsimple-file-upload-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoxe%2Fsimple-file-upload-server/lists"}