simple-single-share

command module
v0.0.0-...-e5c0508 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

README

Overview

simple-single-share is a utility for sharing data exactly once, simply

Config

Example .simple-single-share.yml

uploads:
    api_key: 8OM3gRHVu1ogm1k4nE2IUKK4PhHa9gTv

Usage

simple-single-share server will listen on port 8080

The client isn't written yet so you will need to upload with curl

curl -XPOST --header "Content-Type: text/plain" --header "API-Key: 8OM3gRHVu1ogm1k4nE2IUKK4PhHa9gTv" --data "Hello World" http://localhost:8080/share

This will return a uuid, which can then be retrieved at http://localhost:8080/share/:uuid

One the data is retrieved it is deleted from the server's memory.

FAQ

Password protected shares?

No, that would make this complex-single-share instead of simple-single-share

Expire shares after x days?

No, that would make this complex-single-share instead of simple-single-share

Built in end to end encryption?

No, that would make this complex-single-share instead of simple-single-share

Retrieve the data more than once?

No, that would make this simple-many-share instead of simple-single-share

Can't someone just guess my uuid?

yeah sure

If too much data is uploaded won't this OOM?

probably

I want transport encryption

put a reverse proxy in front of it

Documentation

Overview

Copyright © 2023 Tanner Storment

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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