en Home Smtp Sometimes I fall in love with code jgdb A Gopher named Gophy Encode/Decode Golang data to Gob files GoWatch Cfg File Access and Create Time Go Snippets Ping Your Everyday Go Tools Cases Conv Go jkl Encode/Decode between struct and byte slice Crypt HDKeys Wordlist HDKeys Recover

Citadel vCard Sync

Imports vCards in to the Citadel Mail Server

Features

Features planned

Features not supported

Hints:

Command Line Flags:

A config file is required, set it with the -c flag.

If the specified config file does not exist, one will be created with default values.

-D will delete all items on the remote server, in the given room WITHOUT WARNING

Username and Password for the [Citadel] Mail Server may be defined in the config file, or optionally on the command line

The -r Flag checks if the room exists on the mail server. You can use this to verify that you have spelled the room name correctly

-v=false: version
-h=false: Prints out this help text
-c="citadelVcard.json": Config file (*.json)
-u="": Username
-p="": Password
-r=false: Check if the citadel room even exists
-D=false: Delete all items in the room!
-i="": Import file (*.vcf)

The Environment flags in the config file are:

0 = Production
1 = Prints a lot of info
2 = Debug mode, same as 1 but will exit on error

Install

Executable

There is an executable version for Linux AMD64 at: https://bitbucket.org/gotamer/citadel/downloads/citadelsync

From Source

Install go then run

go get bitbucket.org/gotamer/citadel

The MIT License (MIT)

Copyright © 2013 Dennis T Kaplan http://www.robotamer.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

[Citadel]:(http://www.citadel.org "Citadel") [GoDoc]:(https://godoc.org/bitbucket.org/gotamer/citadel)

Tags: code go log


First Created: 2013-12-27T20:40:00Z
Last Modified: 2026-04-05 19:35