diff --git a/README.md b/README.md index fc139a9..2b4d818 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,13 @@ This is a self-contained notepad webserver that makes sharing easy and _fast_. T
-**CLI support**. Want to upload/download from a server? Its super easy. Upload/download files like this: +**Coding**. There is CodeMirror support for many languages. Just use an extension for your document and then you'll be able to edit/view your code in a simple and easy way. + +![Security and encryption baked in.](NEED GIF) + +
+ +**CLI tools**. Want to upload/download from the command line? Its super easy. Upload/download files like this: ```bash $ echo "Hello, world!" > hi.txt $ curl -L --upload-file hi.txt cowyo.com @@ -52,13 +58,20 @@ $ curl -L --upload-file hi.txt cowyo.com $ curl -L cowyo.com/test.txt Hello, world! ``` -or just skip the file-creation step, +or just skip the file-creation step and let cowyo figure out a name for you: ```bash $ echo "Wow, so easy" | curl -L --upload-file "-" cowyo.com File uploaded to http://cowyo.com/CautiousCommonLoon $ curl -L cowyo.com/CautiousCommonLoon Wow, so easy ``` +
+ +**Content Delivery**. Want to write some CSS/JS that you want to load somewhere? No problem. Just use the extension `/raw` with optional versioning (e.g. `/raw?version=1`). So you if you make a javascript file, `cowyo.com/myscript.js`, then you can include your script using: +```html + + +```
@@ -148,6 +161,8 @@ If you set the admin flag, `-a` you can access a list of all the current files b If you'd like help, go ahead and clone and send a pull request. If you find a bug, please submit [an issue](https://github.com/schollz/cowyo/issues). Any other comments, questions or anything at all, just tweet me @zack_118 # Contributors -Thanks to [tscholl2](https://github.com/tscholl2). +Thanks to [tscholl2](https://github.com/tscholl2) and [sjsafranek](https://github.com/sjsafranek). Icons made by [Freepik](http://www.freepik.com) from [www.flaticon.com](http://www.flaticon.com) is licensed by CC 3.0 BY + +File uploading from [transfer.sh](https://github.com/dutchcoders/transfer.sh/blob/98399c91dd86682077cf9542badbf1658fd9a8c1/transfersh-server/handlers.go#L293-L369) (licensed by MIT). diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000..da8d812 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,9 @@ +# Release 1.0 + +New features: + + - New route /raw to use as a content delivery system + - Coding support provided through [CodeMirror](https://codemirror.net/) + - CLI support for uploading/downloading files with `curl` + - New route to force WSS sockets (for use with Caddy) + - Changed name, improved documentation