WardPearce / paaster

Paaster is a secure and user-friendly pastebin application that prioritizes privacy and simplicity. With end-to-end encryption and paste history, Paaster ensures that your pasted code remains confidential and accessible.
https://paaster.io
GNU Affero General Public License v3.0
440 stars 16 forks source link

now that I've inadvertantly had you kinda gloss over a cli interface is there a way you would curl text to this? #228

Closed Leopere closed 1 year ago

Leopere commented 1 year ago

I'd really love some kind of example on how to send text logs or otherwise to this thing and have it spit out a url that I can send to people.

Leopere commented 1 year ago

I ask about curl because often that has a platform compatible binary and I don't want you to have to cross compile your cli tool for every god damn thing on the planet.

WardPearce commented 1 year ago

Hey. I tend to only do 1 issue per issue. I terms of uploading a paste via curl, this isn't possible due to the E2EE nature of Paaster without some sort of Python/Bash script.

It would be possible to modify Paaster cli to allow piping of files etc, but a feature request for such should be opened here https://github.com/WardPearce/paaster-cli

Leopere commented 1 year ago

Yeah that was my fault I was excited about this thing.

WardPearce commented 1 year ago

Yeah that was my fault I was excited about this thing.

haha fair enough, in terms of compiling. Paaster can be simply installed with pip onto anything running python 3.5+ (what is most modern linux installations.)

Leopere commented 1 year ago

I actually actively have to interact with things like freebsd and osx and other crap also arm and this is regularly not intermittently so it would be ideal to have little impact on the target hosts if at all possible to conceive of. Even if it kind of becomes an insecure paste mode.

Leopere commented 1 year ago

I'm not entirely opposed to docker hub so much as it looks like it might be moving away from its operation mode of lets provide free cookies to get people to use our tech to okay now we have users and industry relevance we can let other people take the torch on some of these things.

This said theres also codeberg and github for the time being has appeared as though it's not intending to become hostile towards foss coders of varying flavors but when it comes to freedom of speech and data liberty software an alternative option for hosting than silo'd mega corps with opinions and regulations.

WardPearce commented 1 year ago

I actually actively have to interact with things like freebsd and osx and other crap also arm and this is regularly not intermittently so it would be ideal to have little impact on the target hosts if at all possible to conceive of. Even if it kind of becomes an insecure paste mode.

Aaah yea fair, well luckily their should be of plenty of self-hosted pastebins what support curl without any encryption (maybe https://github.com/szabodanika/microbin?).

I've opened a issue on the CLI repo regarding adding piping / file support tho https://github.com/WardPearce/paaster-cli/issues/20

Paaster is strictly encrypted only (no opt-in or out, as it says in our README.)

Leopere commented 1 year ago

thats perfect to have it be encrypted only just wish there was like a go binary rather than a pip package. Those are easier to compile and install. I'll get this installed for my own needs sooner or later and hope eternally that others see the potential and create a go one.

WardPearce commented 1 year ago

thats perfect to have it be encrypted only just wish there was like a go binary rather than a pip package. Those are easier to compile and install. I'll get this installed for my own needs sooner or later and hope eternally that others see the potential and create a go one.

Yea luckily our API is documented so building custom clients shouldn't be an issue.

Leopere commented 1 year ago

thank you