minipaste-server

command
v0.0.0-...-ffb3ef9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2021 License: AGPL-3.0 Imports: 17 Imported by: 0

README

minipaste

HTTP POST or PUT files with

$ curl -F'file=@foo.txt' https://example.com
$ curl https://example.com --upload-file foo.txt

HTTP DELETE files with

$ curl -XDELETE https://example.com/paste

Or use the client

$ nix run github:jktr/minipaste -- --server https://example.com foo.txt
$ cat foo.txt | nix run github:jktr/minipaste -- --server https://example.com
$ nix run github:jktr/minipaste -- --server https://example.com --delete

File URLs are valid for at most 5 minutes by default. The maximum file size is 16MB by default.

Please don't upload anything illegal.

Inspiderd by The Null Pointer.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL