mojopaste logo

mojopaste

  •  0 ratings
In category: Pastebins

About mojopaste

Perl based pastebin.

  •   442  
  •   0  
  •   0  
  •   0  
Github stats:
  •  Commits: 128  
  •   39  
  •   20  
  •  Latest commit: N/A  

Deploy this app to Linode with a free $100 credit!

Languages/Platforms/Technologies:
Lincenses:

More about mojopaste

Mojopaste - Pastebin application

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.

Text and code

The standard version of App::mojopaste can take normal text as input, store it as a text file on the server and render the content as either plain text or prettified using Google prettify. (Note: Maybe another prettifier will be used in future versions)

Charts

In addition to just supporting text, this application can also make charts from the input data. To turn this feature on, you need to specify "enable_charts" in the config or set the PASTE_ENABLE_CHARTS environment variable:

$ PASTE_ENABLE_CHARTS=1 script/mojopaste daemon;

The input chart data must be valid CSV:

CSV data is similar to "Just data" above, except the first line is used as "xkey,ykey1,ykey2,...". Example:

# Can have comments in CSV input as well
x,a,b
2015-02-04 15:03,120,90
2015-03-14,75,65
2015-04,100,40

CSV input data require Text::CSV to be installed.

Embedding

A paste can be embedded in other pages using the query param "embed". Examples:

Demo

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

Installation

Install system wide with cpanm:

$ cpanm --sudo App::mojopaste

Docker run

It is possible to install mojopaste using Docker:

$ mkdir /var/lib/mojopaste
$ docker run -d --restart always --name mojopaste \
  -v /var/lib/mojopaste:/app/data -p 3000:8080 jhthorsen/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',
      enable_charts => 1, # default is 0
      hypnotoad => {
        listen => ['http://*:8080'],
      },
    }
    

    "enable_charts" is for adding a button which can make a chart of the input data using morris.js

    Check out Mojo::Server::Hypnotoad for more hypnotoad options.

Comments (0)

Please login to join the discussion on this project.

mojopaste Reviews (0)

Overall Rating

None

based on 0 ratings

Please login to review this project.

No reviews for this project yet.

↑ back to top

pCloud Lifetime

Popular Projects

FluxBB

in Social Networks and Forums
 33k    0    0    0  

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Libreddit

in Social Networks and Forums
 7k    0    1    0  

Dashboard

in Personal Dashboards
 5k    0    0    0  

Audiobookshelf

in Audio Streaming
 5k    0    1    0  

CasaOS

in Self-hosting Solutions
 5k    0    0    0  

Mediagoblin

in Photo and Video Galleries
 4k    0    0    0  

Most Discussed

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Tube Archivist

in Automation
 3k    0    1    0  

OneDev

in Project Management
 2k    0    0    0  

iodine

in Proxy
 2k    0    0    0  

Alf.io

in Booking and Scheduling
 2k    0    0    0  

sysPass

in Password Managers
 1k    0    0    0  

Misskey

in Social Networks and Forums
 2k    0    0    0  
Linux VPS from $11/yr.
RackNerd VPS for $11.38/mo

Top Rated Projects

Gitea

 1 rating
in Project Management

Bagisto

 1 rating
in E-commerce

LinkAce

 1 rating
in Bookmarks and Link Sharing

Pydio

 1 rating
in File Transfer & Synchronization

Audiobookshelf

 1 rating
in Audio Streaming

Nextcloud

 1 rating
in File Transfer & Synchronization

Seafile

 1 rating
in File Transfer & Synchronization

Categories

You May Also Be Interested In

bepasty logo
bepasty cover

bepasty

A pastebin for all kinds of files.

bin logo
bin cover

bin

A paste bin that's actually minimalist. WTFPL/0BSD Ru

cryptonote logo
cryptonote cover

cryptonote

Simple open source web application that lets users encrypt …