App::mojopaste - Pastebin application
0.10
Mojopaste is a pastebin application. There's about one million of these out there. But if you have the need to run something internally at work or you just fancy having your own pastebin, this is your application.
You can try mojopaste here: http://p.thorsen.pm.
Install system wide with cpanm:
$ cpanm --sudo App::mojopaste
Don't have cpanm installed?
$ curl -L http://cpanmin.us | perl - --sudo App::mojopaste $ wget http://cpanmin.us -O - | perl - --sudo App::mojopaste
Simple single process daemon
$ mojopaste daemon --listen http://*:8080
Save paste to custom dir
$ PASTE_DIR=/path/to/paste/dir mojopaste daemon --listen http://*:8080
Using the UNIX optimized, preforking hypnotoad web server
$ MOJO_CONFIG=/path/to/mojopaste.conf hypnotoad $(which mojopaste)
Example mojopaste.conf:
{ paste_dir => '/path/to/paste/dir', allow_robots => 1, # default is 0 hypnotoad => { listen => ['http://*:8080'], }, }
"allow_robots" will disable javascript requirements and allow simple scripts (robots) to use the pastebin without much knowledge.
Check out Mojo::Server::Hypnotoad for more hypnotoad options.
http://paste.scsys.co.uk
http://paste.ubuntu.com
http://pastebin.com
Jan Henning Thorsen - jhthorsen@cpan.org
jhthorsen@cpan.org
To install App::mojopaste, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::mojopaste
CPAN shell
perl -MCPAN -e shell install App::mojopaste
For more information on module installation, please visit the detailed CPAN module installation guide.