KISS pastebin server in Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README.md
requirements.txt

README.md

paste

A (very) basic pastebin application written in Python.

Features:

  • File/form upload
  • Syntax highlighted and raw views
  • Support for images
  • Link to and highlight specific lines
  • Intentionally designed for Docker

Planned:

  • Multithread
  • Render markdown
  • URL shortening

How to run

  • Build with docker (or use the official one)
  • Run with docker
  • Paste away

Plugins

  • Sublime Text 3
  • ScreenCloud
  • Bash:
    paste(){
      link=$(curl -sF "c=@${1:--}" http://example.com)
      notify-send "$link"
      xclip -selection clipboard <<< "$link"
    }