# Vector Privacy

<h2 align="center">Vector Privacy</h2>

<p align="center">a "Privacy by Principle" open-source ecosystem created to empower privacy advocates.</p>

<p align="center"><a href="https://github.com/VectorPrivacy" class="button primary" data-icon="github">GitHub</a>  <a href="http://vectorapp.io/" class="button secondary">Website</a></p>

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-type="content-ref"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-type="image">Cover image (dark)</th><th data-hidden data-type="image">Cover image (dark)</th><th data-hidden data-card-cover-dark data-type="image">Cover image (dark)</th></tr></thead><tbody><tr><td><h4><i class="fa-globe">:globe:</i> </h4></td><td>Open-Source</td><td>Vector Privacy is an open-source ecosystem that is focused on ensuring the human right to privacy through encrypted communication tools.</td><td><a href="https://github.com/VectorPrivacy">https://github.com/VectorPrivacy</a></td><td><a href="https://github.com/VectorPrivacy">https://github.com/VectorPrivacy</a></td><td><a href="https://2611469886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgSMbyMfExJQ4rmIR1n6%2Fuploads%2FI4SaW3k4WzLoWms3aZJo%2FArtboard%201%20copy.png?alt=media&#x26;token=20f7e15f-fde0-43f7-a32b-2abd3be62341">Artboard 1 copy.png</a></td><td><a href="https://2611469886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgSMbyMfExJQ4rmIR1n6%2Fuploads%2FI4SaW3k4WzLoWms3aZJo%2FArtboard%201%20copy.png?alt=media&#x26;token=20f7e15f-fde0-43f7-a32b-2abd3be62341">Artboard 1 copy.png</a></td><td></td><td></td></tr><tr><td><h4><i class="fa-message-dots">:message-dots:</i></h4></td><td><strong>Vector Messenger</strong></td><td>Free-to-use. Enjoy end-to-end encrypted private messages with friends, family, and colleagues. Try out the new private Group Chats. </td><td><a href="https://app.gitbook.com/o/mMwsare7P7aUyIPGVXbv/s/3LGA7a9Evs77SLg3yRNI/">Vector Messenger</a></td><td><a href="https://app.gitbook.com/o/mMwsare7P7aUyIPGVXbv/s/3LGA7a9Evs77SLg3yRNI/">Vector Messenger</a></td><td><a href="https://2611469886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgSMbyMfExJQ4rmIR1n6%2Fuploads%2FO1Jz40ugOQFt0AmIgd9B%2FArtboard%201%20copy%202.png?alt=media&#x26;token=79779500-4de0-449a-9451-b0738273943b">Artboard 1 copy 2.png</a></td><td></td><td><a href="https://2611469886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgSMbyMfExJQ4rmIR1n6%2Fuploads%2FO1Jz40ugOQFt0AmIgd9B%2FArtboard%201%20copy%202.png?alt=media&#x26;token=79779500-4de0-449a-9451-b0738273943b">Artboard 1 copy 2.png</a></td><td></td></tr><tr><td><h4><i class="fa-terminal">:terminal:</i></h4></td><td><strong>Vector SDK</strong></td><td>Dive in to the Vector SDK to develop your own bots, apps and platforms in the Vector Privacy ecosystem. Share your contributions with the community.</td><td><a href="https://github.com/VectorPrivacy/Vector-SDK">https://github.com/VectorPrivacy/Vector-SDK</a></td><td><a href="https://vector-privacy.gitbook.io/vector-privacy/vector-sdk">https://vector-privacy.gitbook.io/vector-privacy/vector-sdk</a></td><td><a href="https://2611469886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgSMbyMfExJQ4rmIR1n6%2Fuploads%2Fh8Z2cxVXJYWawRBGvSWN%2FArtboard%201%20copy%203.png?alt=media&#x26;token=dd492e4c-bf84-4f0a-a236-ddc5d07fa7d0">Artboard 1 copy 3.png</a></td><td></td><td></td><td><a href="https://2611469886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgSMbyMfExJQ4rmIR1n6%2Fuploads%2Fh8Z2cxVXJYWawRBGvSWN%2FArtboard%201%20copy%203.png?alt=media&#x26;token=dd492e4c-bf84-4f0a-a236-ddc5d07fa7d0">Artboard 1 copy 3.png</a></td></tr></tbody></table>

<p align="center"></p>

{% columns %}
{% column valign="middle" %}

### Vector Messenger

Get started using Vector Messenger within seconds with a one-click signup. No KYC, no phone number, no email, no oAuth, and no metadata required to start chatting privately. No ads, spam, or distractions—just a direct, encrypted hardline. Enjoy chatting without unwanted and unwarranted surveillance.

* Free, Open-Source
* No KYC (No Email, Phone, oAuth, etc.)
* No Data Collection
* No Ads/Spam
* Local Device Data Storage (P2P)
* Decentralized Relay Network (Nostr)<br>

**No KYC**—Permissionless Privacy.

