memowe / echo-server

With this web app, users can create simple web pages using Markdown. These web pages are self-contained, fully encoded in their own URL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

echo

Tests

With the form provided by this web app, users can create simple web pages using Markdown. These web pages are self-contained, fully encoded in their own URL. Because of this, it is easy to send huge amounts of text by passing a simple link, possibly shortened by a URL shortener service. It is also possible to generate a QR code for the page's URL to pass around. Because URLs can be quite long and this app uses gzip for compression (which works extremely well for text), the amount of encoded content can be surprisingly big (see an example below).

A running echo instance can be found here: tinyurl.com/memowecho.

EXAMPLES

DID YOU KNOW ...?

The echo web app has a very short and well-documented source code and comes with a test suite. It is still shorter than this README file, even without the two extra-long URLs.

LICENSE

Copyright (c) 2012-2021 Mirko Westermeier, (@memowe, mirko@westermeier.de)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

With this web app, users can create simple web pages using Markdown. These web pages are self-contained, fully encoded in their own URL.

License:MIT License


Languages

Language:Perl 100.0%