{"id":15140957,"url":"https://github.com/dgv/mup","last_synced_at":"2025-10-27T18:31:58.949Z","repository":{"id":256803250,"uuid":"850110565","full_name":"dgv/mup","owner":"dgv","description":"A micro file uploader written in Zig to easily share files over LAN ","archived":false,"fork":false,"pushed_at":"2024-11-15T01:58:41.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T12:44:37.188Z","etag":null,"topics":["download","upload","upload-file","uploader","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/dgv.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}},"created_at":"2024-08-30T22:47:51.000Z","updated_at":"2024-11-15T01:58:45.000Z","dependencies_parsed_at":"2024-09-13T05:56:51.565Z","dependency_job_id":null,"html_url":"https://github.com/dgv/mup","commit_stats":null,"previous_names":["dgv/mup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgv%2Fmup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgv%2Fmup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgv%2Fmup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgv%2Fmup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgv","download_url":"https://codeload.github.com/dgv/mup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238545172,"owners_count":19490034,"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","upload","upload-file","uploader","zig","ziglang"],"created_at":"2024-09-26T08:42:42.371Z","updated_at":"2025-10-27T18:31:58.542Z","avatar_url":"https://github.com/dgv.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# μploader - Micro Uploader\n[![reference Zig](https://img.shields.io/badge/0.13.0-orange?style=flat\u0026logo=zig\u0026label=Zig\u0026color=%23eba742)](https://github.com/dgv/mup/blob/main/build.zig.zon)\n[![reference Zig](https://img.shields.io/badge/deps%20-2-orange?color=%23eba742)](https://github.com/dgv/mup/blob/main/build.zig.zon)\n[![build](https://github.com/dgv/mup/actions/workflows/build.yml/badge.svg)](https://github.com/dgv/mup/actions/workflows/build.yml)\n[![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n![mup](https://github.com/dgv/mup/blob/main/mup.png)\n\nRewritten of [mup](https://github.com/aziis98), a simple file uploader that can be used to easily move and share files across the local network between devices with a web browser.\n\nIt only uses [httpz](https://github.com/karlseguin/http.zig) and [zig-clap](https://github.com/Hejsil/zig-clap) as dependencies and provide a statically linked binary.\n\n### Motivation\n[@aziis98](https://github.com/aziis98):\n_Sometimes I want to move files between my pc and a device I do not own that has an old browser version (that generally means expired https certificates, oh and without any cables). When I try to search for a tool like this I always find random outdated projects that aren't easy to setup. So I made this tool that can be easily installed on all linux systems._\n\n[@dgv](https://github.com/dgv):\n_size comparison_\n```bash\n# go binary striping symbol and debug info..tinygo?\n$ go build -ldflags \"-s -w\"; du mup\n16704\tmup\n...\n# zig binary -65x\n$ zig build --release=small; du zig-out/bin/mup\n256\tzig-out/bin/mup\n```\n\n\n### Git\n\n```bash\n$ git clone https://github.com/dgv/mup\n$ cd mup\n\n# Run the server\n$ zig build run\n\n# Build the binary\n$ zig build\n```\n\n### Dockerfile\n\nI provide this just to easily deploy on a local server. I **do not recomend to expose this publicly** on the web as there is no auth or password and there is no upload limit to the number of files and all files in the `Uploads/` folder are public by default for now.\n\n```bash shell\n$ docker build -t mup .\n$ docker run -p 5000:5000 -v $PWD/uploads:/uploads mup\n```\n\n\n## Usage\n\n```bash\n$ mup --help\n    -h, --help\n            Display this help and exit.\n\n    -s, --size \u003cusize\u003e\n            Maximum upload size in MB.\n\n    -p, --port \u003cu16\u003e\n            Port to run the server on.\n\n    -a, --addr \u003cstr\u003e\n            Address to run the server on.\n\n    -d, --dir \u003cstr\u003e\n            Upload directory to serve files.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgv%2Fmup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgv%2Fmup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgv%2Fmup/lists"}