#nostr #key-value-store #p2p #seamlessly #encryption

nostrstore

nostrstore is a lightweight, decentralized key-value store designed to work seamlessly with the Nostr protocol

5 releases

Uses new Rust 2024

0.2.3 May 15, 2025
0.2.2 May 15, 2025
0.2.1 May 15, 2025
0.2.0 May 15, 2025
0.1.0 May 5, 2025

#2284 in Database interfaces

Download history 105/week @ 2025-05-01 24/week @ 2025-05-08 492/week @ 2025-05-15

522 downloads per month

MIT license

23KB
454 lines

nostrstore

nostrstore is a lightweight, decentralized key-value store designed to work seamlessly with the Nostr protocol. It provides tools for storing, querying, and managing data in a distributed environment.

Features

  • Decentralized key-value storage.
  • Seamless integration with the Nostr protocol.
  • Lightweight and easy to use.
  • Supports querying and managing data in a distributed environment.
  • Data encryption using NIP-44 for secure storage and transmission.

Installation

Add the following to your Cargo.toml:

[dependencies]
nostrstore = "0.2.3"

# To use nostrstore-derive macros
nostrstore-derive = "0.1.1"

Example

For a complete example, check out the example.rs file in the repository.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

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

Dependencies

~19–33MB
~516K SLoC