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.
- 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.
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 runContributions are welcome! Please feel free to submit pull requests or open issues for any feature requests or bug reports.
This project is licensed under the MIT License. See the LICENSE file for details.