Any interest in a couchdb/desktopcouch backend?

6 views
Skip to first unread message

jwhitlark

unread,
Nov 26, 2009, 7:02:01 PM11/26/09
to autokey-users
I was thinking that it's a pain to set these up across all my
machines, so I've been looking at the code to see how much work it
would be to have an alternate storage engine based on couchdb.

What do you think?

In other news, happy Thanksgiving!

~J

Tony Beld

unread,
Nov 27, 2009, 12:20:55 PM11/27/09
to autoke...@googlegroups.com
I use Dropbox to sync across machines. Works like a charm.

MAWSpitau

unread,
Nov 27, 2009, 12:25:35 PM11/27/09
to autoke...@googlegroups.com
Am Freitag, 27. November 2009 schrieb Tony Beld:
> I use Dropbox to sync across machines. Works like a charm.

Same here! :D

Chris Dekter

unread,
Nov 27, 2009, 6:45:52 PM11/27/09
to autoke...@googlegroups.com
Dropbox seems like a good simple solution. I think there are numerous
other ways you could also do this (rsync). I'm not familiar with
couchdb but I had a quick look and it kinda seems like overkill
(correct me if I'm wrong). If you wanted to build a super-simple user
friendly way to do this, it would be easy to create a setup where one
instance of AutoKey running on a machine acts as a config server, and
all other machines connect to it and download their config from there.

2009/11/28 MAWSpitau <maws...@googlemail.com>:

jwhitlark

unread,
Dec 22, 2009, 4:32:00 PM12/22/09
to autokey-users
Straight couchdb might be overkill, you're right. I was thinking more
of the new Ubuntu desktopcouch stuff. (A personal oauth secured
couchdb is installed by default on 9.10, and is used to sync with
ubuntuOne). Since they are going through all the work of setting up
replication, I though it might be easy to piggyback, and get
replication (almost) for free.

Take a look at:
https://launchpad.net/desktopcouch
http://www.freedesktop.org/wiki/Specifications/desktopcouch
http://www.kryogenix.org/days/2009/09/03/desktop-couch-irc-talk

for more info.

Thanks,

~Jason

On Nov 27, 3:45 pm, Chris Dekter <cdek...@gmail.com> wrote:
> Dropbox seems like a good simple solution. I think there are numerous
> other ways you could also do this (rsync). I'm not familiar with
> couchdb but I had a quick look and it kinda seems like overkill
> (correct me if I'm wrong). If you wanted to build a super-simple user
> friendly way to do this, it would be easy to create a setup where one
> instance of AutoKey running on a machine acts as a config server, and
> all other machines connect to it and download their config from there.
>

> 2009/11/28 MAWSpitau <mawspi...@googlemail.com>:

Chris Dekter

unread,
Dec 22, 2009, 7:15:53 PM12/22/09
to autoke...@googlegroups.com
That sounds interesting - I'll look into it.

2009/12/23 jwhitlark <ja...@whitlark.org>:

Chris Dekter

unread,
Dec 22, 2009, 8:09:47 PM12/22/09
to autoke...@googlegroups.com
I think the simplest approach would be to create an alternative
persistence backend that instead of pickling to a file on disk,
pickles to memory, base 64 encode and then store in a CouchRecord. If
you want to have a go at this I'd be glad to help out - otherwise I
might work on it over the break if I have time.

2009/12/23 Chris Dekter <cde...@gmail.com>:

jwhitlark

unread,
Dec 23, 2009, 8:30:54 PM12/23/09
to autokey-users
I'm going to take a closer look at it over the break. I'll ping you
if I get anywhere.

~J

On Dec 22, 5:09 pm, Chris Dekter <cdek...@gmail.com> wrote:
> I think the simplest approach would be to create an alternative
> persistence backend that instead of pickling to a file on disk,
> pickles to memory, base 64 encode and then store in a CouchRecord. If
> you want to have a go at this I'd be glad to help out - otherwise I
> might work on it over the break if I have time.
>

> 2009/12/23 Chris Dekter <cdek...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages