Newsbeuter is an open source RSS feed reader for terminals.
It's great for quickly consuming lots of information from websites. One nice feature is that it allows you to 'bookmark' specific links, and that's where LinkiePie comes in.
LinkiePie is a personal project of mine for storing and organising links, somewhat like Pocket and Instapaper, and I would like to send my links directly from newsbeuter to it.
It has a basic API for externally accessing some functionality and accounts are automatically generated API keys. The following is a quick guide for sending your bookmarked newsbeuter links straight to your LinkiePie account.

The first step, of course, is to get a LinkiePie account. When you have registered check out https://linkiepie.com/settings/ to get your API key. This is all you need to programmatically add and retrieve your links with LinkiePie.

Next we will setup a simple script that will interface with newsbeuter. Save the following code in a convenient directory or download it from here.
#!/bin/bash
URL="$1"
USERNAME=YOUR_USERNAME
API_KEY=YOUR_KEY
curl -k -H "Content-Type: application/json" -X POST --data "{\"url\": \"${URL}\"}" "https://linkiepie.com/api/v1/links/?username=${USERNAME}&api_key=${API_KEY}"

Make sure to change YOUR_USERNAME and YOUR_KEY to your own details.
Assuming you have the script in a file called linkiepie-bookmark.sh and have placed it in your home directory, the next step is to update your newsbeuter config file (.newsbeuter/config) with the following:
bookmark-cmd "~/linkiepie-bookmark.sh"
bookmark-autopilot yes

The final step is to set the executable bit on the script so newsbeuter can execute it.
chmod +x linkiepie-bookmark.sh

Restart newsbeuter and try it out by pressing Ctrl+B with an article highlighted or selected. You should then see that article in your LinkiePie account along with an archived version of the important text.

You can retrieve your data from LinkiePie via the API as well. The following request will return the the url, title and extracted text from the links you've added.
https://linkiepie.com/api/v1/links/?username=YOUR_USERNAME&api_key=YOUR_KEY&format=json&limit=10&offset=0

The number of results returned for each request is controlled by the limit parameter and adjusting the offset parameter, which specifies where in the list of results to start from, will allow you to move between these sets of results.
This was posted on Tue 16 Dec 2014 (4 years, 2 months ago) by Ryan McConville
On the 24th of April 2012, I published an Android application, that I developed over the course of a week, onto the Android store. I initially developed it for my own use as I thought it would be cool to see the daily featured Wikipedia article on my phone homescreen each day. For almost a year I got very few downloads, and I kind of expected that. However I kept publishing updates as I discovered bugs and thought of improvements, such as adding in the 'today in history' section as an option.

A couple of these updates must have been useful, as a few of them resulted in a spike in the number of downloads. These can be seen in the image below.

install graph


At this moment in time I have over 15,000 installs, with around 30% of users still having it installed. I'm quite surprised I have got so many downloads, and I feel somewhat guilty for not continuing to make improvements due to being occupied with other things.

Oh, and the link to the application on the Play store is: https://play.google.com/store/apps/details?id=com.rmc.dfaw

This was posted on Tue 24 Jun 2014 (4 years, 8 months ago) by Ryan McConville
So as a follow up to my previous post, I decided that it would be a good idea to write a little bit about a project that I spent some of my free time working on. Now that I have started my PhD I have less time for working on side projects, so this is probably a good landmark. It's called LinkiePie (https://linkiepie.com) and I started it whenever I was compiling links for the 'stuff I have found interesting recently' posts on my blog. The idea of LinkiePie is that it's a place to store, organise and categorise interesting stuff you find on the web.

Basically, a LinkiePie is a list where you store the links to the interesting stuff you come across on the web, and you can create as many of them as you want. So, for example, you can have a LinkiePie for links related to a specific web development technology you like, or one for links related to some topic you are researching, or maybe a LinkiePie for links you think some of your friends would like.

You can also make your LinkiePies public so that you can share them with others. Making it public will give you a URL that you can send to someone else and they will be able to see whatever you put into that LinkiePie.

One other feature I thought would be pretty cool is grabbing the relevant content of the page that you are storing. So if it disappears or changes in the future, you still have a copy of what you found interesting at the time.

This is very much a work in progress, but as I said, I thought I would write about what I have done so far.

Here are two LinkiePies for the first two 'stuff I have found interesting recently' posts on my blog.
https://linkiepie.com/pie/ryan/interesting-things-0/
https://linkiepie.com/pie/ryan/interesting-things-1/
This was posted on Tue 12 Nov 2013 (5 years, 3 months ago) by Ryan McConville