++ed by:
KEEDI PLICEASE ADAMJS CKRAS RICHE

5 PAUSE user(s)
3 non-PAUSE user(s).

Jan Henning Thorsen

NAME

App::mojopaste - Pastebin application

VERSION

0.05

DESCRIPTION

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.

DEMO

You can try mojopaste here: http://p.thorsen.pm.

INSTALLATION

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

SYNOPSIS

  • 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.

OTHER PASTEBINS

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org