Hello everyone,

some time ago I started working on a filesystem for vcard files. The filesystem 
manages a vcard database (stored in the user lib dir), and mounts itself to 
/mnt/vcard per default.

I'm at a point where I consider it ready for anyone to use. There might be 
bugs, memory leaks, and other things that could be improved, but it is 
something that could be used as a backend system for other tools, or just used 
directly.

https://shithub.us/sirjofri/vcardfs
https://git.sr.ht/~sirjofri/vcardfs

(Technical details following, feel free to stop reading here).

It comes with a library (libvcard) for parsing vcard files, and supports 
version 2.1 and 3.0/4.0, though it doesn't validate the vcard data (it only 
reads the syntax and loads the data, with the only exception being the version 
property, but that gets too technical).

The filesystem supports importing new vcard data, and also exporting the whole 
database as vcard, as well as exporting individual cards. For exporting, it 
only supports vcard version 4.0 (hardcoded).

It is however important to note that I'm not very experienced at writing 
filesystems and properly synchronized code, so there could be issues when 
multiple programs access the data.

Patches are welcome.

sirjofri

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T4d117dbbd00ae4f7-Mdce2a45adb63efe5df4cb3b9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to