whird.jpope.org cover image

Cork

The pumps have been plugged. If you were a user of pump.jpope.org and you'd like to have your data, let me know. I have all the data in an archive but, will be sending it to /dev/null in the near future. Not entirely what you'd use it for but, you are more than welcome to have it.…

Plugging the pumps - BashScriptVille Part III

Crossposted from my soon-not-to-be-existing pump: link I think the time has just about come for me to shut my personal pump down (io.jpope.org). I'll likely migrate back to my pump.jpope.org account for a bit (jpope@pump.jpope.org). But, to be honest, I've been considering shutting that pump down as well. After that, maybe I'll pop into my old identi.ca account from time to time. So, if you start seeing some mass un-following from this account, this will be why. As far as why? These days, Diaspora* does everything I need/want in a distributed social network. The privacy features work properly (unlike StatusNet err... GNUSocial), both the web and mobile UIs work properly (unlike pump.io). Plus, the API is finally on it's way. Also, with having the bulk of my stuff running on various VPSs, I need to trim the fat some to cut costs. Considering my interest in pump.io has been waning for quite some time, it definitely falls into the fat category for me. And I won't even get into my feelings…

PumpIO in the AUR

I have added a package for pump.io to the AUR: link. Hopefully, if someone attempts to use it, it actually works. At the time of this writing, I've been using Arch for about 2 years. During this time, I've downloaded and edited PKGBUILD's from the AUR quite a few times. Until recently, I haven't actually maintained any public PKGBUILD's. Time for that to change. I wrote the PKGBUILD from scratch, using a few others as a guide, along with the Arch wiki entry and my pump.io setup. Installing pump.io from the AUR will install it to /usr/share/webapps/pumpio, place a sample config file at /etc/webapps/pumpio/pump.io.json and a systemd file at /usr/lib/systemd/system/pumpio.service. The AUR package will install the node dependecies (along with databank-mongodb and databank-redis as they seem to be the most popular databank backends currently). With the sample config that is installed, you should be able to run a testing pump.io instance as soon as it's installed. Here would be me installing it and running it.…

Crossposting to all the places

Seeing that I'm currently hosting three social networks, and trying to be active on all three, I needed a way to post to all three simultaneously. This is the script that I use to cross post to all the places. ;) StatusNet posting is simply using curl, Pump.io uses the CLI scripts in my pump install and Diaspora is using cliaspora. The script can optionally post to all three at once, a single network or any combination of just two. For pump.io posting, if you haven't ever used the CLI scripts, you'll need to run the pump-register-app and pump-authorize in order for my script to post (as it uses the pump-post-note script). Also, I am using a version of the pump-post-note script that has a post to Public option as well as a Quiet option (it doesn't return "OK" after posting). You can also see my previous posts regarding posting via the command line here and here for more. Posting to Diaspora is done with cliaspora. My script will test for an open cliaspora session and will open one if the test fails. I am als…

BashScriptVille Part II

I've now added a new pumpio (and statusnet) bot that pulls comics from XKCD. Why? Why the hell not? Don't we all love XKCD? The "bots" are located at XKCD@pump.jpope.org and xkcd@sn.jpope.org if you want to follow. The script I wrote for these two can be found here. For pumpio, it does use a custom script based on one of the scripts included in a standard pumpio install, My scipt allows for titles to be added to a regular note and can be found in my Github Gogs repo for pump.jpope.org. The pumpio script also has a small mod to post the notes publicly instead of only to Followers (thanks @jrobb!). The bot script also captures the newest posted comic and stores the comic id in a small file so the next time the script is run, I don't end up posting the newest one multiple times. Well, hopefully I don't. ;) The script also formats the pumpio version in html and in textile for use with the Textile plugin on statusnet. I now have 11 pumpio bots that live in BashScriptVille: apod@pump.jpope.org bofh@pump.jpope.org f…

BashScriptVille

I have had my matrix StatusNet instance up for quite some time. This instance consists of six accounts that mostly spit out random notices that are pulled via various bash scripts. I decided it was time to recreate some of this for pump.io. After installing pump.io, there is a handful of cli tools in /pump.io/bin. With these scripts, you can register a user, post a note, follow another user, etc... Using the scripts, I've created a few (at the time of this writing, there are 10) accounts to post random posts of useful (or is it useless...) tidbits. Off to the commandline... The first step for me after deciding on what crap to pull, is to write a bash script to pull the said (sed?) crap. Using the good ol' tools curl, cat, grep, sed, awk, etc... I'll parse whatever page down to the actual message that will be sent. For the rest of this, I am assuming that: the /pump.io/bin directory is in my $PATH. That registration is open for the target pump. Also, since pump.io is currently being heavily de…

Pump

Seeing that I've had a whole string of StatusNet posts, I figure that it's time to start some pump.io posts. I've had a pump running since mid January and it's been much fun watching the early development happen. As of this writing, the current stable version (which Evan has his various pumps running) is v0.2.1. My pump is running git master because I like to live on the edge. Although, for the most part, it has been mostly painless. I have tried my damnedest to put any issues that I come across on the issue list. With this post, I will be going through my setup. I should note that my setup may not work for everyone, YMMV. I am running my pump on my mostly recently unused EeePC 1000HE w/2GB RAM which is running good ol' ArchLinux. Seeing that my tablet has become my goto mobile device (and even got a keyboard dock for it as well), my netbook just seems bulky and underpowered anymore. (bulky? what?) It was time to find something else for it to do. Enter the pump. Before starting the rest, here are the versions…