Skip to content

Latest commit

 

History

History
 
 

nostr-database

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Nostr Database

Database for Nostr apps

Nostr Database Trait

This library cointains the NostrDatabase and NostrDatabaseExt traits. You can use the default backends or implement your one (like PostgreSQL, ...).

Default backends

  • Memory (RAM), available in this library
  • SQLite (desktop, server and mobile devices), available at nostr-sqlite
  • RocksDB (desktop, server and mobile devices), available at nostr-rocksdb
  • IndexedDB (web), available at nostr-indexeddb

Crate Feature Flags

The following crate feature flags are available:

Feature Default Description
flatbuf No Enable flatbuffers de/serialization for nostr events

State

This library is in an ALPHA state, things that are implemented generally work but the API will change in breaking ways.

License

This project is distributed under the MIT software license - see the LICENSE file for details

Donations

⚡ Tips: https://getalby.com/p/yuki

⚡ Lightning Address: [email protected]