{"id":17002472,"url":"https://github.com/deadc0de6/uad","last_synced_at":"2025-04-12T06:33:17.133Z","repository":{"id":54372271,"uuid":"272209930","full_name":"deadc0de6/uad","owner":"deadc0de6","description":"uad (Upload And Download) is a very tiny web server to upload and download files","archived":false,"fork":false,"pushed_at":"2022-08-08T20:21:51.000Z","size":136,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T01:51:10.240Z","etag":null,"topics":["download","server","upload","web"],"latest_commit_sha":null,"homepage":"","language":"Go","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/deadc0de6.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":"2020-06-14T13:41:16.000Z","updated_at":"2024-03-06T03:43:54.000Z","dependencies_parsed_at":"2022-08-13T13:40:48.935Z","dependency_job_id":null,"html_url":"https://github.com/deadc0de6/uad","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadc0de6%2Fuad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadc0de6%2Fuad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadc0de6%2Fuad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadc0de6%2Fuad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadc0de6","download_url":"https://codeload.github.com/deadc0de6/uad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248529345,"owners_count":21119493,"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":["download","server","upload","web"],"created_at":"2024-10-14T04:28:08.670Z","updated_at":"2025-04-12T06:33:17.098Z","avatar_url":"https://github.com/deadc0de6.png","language":"Go","funding_links":["https://ko-fi.com/deadc0de6"],"categories":[],"sub_categories":[],"readme":"[![Tests Status](https://github.com/deadc0de6/uad/workflows/tests/badge.svg)](https://github.com/deadc0de6/uad/actions)\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)\n\n[![Donate](https://img.shields.io/badge/donate-KoFi-blue.svg)](https://ko-fi.com/deadc0de6)\n\n# uad\n\n[uad](https://github.com/deadc0de6/uad) (**u**pload **a**nd **d**ownload)\nis a very tiny web server allowing to upload and download files.\n\n![](/screenshots/uad.png?raw=true \"uad\")\n\n# Usage\n\n```bash\nVery tiny web server allowing to upload and download files.\n\nUsage:\n  uad [flags] \u003cpath\u003e...\n\nFlags:\n  -d, --debug               Debug mode\n  -P, --from-parent         Paths get their names from parent dir\n  -h, --help                help for uad\n  -A, --host string         Host to listen to\n  -m, --max-upload string   Max upload size (default \"1G\")\n  -D, --no-downloads        Disable downloads\n  -U, --no-uploads          Disable uploads\n  -p, --port int            Port to listen to (default 6969)\n  -s, --serve-subs          Serve all directories found in \u003cpath\u003e\n  -H, --show-hidden         Show hidden files\n  -v, --version             version for uad\n```\n\nEvery cli switch can be set using environment variable with `UAD_` prefix.\nFor example setting `--show-hidden` would need `export UAD_SHOW_HIDDEN=true`.\n\n# Install\n\nQuick start:\n```bash\n## You need at least golang 1.16\n$ go install -v github.com/deadc0de6/uad@latest\n$ uad\n```\n\nOr pick a release from\n[the release page](https://github.com/deadc0de6/uad/releases) and\ninstall it in your `$PATH`\n\nOr use the docker image availabe on\n[dockerhub](https://hub.docker.com/r/deadc0de6/uad)\n```bash\n$ docker run -d --name uad -p 6969:6969 -v /tmp/uad-files:/files deadc0de6/uad\n```\n\nOr [compile it from source](#compile-from-source)\n\n## Compile from source\n\n```bash\n$ go mod tidy\n$ make\n$ ./uad --help\n```\n\n# Reverse proxy\n\nnginx for a sub domain\n```\nlocation / {\n  client_max_body_size 1G;\n  proxy_pass       http://127.0.0.1:6969/;\n}\n```\n\nnginx for a subpath at `/uad/` for example\n```\nlocation /uad/ {\n  client_max_body_size 1G;\n  proxy_pass       http://127.0.0.1:6969/;\n}\n```\n\nIf you specified a different `--max-upload` than the default (`1G`),\nyou need to adapt the `client_max_body_size`.\n\n# Contribution\n\nIf you are having trouble using *uad*, open an issue.\n\nIf you want to contribute, feel free to do a PR.\n\n# License\n\nThis project is licensed under the terms of the GPLv3 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadc0de6%2Fuad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadc0de6%2Fuad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadc0de6%2Fuad/lists"}