Firefox contact sync
A question: is anyone interested in Firefox contact sync?
As an experiment, the testing release of the addon now includes a built-in SQLite addressbook that syncs with Google and Zimbra.
This is three experiments rolled up into one:
- contacts for Firefox, synced with Google etc
We figured that having working code would be a good way of finding out whether anyone has a use for syncing contacts that are local to Firefox.
Would porting the Zindus addon to Firefox be a good idea? Why would it be useful?
- non-Thunderbird sync
We were interested to explore decoupling the addon from the Thunderbird addressbook.
- a better addressbook for Thunderbird
The built-in contact database looks less like the current Thunderbird addressbook and more like the Google and Windows Live addressbooks with contacts, groups and an explicit membership relation between contacts and groups.
This promises:
- a more coherent and extensible model for grouping contacts
- contact properties as JSON for extensibility (lists, relations and tags)
- mailing lists replaced by auto-complete on groups
This is a thought experiment only. Here’s the official Thunderbird AddressBook Roadmap.
How to install and use
- download the testing release of the addon, unzip it, edit install.rdf, uncomment the firefox stanza, zip it up, and install it into Firefox
- visit Tools/Zindus, enter your account details and select “Sync Now”.
- the contacts.sqllite database lives in the zindus/data subdirectory of your profile folder.
- There’s no UI to view or edit the contacts but you can use the SQLite Manager addon to read and write the database.
So…
If you’d like syncable Firefox contacts, now’s the time to speak up!
If you liked this Blog, share the love :

