Skip to content

shabane/CurlPaste

Repository files navigation

Curl Paste

this project is a no-bullshit FileBin server. you can curl your file to it with just one command. this file support POST file under a specific username which this let you access and get all the file under that username with just one command.

i deployed this site on octocat

How to use

  • HTTP POST files with random URL

    curl -L -F file=@yourfile.png octocat.ir

  • If you want your file to view just once

    curl -L -F once=@yourfile.png octocat.ir

  • You can also send file by an username which the user can get all files at once

    curl -L -F username=@yourfile.png octocat.ir

  • To password protect your files append the password in http query

    curl -L -F username=@yourfile.zip octocat.ir/?password=yourPassword

    • To list all the files under a specific username

      curl octocat.ir/username

    • Or using wget

      wget octocat/username -qO -

    • To download them just pipe them to wget

      curl -L octocat.ir/username | wget -i -

    • Or

      wget octocat.ir/username -qO - | wget -i -

    • To get password protected files wget octocat.ir/username/?password=yourPassword -qO - | wget -i -

Deployment

to deploy simple just run the docker image

sudo docker run -p 80:80 mshabane/curlpaste:1.1.4

Note that the server will listen from all sources(0.0.0.0)

About

no-bullshit FileBin server wrote by python django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published