You are not logged in.

#1 2015-06-03 13:10:49

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

pbpst - A paste utility (for pb instances) by Archers for Tacos

With the demise of ompldr (and some ever increasing unhappiness with various paste hosts and pomf.se), I (and several other Archers) have gotten fed up enough to write a small utility to handle pasting to ptpb (or, more accurately, any instance of the backend host pb). We call this creation of ours pbpst and it has enough functionality now that I am okay with showing it to the world. It supports MIME types on pastes (unless piped into stdin, of course), arbitrary file types, file sizes up to 64MiB (larger than pomf!), vanity pasting (pastes with a customized id string), private pastes (not truly private, just avoids publishing a short identifier), creating URL redirections (like goo.gl), using an arbitrary provider (so that once people start hosting their own pb instances this utility already supports pasting to them), deleting and updating pastes.

Features still in the works: supporting the returning of a URL pointing to a paste with pygments highlighting (with the option of highlighting a particular line), requesting arbitrary pygments themes, rendering a paste in rst or mdown to html. Also planned are progress bars for pastes so that the user actually gets feedback about pasting progress (something that few paste utilities seem to support) and the creation of a small, human-readable database (probably JSON) to track owned pastes with zsh completion to make paste deletion as simple as possible.

Here's hoping someone finds it useful!

All the best,

-HG

(A shoutout to the other Arch contributors: demize and escondida! buhman and jpetite are the main creators and maintainers of pb (also archers)).

Edit: a -git package is available in the AUR, or if you prefer, [kyriasis] (demize's repo) includes builds of the -git package every short while (if there are new updates). Once we get the other planned features added, we'll be pushing a tagged release of 1.0.0 (probably using semver moving forward) and a stable package will be added to the AUR.

Last edited by HalosGhost (2015-07-14 22:58:17)

Offline

#2 2015-07-10 00:13:02

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: pbpst - A paste utility (for pb instances) by Archers for Tacos

This is coming along nicely. Great work. smile


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2015-07-10 01:05:12

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: pbpst - A paste utility (for pb instances) by Archers for Tacos

fsckd wrote:

This is coming along nicely. Great work. smile

Thanks! I'm glad someone else finds it useful. There are many things still in the works and development has slowed down a bit (at least partially due to other projects and work being hectic). But, at least for me, it is already quite usable.

Here's hoping you continue to find it helpful. Additionally, anyone who is particularly interested in some of the planned functionality is welcome to contribute (and I would be happy to help anyone along on that path)!

All the best,

-HG

Offline

#4 2015-07-14 22:58:57

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: pbpst - A paste utility (for pb instances) by Archers for Tacos

Alert to everyone! The utility, repo and AUR package have been renamed (to pbpst as this utility can paste to any pb deployment, not just ptpb). Please take note!

Additionally: demize will be updating [kyriasis] to reflect the name change in the next few days.

All the best,

-HG

Last edited by HalosGhost (2015-07-14 23:03:25)

Offline

Board footer

Powered by FluxBB