Follow on twitter
RSS Feed
December 2nd, 2009 at 11:35 pm
What would contacts in firefox be used for? Is it for autofilling of forms? Is there currently an addressbook in Firefox?
December 3rd, 2009 at 9:22 am
@allan, firefox doesn’t have a built-in addressbook, though there was a contacts manager addon that the author appears to have abandoned.
autofilling forms would be one use of local-to-firefox contacts, sure - but I wonder: how often do you need enter your friends email addresses into a web form?
December 3rd, 2009 at 10:40 am
I would use this only for contacts.sqllite. I love that idea! In fact, I could imagine using a Zindus addressbook application that goes against contacts.sqllite and Google Contacts, nevermind TB.
December 3rd, 2009 at 12:28 pm
contacts.sqllite did not get created for me, when I installed the testing plpugin.
December 23rd, 2009 at 8:00 am
Please look at this thread on Google Groups:
http://www.google.com/support/forum/p/voice/thread?tid=3e8960c360ba7380&hl=en#all
There is a LOT of interest to sync contacts directly between Google Gmail and Google GApps accounts, as well as with Google Voice.
Certainly for those people who use Thunderbird (and I am one) the Tbird contacts sync is important, but there are many more users working with Gmail Contacts, and GApps Contacts directly.
Please note that Google has now introduced Duplicate contact removal, so that could benefit (but also complicate?) direct sync.
Thanks for going in this direction, I for one am very interested!
December 31st, 2009 at 9:00 am
Would I like a firefox contact sync?
I have searching for something that works on and off for a couple of years now.
So make me a happy man!
February 19th, 2010 at 5:11 am
While I think this is a very powerful concept, you need some imagery or diagrams at the top of this post to explain what the hell it’s all about.
A lot of us are coming at this from the I-have-contacts (…in Tbird, Google, etc.) and then realize the potential for what it means to sync contacts WITHOUT any app running other than Firefox.
However, some people are coming to this page cold turkey and have no ideas what this is about. I think the analogy is … maybe … Prism for Firefox. A lot of folks have no ideas what distraction-free-browsing is til you explain it visually.
March 2nd, 2010 at 9:30 pm
In my 60+ company we are using TB for mail and Firefox for browsing. We have our own mail server, no Google mail (have you ever managed to delete a mail for good at Google? good-bye privacy). To answer the poll, I am not interested in Firefox contact list synching.
March 9th, 2010 at 7:05 am
has anyone actually installed the testing release into FF successfully? Is there something that would prevent it from installing in 3.6 (assuming you update the rdf appropriately)?
March 18th, 2010 at 9:14 pm
See http://mozillalabs.com/blog/2010/03/contacts-in-the-browser/
The Contacts prototype consists of these pieces:
* A browser-based Contacts database that stays in sync with your address books (so far, it supports GMail, Twitter and Mac OS Address book)
* A generic importer system for Contacts from desktop or web-based address books (so you can implement missing ones)
* An email autocompletion feature, which demonstrates how the browser can auto-complete email addresses on any website. The autocompletion is performed entirely in the browser, without sharing the your list of contacts with the website.
* A Javascript API that websites can use to access the Contacts database, with explicit user permission and filtering
Stimulating competition, or time to work together ?
March 20th, 2010 at 1:48 am
I’m using Mozilla Weave a lot lately, to sync across profiles and across different machines.
What’s starting to happen is that addons like NoScript are storing their settings in special bookmark files so that they can be sync’d with Weave.
Now they are putting out the contacts prototype.
Whatever happens it would be good to ensure that a contact syncher in browser has smart sync capability, works with Google gmail and Apps, and can be managed via weave so that the settings and sync states can be carried across to other profiles.
Thanks
April 6th, 2010 at 2:08 pm
@sualeh - visit Tools/Zindus, enter your google email address and password. Select “test connection” then OK then ‘Sync Now’. contacts.sqllite is created in the zindus/data subdirectory of your firefox profile directory.
@skwasha - the addon works fine in firefox 3.6 (with install.rdf tweaked). If you encounter a problem - feel free to file a bug report.
@mark - thanks for the feedback. Contact syncing between google accounts is a great idea - will consider it. Anyone else thinks this is a good idea - please speak up!
re: Mozilla’s Contacts addon.
Mozilla’s Contacts addon has pretty broad scope, and (aside from Mark’s idea above) it is really unclear to me what a ‘zindus for firefox’ would do that Mozilla’s addon won’t.
Whatever happens, there’d be no point for ‘zindus for firefox’ to compete with Mozilla’s Contacts addon.
However … one thing that zindus does well is state-based synchronization. It means that users can make local changes while offline and when the addon comes online again, the local changes will sync reliably. It’s seems a bit early to know what the sync strategy will be for Mozilla’s contacts addon but there might be some interesting use cases around that (eg. Firefox Mobile). Hardly seems compelling though.
April 22nd, 2010 at 7:18 am
Cannot install addon - FF 3.6.2 claims it is incompatible
April 22nd, 2010 at 11:24 am
@Mark - fixed!
April 22nd, 2010 at 2:27 pm
@Leni - tested and installs fine on 3.6.2 and .3
Questions:
How do we track the sync functionality as compared to the Tbird addon?
I see no group sync, but in Tbird I think this is happening.
Just trying to get my head around what to test, and how to provide feedback.
I currently have it synching GApps with Gmail accounts, include Google suggested contacts, sync Google Groups with FF addressbook.
Not seeing groups come across from Gmail to GApps
Also what’s confusing about “FF addressbook” is … where is it. Is there a FF addressbook or is that just a term?
June 22nd, 2010 at 4:43 am
Has there been any progress on synching GROUPS with Google Groups?
They do not sync from what I can tell
I have the latest version (as of 6/17/10) running on 3 machines, 2 Windows7 and one OSX and the groups are all different on 3 machines.
Thanks
June 22nd, 2010 at 9:27 am
Hi Mark, although the firefox version of the addon uses an sqlite db, the data format it stores is a json version of tb’s contact format. Incrementally adding support for groups onto that architecture is tricky.
What really needs to happen is a rewrite of that part of the code to make the addon store google’s gdata xml. It would then support sync of both:
* the entire google contact (not just the subset that maps to tb) and
* groups.
Work hasn’t started on that yet. Partly that’s because it’s not clear how zindus-for-firefox might sit alongside Mozilla’s contacts addon and partly because the Thunderbird development team has finally allocated some resources to contacts and it makes sense to wait and see how that plays out. And … other things are cooking which it’s premature to talk about!