Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

jessor/toopaste

 
 

Repository files navigation

Geekpaste

Pastebin forked from zapnap to play with Sinatra. Live Demo: paste.geekosphere.org

Features:

  • Optionally limited snippet retention

  • Randomly generated ids (36^4 possibilities)

  • Option to post private (unlisted) snippets

  • Announcing of new snippets to an IRC bot (4poc)

  • Include ultraviolet styles, switchable (4poc)

  • Change password in config, then delete snippets from the cli with

      curl -u <user>:<password> -X DELETE http://<domain>.<tld>/<snippetid>
    

Install:

  • git clone
  • cd toopaste
  • git submodule update --init
  • cd vendor/bootstrap-sass
  • git checkout 2.0
  • examine and trust .rvmrc (if you're not using rvm: get it)
  • gem install bundler
  • bundle install
  • cp toopaste.config.sample.rb toopaste.config.rb and edit it to your liking
  • run with ruby toopaste.rb

Heroku Deployment:

  • add dm-postgres-adapter to Gemfile and toopaste.rb
  • don't forget to add the config to the repository

TODO:

  • tags
  • line wrapping?
  • spam protection

About

simple and clean open source pastebin built on the sinatra microframework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 99.0%
  • JavaScript 1.0%