9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Vcard filesystem
@ 2024-11-08 16:04 sirjofri
  2024-11-13  4:29 ` Noam Preil
  2024-11-14  9:27 ` Shawn Rutledge
  0 siblings, 2 replies; 4+ messages in thread
From: sirjofri @ 2024-11-08 16:04 UTC (permalink / raw)
  To: 9fans

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-11-14 22:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-08 16:04 [9fans] Vcard filesystem sirjofri
2024-11-13  4:29 ` Noam Preil
2024-11-14  9:27 ` Shawn Rutledge
2024-11-14 22:13   ` Frank D. Engel, Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).