Skip to content

Luke-Larsen/Vector-SDK-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vector SDK Examples

This repository contains various examples demonstrating how to use the Vector SDK (https://github.com/VectorPrivacy/Vector-SDK). Each subfolder represents a distinct project with its own objectives and contributions to the overall repository. The projects are implemented in Rust and showcase different functionalities of the Vector SDK.

Projects Overview

  • Objective: A simple "Hello World" example to demonstrate the basic setup and usage of the Vector SDK.
  • Contents:
    • Cargo.toml: Defines the project dependencies.
    • src/main.rs: Contains the main application code that responds to private direct messages with "Hello World".
  • Objective: Demonstrates how to send image responses using the Vector SDK.
  • Contents:
    • Cargo.toml: Defines the project dependencies.
    • src/main.rs: Contains the main application code for sending image responses.
  • Objective: Demonstrates sending reactions to messages using the Vector SDK.
  • Contents:
    • Cargo.toml: Defines the project dependencies.
    • src/main.rs: Contains the main application code for sending reactions.
  • Objective: Shows how to send typing message indicators using the Vector SDK.
  • Contents:
    • Cargo.toml: Defines the project dependencies.
    • src/main.rs: Contains the main application code for sending typing message indicators.
  • Objective: Shows how to execute multiple commands using the Vector SDK, and combines knowledge from previous examples.
  • Contents:
    • Cargo.toml: Defines the project dependencies.
    • src/main.rs: Contains the main application code for executing multiple commands.
  • Objective: Demonstrates how to join and listen to MLS group conversations using the Vector SDK.
  • Contents:
    • Cargo.toml: Defines the project dependencies.
    • src/main.rs: Contains the main application code for joining and listening to group conversations.
    • Vector-SDK/: A submodule containing the Vector SDK source code.

Usage

Each project can be built and run independently. Navigate to the project directory and use Cargo to build and run the project:

cd <project-directory>
cargo run

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues for any feature requests or bug reports.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

example bot for using the vector SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages