{"id":17549383,"url":"https://github.com/nitwhiz/stagecoach","last_synced_at":"2025-06-28T15:37:09.263Z","repository":{"id":229750041,"uuid":"625631089","full_name":"nitwhiz/stagecoach","owner":"nitwhiz","description":"A HTTP File Upload Service","archived":false,"fork":false,"pushed_at":"2023-04-09T19:27:09.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T06:43:33.970Z","etag":null,"topics":["file-upload","http"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nitwhiz.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}},"created_at":"2023-04-09T17:53:06.000Z","updated_at":"2023-04-09T19:28:07.000Z","dependencies_parsed_at":"2024-06-21T06:38:53.733Z","dependency_job_id":null,"html_url":"https://github.com/nitwhiz/stagecoach","commit_stats":null,"previous_names":["nitwhiz/stagecoach"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nitwhiz/stagecoach","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitwhiz%2Fstagecoach","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitwhiz%2Fstagecoach/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitwhiz%2Fstagecoach/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitwhiz%2Fstagecoach/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitwhiz","download_url":"https://codeload.github.com/nitwhiz/stagecoach/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitwhiz%2Fstagecoach/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262454768,"owners_count":23313915,"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-upload","http"],"created_at":"2024-10-21T02:51:20.864Z","updated_at":"2025-06-28T15:37:09.225Z","avatar_url":"https://github.com/nitwhiz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stagecoach\n\nA server to upload files to a specific directory via HTTP.\n\n## Example Config\n\nThe config file should reside in `/etc/stagecoach/stagecoach.yml` or in the current working directory.\n\n`authorizationToken` is a sha512 hash used to authorize requests, it's like a password. (Example is \"MyTopSecretToken\")\n\n```yaml\ndestinationDirectory: /tmp/test\nauthorizationToken: fdd07c6da3405b29aa912e39662fd2cb6e19fde35ec9a81c708fcfb265aff7a15ad0c5cbd87370bf096035bc43a58351c437e6ef599077bcbfbbf0aabcbfd770\n```\n\n## Running via docker\n\nStart the container with\n\n```shell\ndocker run --rm \\\n  -v $(pwd)/stagecoach.yml:/etc/stagecoach/stagecoach.yml \\\n  -p 4444:4444 \\\n  ghcr.io/nitwhiz/stagecoach:latest\n```\n\n## Uploading files\n\nAfter starting the server, you can upload files via `POST http://localhost:4444/upload`:\n\n```shell\ncurl --request POST \\\n  --url http://localhost:4444/upload \\\n  --header 'Authorization: Token MyTopSecretToken' \\\n  --header 'content-type: multipart/form-data' \\\n  --form file=@file \\\n  --form 'name=my_test_file.txt'\n```\n\nExisting files are not overwritten.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitwhiz%2Fstagecoach","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitwhiz%2Fstagecoach","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitwhiz%2Fstagecoach/lists"}