GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - uriel1998/pbin: CLI tool for Stikked based pastebin services

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
pbin.sh
pbin.sh
 
 

Repository files navigation

pbin

CLI tool for Stikked based pastebin services, like http://paste.mate-desktop.org/.

Inspired by mpaste from mate-desktop, but without the Python dependency and with some added features (such as file type detection).

Installing

Clone or download this repository. Change into that directory. Copy pbin.sh from this repository to somewhere in your $PATH, such as ~/.local/bin/pbin.

You may alter the script to include your endpoint and API key, or you may put them in your .profile or .bashrc like so:

export PASTE_URL='https://URL OF YOUR INSTANCE/paste/api/create'
export PASTE_APIKEY='YOUR API KEY'

Usage

Usage: pbin [options] < [input_file]

Options:
  -v, --verbose   Verbose mode; does not use xsel or xclip
  -a, --apikey    API key for the server
  -t, --title     title of this paste
  -n, --name      author of this paste
  -p, --private   should this paste be private
  -l, --language  language this paste is in
  -e, --expire    paste expiration in minutes
  -r, --reply     reply to existing paste

If xclip or xsel is in your $PATH, pbin will automatically use xclip to put the result on the primary clipboard and xsel to put the result on the "clipboard" clipboard if it is not in "verbose" mode. pbin will always output the URL to STDOUT.

Copyright

License: GPL v2

(c) 2014-2018 Elan Ruusamäe [email protected]

About

CLI tool for Stikked based pastebin services

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.