Forums

Discuss all things Remember The Milk.

menu

Command line interface

(closed account) says:
One of your competitors (Hiveminder) has a Perl script that enables users to view, add, delete, etc. tasks. For the handful, or more, of command line junkies out there this would be a nifty feature.
Posted at 8:00pm on October 4, 2007
soroush says:
I'm interested in something like this as well!
Posted 17 years ago
oleolo says:
You could use the mail function to do s.th like that.

Example (use your Inbox Mail Address from Settings/Info)

"mail -s "Buy milk" [email protected]"

Now if someone would write a wrapper around this in order to incorporate a bunch of options....
Posted 17 years ago
johnfoland says:
I am quite ignorant in this field, but could someone possibly create a go-between using the API?
Posted 17 years ago
soroush says:
@oleolo
That's a nice idea for quickly adding tasks from the command line.
However, it doesn't allow to view/delete tasks.

I think there's lots of ways to add tasks (twitter, email, IM, widgets, mobile), but not many options to view them (web, widgets come to mind). RTMs great non the less!
Posted 17 years ago
axyjo says:
hmm.. I am in favor of such a thing. As a computer geek, I am often in Terminal and i need quick access to my todo list without having to launch my browser again.
Posted 17 years ago
(closed account) says:
It's really a matter of how many people want this feature, and how to implement it. The Perl script that the developers of Hiveminder created is pretty good, but you need to install several additional Perl modules to get it to work.

I'm wondering if it would be easier with a Python or Ruby script, or even a shell script.
Posted 17 years ago
yves.rutschle says:
started on that
Posted 17 years ago
yves.rutschle says:
There it is: http://www.rutschle.net/rtm/

It's very simple for now, probably not useful for a heavy user (I am myself a RTM beginner, not using lists or any 'advanced' stuff') but it's a start anyway.

nesbitt, you'll only need to instal XML::Simple; there is no reason to think it'd be 'easier' in another language: it just makes no sense to be writing an XML parser parser from scratch just to remove a dependency (XML parser in shell script? now I wonder if *that* exists :)
Posted 17 years ago
(closed account) says:
Yves,

I've been offline for a few days. But I'm definitely doing to take a peek at your script in the next day or two. Thanks for making the effort!

Scott
Posted 17 years ago
(closed account) says:
I've found using twitter cli + rtm to be a pretty solution, at least for adding tasks.

You'll need RTM twitter to get this to work.

Here's the one-liner script. Name it "rtm" and put it somewhere in your path, and you'll be able to add tasks on the commandline with "rtm buy some milk, seriously"

curl -s --basic --user ":" --data-ascii "status=`echo d rtm $@|tr ' ' '+'`" "http://twitter.com/statuses/update.json" > /dev/null

(this is a slight variation of a script found here: http://binnyva.blogspot.com/2007/03/using-twitter-part-1-command-line.html)
Posted 16 years ago
(closed account) says:
sorry, formatting killed the line a bit. Here's what you want:

curl -s --basic --user "USERNAME:PASSWORD" --data-ascii "status=`echo d rtm $@|tr ' ' '+'`" "http://twitter.com/statuses/update.json" > /dev/null
Posted 16 years ago
orel says:
Hi,

I'm trying Yves' script: it works really well!

The only thing I'm missing is the due date (display next to task title and possibility to add/change due date).

It's a very cool tool, probably the fastest one I've found.
Posted 16 years ago
waldir.leoncio says:
Idea #2923, riiiise from your graaaave!

Take a look at this solution. This is the best one I've ever found, the only thing it needs is to work offline, otherwise it is *perfect*:

http://www.davidwaring.net/projects/rtm.html
Posted 12 years ago
Log in to post a reply.