whird.jpope.org cover image

Podwrapper v1.5.1 (...errr make that v1.5.2)

EDIT: I found a bug and fixed it with v1.5.2, the links below have been changed to point to the new version. I released v1.5.1 v1.5.2 of my podwrapper script and until the WIP D* API is further along, I think this is where the script will be for a bit. Since my last post concerning the script, I've done a little refactoring and streamlining along with adding a few more options. If you have multiple D* accounts, you can now specify a config file with the -c flag. Also, when initially setting up the script, you choose a default aspect that your posts will go. You can now override this with the -a flag. If when setting up the script you choose to post privately (i.e. 'All aspects') and you'd like to make a public post, you can add -a public when running the script. You can also override the default with a specific aspect however, at the moment, the API doesn't provide a way to pull your aspect names. You can still post to an aspect with the aspect id number. To get the number, navigate to your contacts page wit…

Posting to Diaspora* via API

In the land if Diaspora*, the news of the work being done on the API yesterday was huge. The lack of a proper API has been a thorn in the side of many people. But, it's finally happening, the API is on it's way. Still, it's a ways off from being complete but, just posting a simple text post is currently doable, at least with cURL. Of course, it's quite a handful of commands to type but, that's easily fixed with a shell script. So, I set about on writing that script. The following was initially posted on D*: Ok, I think this is all working pretty well. Here is my bash script that is basically a wrapper for the steps outlined here. You can check it out at https://code.jpope.org/jpope/podwrapper. Be sure to look over the README. And yes, this post was posted via the script. :D podwrapper A bash script to post to Diaspora* via the WIP API. The API will need to be enabled on the pod you are attempting to post to. See these posts: https://kentshikama.com/posts/6c4b0ff01c090133da7b04015765ae01 https://kentshikam…