GithubHelp home page GithubHelp logo

Abook storage backend about vdirsyncer HOT 17 CLOSED

pimutils avatar pimutils commented on May 14, 2024
Abook storage backend

from vdirsyncer.

Comments (17)

untitaker avatar untitaker commented on May 14, 2024

Of course a cleaner solution still would be to write a new client that uses vdir.

from vdirsyncer.

zodtm avatar zodtm commented on May 14, 2024

You can check out https://github.com/hnrysmth/ppl
Its storage backend is basically a dir full of vcf files (with only UIDs missing)

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

It definetly has a nice interface, but it seems it is not able to deal with vcf files created by other programs.

from vdirsyncer.

t-8ch avatar t-8ch commented on May 14, 2024

For querying with mutt I have written a small program: https://github.com/t-8ch/snippets/blob/master/contactquery.c

from vdirsyncer.

zodtm avatar zodtm commented on May 14, 2024

I did a quick test, and it seems one can toss in new vcf-files, but the problem is ppl derives the nicknames from the filenames in its backend. I took the liberty of asking the author about UID filenames in the context of better vdirsyncer integration ( henrycatalinismith/ppl#47 ).

I really think vdirsyncer + ppl would be an awesome combination.

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

@t-8ch Oversaw your comment... interesting, last week i searched for a decent vcard parser in C (so i could use it from Rust) and couldn't find anything. I ended up porting https://github.com/untitaker/dotfiles/blob/master/home/.scripts/mates to Rust, and it was hardly better.

from vdirsyncer.

t-8ch avatar t-8ch commented on May 14, 2024

@untitaker It should also be possible to use libical for vcards (see vobject.h). It should be packaged for all distros. Or just use my version :-)

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

I wanted to take this as an opportunity to learn Rust. Will take a look at vobject.h.

from vdirsyncer.

geier avatar geier commented on May 14, 2024

untitaker: are you starting a new addressbook project?

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

Not sure. I didn't get very far, there's no decent standalone vcard library for C, and none for Rust. Don't really want to depend on evolution-data-server.

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

I rather write this for learning Rust, not really for making something usable.

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

FWIW, here it is: https://github.com/untitaker/mates

@t-8ch if you want we could add your script to https://vdirsyncer.readthedocs.org/en/latest/supported.html#client-applications

from vdirsyncer.

t-8ch avatar t-8ch commented on May 14, 2024

@untitaker I added it and pushed it and a small fix to master.

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

Thanks!

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

Closing this because writing a custom addressbook client yields far better results.

from vdirsyncer.

tristan-k avatar tristan-k commented on May 14, 2024

Can you please reopen the issue. I'm trying to use Trojita with Carddav. It currently lacks support for it, but does read abooks adressbook in ~/.abook. If vdirsyncer would be able to write to abooks storage backend, Trojita would be able use Carddav. Also see this issue for a workaround with another python script, which fails for some reason.

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

from vdirsyncer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.