Reference server implementation in Go of tus: the open protocol for resumable file uploads
Go to file
Marius 1038298a79 core: Change GetReader to return io.ReadCloser (#739)
Squashed commit of the following:

commit e8b5b3751a86d86cae10e0bcf89caa481e5c3de6
Author: Marius <marius@transloadit.com>
Date:   Sun Jun 19 12:15:22 2022 +0200

    Fix generated mocks

commit 736e2e7bb6
Merge: 9d7096f 1e69d9b
Author: Stefan Scheidewig <stefan.scheidewig@staffbase.com>
Date:   Sat Jun 18 07:53:29 2022 +0200

    Merge branch 'v2' into readcloser_in_getreader

commit 9d7096fcb3
Author: Stefan Scheidewig <stefan.scheidewig@staffbase.com>
Date:   Tue May 24 14:16:01 2022 +0200

    Return ReadCloser in getReader
2022-06-19 12:18:02 +02:00
.github Merge branch 'master' of github.com:tus/tusd into v2 2022-06-17 13:21:59 +02:00
cmd/tusd cli: Add fgprof and authentication to pprof endpoint 2022-04-10 19:29:50 +02:00
docs Merge branch 'master' of github.com:tus/tusd into v2 2022-04-10 18:24:30 +02:00
examples v2: Rework hooks system (#516) 2022-03-02 00:36:49 +01:00
internal s3store: Parallelize part uploads and information retrieval (#478) 2021-05-18 10:29:18 +02:00
pkg core: Change GetReader to return io.ReadCloser (#739) 2022-06-19 12:18:02 +02:00
scripts ci: Generate a sha256sum file for each zip and tar file generated (#543) 2021-10-28 09:40:07 +02:00
.gitignore v2: Rework hooks system (#516) 2022-03-02 00:36:49 +01:00
Dockerfile build(deps): bump golang from 1.18.2-alpine to 1.18.3-alpine (#742) 2022-06-06 11:52:52 +02:00
LICENSE.txt Update year 2017-01-19 21:20:12 +01:00
Procfile Increase max size to 100GB (#551) 2021-11-03 11:13:26 +01:00
README.md docs: Update build status badges (#534) 2021-10-24 10:04:14 +02:00
go.mod Merge branch 'master' of github.com:tus/tusd into v2 2022-06-17 13:21:59 +02:00
go.sum Merge branch 'master' of github.com:tus/tusd into v2 2022-06-17 13:21:59 +02:00

README.md

tusd

Tus logo

tus is a protocol based on HTTP for resumable file uploads. Resumable means that an upload can be interrupted at any moment and can be resumed without re-uploading the previous data again. An interruption may happen willingly, if the user wants to pause, or by accident in case of an network issue or server outage.

tusd is the official reference implementation of the tus resumable upload protocol. The protocol specifies a flexible method to upload files to remote servers using HTTP. The special feature is the ability to pause and resume uploads at any moment allowing to continue seamlessly after e.g. network interruptions.

It is capable of accepting uploads with arbitrary sizes and storing them locally on disk, on Google Cloud Storage or on AWS S3 (or any other S3-compatible storage system). Due to its modularization and extensibility, support for nearly any other cloud provider could easily be added to tusd.

Protocol version: 1.0.0

This branch contains tusd v1. If you are looking for the previous major release, after which breaking changes have been introduced, please look at the 0.14.0 tag.

Documentation

Build status

release continuous-integration

License

This project is licensed under the MIT license, see LICENSE.txt.