Code Monkey home page Code Monkey logo

curlpaste's Introduction

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 [email protected] octocat.ir

  • If you want your file to view just once

    curl -L -F [email protected] octocat.ir

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

    curl -L -F [email protected] octocat.ir

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

    curl -L -F [email protected] 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)

curlpaste's People

Contributors

shabane avatar

Stargazers

 avatar Melanee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.