Skip to content

A flimsy HTTP server to push and pull files from PWD instances

Notifications You must be signed in to change notification settings

kklingenberg/pwd-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PWD interface

This is a simple and insecure HTTP server that can serve a folder of files and receive new files. It's an attempt to ease the use of play-with-docker instances when pushing and pulling files into/from them.

Usage

In the PWD instance:

docker run --rm --name pwdi -d -p 80:80 -v $(pwd):/srv plotter/pwd-interface
docker logs pwdi

Take note of the token shown in the logs, and then expose port 80 via the web interface and copy the new tab's URL. These two values (the token and URL) must be given to the client.

In your local machine (grab the client from the releases page):

pwdi-client

Then use token <token> to configure the token and server <url> to configure the URL you got from the PWD instance. Finally, use pull and push to fetch files from, and send files to the PWD instance.

You may also add a .pwdiignore file at the root of your local folder to exclude some files from the transfer (syntax reference).

About

A flimsy HTTP server to push and pull files from PWD instances

Topics

Resources

Stars

Watchers

Forks