> For the complete documentation index, see [llms.txt](https://vector-privacy.gitbook.io/vector-privacy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vector-privacy.gitbook.io/vector-privacy/readme.md).

# 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 secondary" data-icon="github">GitHub</a>  <a href="http://vectorapp.io/" class="button secondary" data-icon="globe">Website</a> <a href="https://vector-privacy.gitbook.io/vector-privacy/vector-messenger/intro/privacy" class="button primary">How it Works</a></p>

<table data-view="cards"><thead><tr><th></th><th></th><th></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="content-ref"></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 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="/files/GBqnIAQuzQn0nWIBK1u2">/files/GBqnIAQuzQn0nWIBK1u2</a></td><td><a href="https://github.com/VectorPrivacy">https://github.com/VectorPrivacy</a></td><td><a href="/files/GBqnIAQuzQn0nWIBK1u2">/files/GBqnIAQuzQn0nWIBK1u2</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="/spaces/3LGA7a9Evs77SLg3yRNI">/spaces/3LGA7a9Evs77SLg3yRNI</a></td><td><a href="/files/rjQddtTcAg9WqH37Csio">/files/rjQddtTcAg9WqH37Csio</a></td><td><a href="/spaces/3LGA7a9Evs77SLg3yRNI">/spaces/3LGA7a9Evs77SLg3yRNI</a></td><td></td><td><a href="/files/rjQddtTcAg9WqH37Csio">/files/rjQddtTcAg9WqH37Csio</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 what you've built.</td><td><a href="https://github.com/VectorPrivacy/Vector/tree/master/crates/vector-sdk">https://github.com/VectorPrivacy/Vector/tree/master/crates/vector-sdk</a></td><td><a href="/files/bg1fPwzRyosmlOrwW7wJ">/files/bg1fPwzRyosmlOrwW7wJ</a></td><td><a href="https://github.com/VectorPrivacy/Vector/tree/master/crates/vector-sdk">https://github.com/VectorPrivacy/Vector/tree/master/crates/vector-sdk</a></td><td></td><td></td><td><a href="/files/bg1fPwzRyosmlOrwW7wJ">/files/bg1fPwzRyosmlOrwW7wJ</a></td></tr></tbody></table>

{% hint style="success" icon="shield-keyhole" %}
Explore Vector's Privacy Philosophy, Infrastructure, and Discover [How it Works](https://vector-privacy.gitbook.io/vector-privacy/vector-messenger/intro/privacy).
{% endhint %}

***

<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="/spaces/afqLaN2qP4R2ilfqD3Wy/pages/MSU9xhEVW1LA11r5wAaR" class="button secondary" data-icon="book-open-cover">Guides</a>
{% endcolumn %}

{% column valign="middle" %}

<figure><img src="/files/q7jGfk2Gg1z2qwIhKKTt" alt="Vector Messenger Screenshot (Chat)" width="292"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

***

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

```rust
use vector_sdk::VectorBot;

#[tokio::main]
async fn main() -> vector_sdk::Result<()> {
    // Build a bot. With no key it creates + persists an identity on first run;
    // pass .nsec("nsec1…") to use a specific one.
    let bot = VectorBot::builder().build().await?;

    // A DM and a community channel share one handle — open it by id.
    let chat = bot.dm("npub1example…");

    // Send a message (returns the new message's event id).
    let id = chat.send("Hello, world!").await?;
    println!("Sent message {id}");

    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="/spaces/ZH1sYpOLAum28xFrXUjg/pages/LThc2RqOxBKU56Qt3TMy" class="button secondary" data-icon="book-open">Docs</a>
{% endcolumn %}
{% endcolumns %}

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

***

<h2 align="center">Join The Community</h2>

<p align="center">Join the official Vector Community and participate in the Vector Privacy ecosystem.</p>

<table data-view="cards"><thead><tr><th></th><th></th><th></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-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-people-group">:people-group:</i></h4></td><td><strong>Vector</strong></td><td>Join the Official Vector Community on Vector! Be a part of the discussions, testing, development and growth of Vector ecosystem.</td><td><a href="/files/F09CrmDyIg7HZw0RgfxD">/files/F09CrmDyIg7HZw0RgfxD</a></td><td></td><td><a href="https://chat.vectorapp.io/">https://chat.vectorapp.io/</a></td></tr><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="/files/7Eghf0QJipmGqSaTeWp2">/files/7Eghf0QJipmGqSaTeWp2</a></td><td><a href="/files/7Eghf0QJipmGqSaTeWp2">/files/7Eghf0QJipmGqSaTeWp2</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="/files/wNAlwaKQkHnvHbaWOt39">/files/wNAlwaKQkHnvHbaWOt39</a></td><td><a href="/files/wNAlwaKQkHnvHbaWOt39">/files/wNAlwaKQkHnvHbaWOt39</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" style="color:$primary;">:x-twitter:</i> <a href="https://x.com/VectorPrivacy">Twitter</a></p>
{% endcolumn %}

{% column %}

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

{% column %}

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

{% column valign="middle" %}

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

***