<a href="https://vectorapp.io/" class="button primary" data-icon="down-to-bracket">Download</a>  <a href="https://app.gitbook.com/s/afqLaN2qP4R2ilfqD3Wy/guides" class="button secondary" data-icon="book-open-cover">Guides</a>
{% endcolumn %}

{% column valign="middle" %}

<figure><img src="https://2611469886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgSMbyMfExJQ4rmIR1n6%2Fuploads%2F6Se83LRfpk7ddso9uKwB%2FVector-Viktor-Chat.png?alt=media&#x26;token=af1ae779-558e-4e2d-8378-9935cf0d94fc" alt="" width="311"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column width="41.66666666666667%" %}
{% code overflow="wrap" expandable="true" %}

```rust
use vector_sdk::VectorBot;
use nostr_sdk::prelude::*;

#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
    // Generate new random keys
    let keys = Keys::generate();

    // Create a new VectorBot with default metadata
    let bot = VectorBot::quick(keys).await;

    // Get a chat channel for a specific public key
    let chat_npub = PublicKey::from_bech32("npub1example...")?;
    let chat = bot.get_chat(chat_npub).await;

    // Send a private message
    let success = chat.send_private_message("Hello, world!").await;
    println!("Message sent: {}", success);

    Ok(())
}
```

{% endcode %}
{% endcolumn %}

{% column width="58.333333333333314%" valign="middle" %}

### Learn more about the SDK

Read guides, review developer docs, and learn more about working with the Vector SDK to integrate it with your own stack and share with the world.

<a href="https://github.com/VectorPrivacy/Vector-SDK" class="button primary" data-icon="arrow-down-to-line">Download</a>  <a href="https://app.gitbook.com/s/ZH1sYpOLAum28xFrXUjg/" class="button secondary" data-icon="book-open">Docs</a>
{% endcolumn %}
{% endcolumns %}

<h2 align="center">Join a Community of Privacy Advocates</h2>

<p align="center">Join our Discord community and/or contribute to the Vector Privacy ecosystem.</p>

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-cover-dark data-type="image">Cover image (dark)</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-discord">:discord:</i></h4></td><td><strong>Discord</strong></td><td>Join our Discord community to get support, share resources, and connect with other like-minded individuals from all around the world.</td><td><a href="https://discord.gg/ar2pnE9Huy" class="button primary">Join Discord</a></td><td><a href="https://2611469886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgSMbyMfExJQ4rmIR1n6%2Fuploads%2FbIodSFxsWHmDKkAjatzH%2FArtboard%201%20copy%204.png?alt=media&#x26;token=34baad5c-2129-4857-8de9-0692f1f9fbf9">Artboard 1 copy 4.png</a></td><td><a href="https://2611469886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgSMbyMfExJQ4rmIR1n6%2Fuploads%2FbIodSFxsWHmDKkAjatzH%2FArtboard%201%20copy%204.png?alt=media&#x26;token=34baad5c-2129-4857-8de9-0692f1f9fbf9">Artboard 1 copy 4.png</a></td><td><a href="https://discord.gg/ar2pnE9Huy">https://discord.gg/ar2pnE9Huy</a></td></tr><tr><td><h4><i class="fa-github">:github:</i></h4></td><td><strong>GitHub</strong></td><td>Vector is open-source and built by developers just like you. Visit the GitHub repository to learn more and see if you can contribute.</td><td><a href="https://github.com/VectorPrivacy" class="button primary">Visit GitHub</a></td><td><a href="https://2611469886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgSMbyMfExJQ4rmIR1n6%2Fuploads%2FA32gblyRRNb12B1DuFCX%2FArtboard%201%20copy%205.png?alt=media&#x26;token=31dbe06b-9c64-4dc0-89c1-5915baed1312">Artboard 1 copy 5.png</a></td><td><a href="https://2611469886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgSMbyMfExJQ4rmIR1n6%2Fuploads%2FA32gblyRRNb12B1DuFCX%2FArtboard%201%20copy%205.png?alt=media&#x26;token=31dbe06b-9c64-4dc0-89c1-5915baed1312">Artboard 1 copy 5.png</a></td><td><a href="https://github.com/VectorPrivacy/">https://github.com/VectorPrivacy/</a></td></tr></tbody></table>

***

{% columns %}
{% column valign="middle" %}

<p align="center"><i class="fa-x-twitter">:x-twitter:</i> <a href="https://x.com/VectorPrivacy">Twitter</a></p>
{% endcolumn %}

{% column %}

<p align="center"><i class="fa-discord">:discord:</i> <a href="https://discord.gg/ar2pnE9Huy">Discord</a></p>
{% endcolumn %}

{% column %}

<p align="center"><i class="fa-chess-knight">:chess-knight:</i> <a href="https://primal.net/p/nprofile1qqst37fwv8n363vx4eh7d9c0w0wslkufqyy43830g9a773zmhw5jergut5jp4">Nostr</a></p>
{% endcolumn %}

{% column valign="middle" %}

<p align="center"><i class="fa-github">:github:</i> <a href="https://github.com/VectorPrivacy">GitHub</a></p>
{% endcolumn %}
{% endcolumns %}

***
