view README.md @ 406:c302c80dfa0c

Fix url.
author nanaya <me@myconan.net>
date Sun, 06 Sep 2015 04:41:03 +0900
parents 95bb6750003e
children 731bf8577da6
line wrap: on
line source

[![Build Status](https://drone.io/bitbucket.org/nanaya1/zeropaste/status.png)](https://drone.io/bitbucket.org/nanaya1/zeropaste/latest)

Zeropaste
=========

A pastebin with some features: create and destroy (with key) pastes.
The one running on [0paste.tk](https://0paste.tk).

Requirements:

* Ruby 1.9 or up (JRuby and Rubinius should also work)
* PostgreSQL
  (nothing PostgreSQL specific - can be easily changed if you know what you're doing.
  May or may not work with MySQL)
* Ruby Bundler

Optional:

* Newrelic account

Installation
------------

Left as an exercise.

Misc
----

Pasting from CLI:

    ...some commands... | curl 'https://0paste.tk/pastes.txt' -F 'paste[paste]=<-'

Or with gzip to save bandwidth:

    ...some commands... | gzip | curl 'https://0paste.tk/pastes.txt' -F 'paste[paste_gzip]=<-'

Privately:

    ...some commands... | gzip | curl 'https://0paste.tk/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-'

Design
------

Current design is a bit crap. Suggestions and actual designs are welcome.