{"id":34193078,"url":"https://github.com/jackhftang/tusc","last_synced_at":"2026-03-11T07:02:23.615Z","repository":{"id":57531490,"uuid":"198020127","full_name":"jackhftang/tusc","owner":"jackhftang","description":"Single small binary for both TUS server and client","archived":false,"fork":false,"pushed_at":"2023-02-25T08:48:44.000Z","size":45,"stargazers_count":28,"open_issues_count":4,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-18T16:54:48.861Z","etag":null,"topics":["tus","tus-protocol","tusc"],"latest_commit_sha":null,"homepage":"","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/jackhftang.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":"2019-07-21T06:18:49.000Z","updated_at":"2025-11-20T10:16:58.000Z","dependencies_parsed_at":"2024-06-20T04:21:49.319Z","dependency_job_id":"d87c8a06-db9c-4659-86c6-c51238d5ec9d","html_url":"https://github.com/jackhftang/tusc","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/jackhftang/tusc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackhftang%2Ftusc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackhftang%2Ftusc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackhftang%2Ftusc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackhftang%2Ftusc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackhftang","download_url":"https://codeload.github.com/jackhftang/tusc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackhftang%2Ftusc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30373509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["tus","tus-protocol","tusc"],"created_at":"2025-12-15T16:30:04.153Z","updated_at":"2026-03-11T07:02:23.610Z","avatar_url":"https://github.com/jackhftang.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tusc\n\n[![build status](https://travis-ci.com/jackhftang/tusc.svg?branch=master)](https://travis-ci.org/jackhftang/tusc)\n\nTUS **C**ommand line (tusc) is a small static binary for both server and client of [tus resumable upload protocol](https://tus.io). \n\nPersonally, I need tusc for uploading files in a CI process and a simple UI for downloading (like nginx autoindex). \nThe chunked and resumable feature make it possible to bypass some payload size limitation imposed by proxy (e.g. cloudflare).\nAlso, small size of binary make it convenient to be included in docker image. \n\n## Quick Start  \n\nVisit [releases page](https://github.com/jackhftang/tusc/releases) and download the tusc binary. \n\n```bash \n$ curl -LO https://github.com/jackhftang/tusc/releases/download/\u003cversion\u003e/tusc_linux_amd64 -o tusc\n$ chmod u+x tusc \n```\n\nStart server \n\n```bash\n$ tusc server -b 127.0.0.1 -p 8080\n```\n\nCreate and upload a file \n\n```bash \n$ echo test \u003e test.txt\n$ tusc client http://127.0.0.1:8080/files/ text.txt     # not resumable\n$ tusc client http://127.0.0.1:8080/files/ text.txt -r  # resumable\n```\n\nAnd then visit to [file listing page](http://127.0.0.1:8080)\n\n## Command\n\n### Server \n\nTUSC is a wrapper of [tusd](https://github.com/tus/tusd) with an additional listing page.\nFeatures like S3, GCS, Prometheus, Hooks are removed from tusd, in favor of smaller binary size. \n\n#### Options\n\n```\n$ tusc s --help\ntusc server\n\nUsage:\n  tusc (server|s) [options]\n  tusc (server|s) --help\n\nOptions:\n  -u --url URL                    Url of HTTP server [default: http://localhost:1080]\n  -b --bind ADDR                  Address to bind HTTP server to [default: 0.0.0.0]\n  -p --port PORT                  Port to bind HTTP server to [default: 1080]\n  -d --dir PATH                   Directory to store uploads in [default: ./data]\n  --listing-endpoint PATH         Http path for flies listing [default: /]\n  --files-endpoint PATH           Http path for files [default: /files/]\n  --unix-sock PATH                If set will listen to a UNIX socket at this location instead of a TCP socket\n  --max-size SIZE                 Maximum size of a single upload in bytes [default: 0]\n  --store-size BYTE               Size of space allowed for storage [default: 0]\n  --timeout TIMEOUT               Read timeout for connections in milliseconds.  A zero value means that reads will not timeout [default: 30*1000]\n  --behind-proxy                  Respect X-Forwarded-* and similar headers which may be set by proxies [default: false]\n```\n\n### Client\n\nTUSC is a command line implementation of this excellent library [go-tusd](https://github.com/eventials/go-tus).\n\n#### Options\n\n```\n$ tusc c --help\ntusc client\n\nUsage:\n  tusc (client|c) \u003curl\u003e \u003cfile\u003e [-H \u003cheader\u003e]... [options]\n  tusc (client|c) --help\n\nOptions:\n  -r --resumable            Save meta data for resumable uploads [default: false]\n  --store PATH              Path to save meta data for resume [default: ./.tusc]\n  --chunk-size BYTE         Size of chunks of file [default: 2097152]\n  --override-patch-method   Sending a POST request instead of PATCH [default: false]\n```\n\n \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackhftang%2Ftusc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackhftang%2Ftusc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackhftang%2Ftusc/lists"}