script to post to cimba

Many of you will be aware of the decentralized microblogging platform
cimba.co

I created a quick shell script to post a blog to cimba

https://gist.github.com/melvincarvalho/b92cc2d1a97f2f918d0f

It uses git config instead of environment variables, to save having to set
them every time

        LDPC=$(git config webid.weblog)
        KEYFILE=$(git config webid.keyfile)
        WEBID=$(git config user.webid)
        NAME=$(git config user.name)
        DEPICTION=$(git config user.depiction)


e.g.

    git config --global --add user.webid http://melvincarvalho.com/#me

I'll be happy to test any LDPC if you add access to the webid above

it's working for me on cimba and running locally using GOLD

feel free to use / fork / improve

Received on Sunday, 1 February 2015 10:23:56 UTC