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 Only write the content Mar 17, 2018
README.md More plugins! Mar 29, 2018
requirements.txt Add pip requirements Mar 6, 2018

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"
    }