mirror of
https://github.com/aljazceru/haven.git
synced 2025-12-17 05:44:20 +01:00
full blossom support + instructions
This commit is contained in:
@@ -3,6 +3,7 @@ RELAY_URL="relay.utxo.one"
|
||||
RELAY_PORT=3355
|
||||
RELAY_BIND_ADDRESS="0.0.0.0" # Can be set to a specific IP4 or IP6 address ("" for all interfaces)
|
||||
DB_ENGINE="badger" # badger, lmdb (lmdb works best with an nvme, otherwise you might have stability issues)
|
||||
BLOSSOM_PATH="blossom/"
|
||||
|
||||
## Private Relay Settings
|
||||
PRIVATE_RELAY_NAME="utxo's private relay"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# HAVEN
|
||||
|
||||
HAVEN (High Availability Vault for Events on Nostr) is the most sovereign personal relay for the Nostr protocol, for storing and backing up sensitive notes like eCash, private chats and drafts. It is a relay that is not so dumb, with features like web of trust, inbox relay, cloud backups, blastr and the ability to import old notes.
|
||||
HAVEN (High Availability Vault for Events on Nostr) is the most sovereign personal relay for the Nostr protocol, for storing and backing up sensitive notes like eCash, private chats and drafts. It is a relay that is not so dumb, with features like web of trust, inbox relay, cloud backups, blastr and the ability to import old notes. It even includes it's own blossom media server!
|
||||
|
||||
## Four Relays in One
|
||||
## Four Relays in One + Blossom Media Server
|
||||
|
||||
**Private Relay**: This relay is only accessible by the owner of the relay. It is used for drafts, ecash and other private notes that nobody can read or write to. It is protected by Auth.
|
||||
|
||||
@@ -12,6 +12,8 @@ HAVEN (High Availability Vault for Events on Nostr) is the most sovereign person
|
||||
|
||||
**Outbox Relay**: This relay is where the owner's notes all live and are publicly accessible. You can import all your old notes to this relay. All notes sent to this relay are blasted to other relays. Only the owner can send to this relay, but anyone can read.
|
||||
|
||||
**Blossom Media Server**: This relay also includes a media server for hosting images and videos. You can upload images and videos to this relay and get a link to share them. Only the relay owner can upload to this relay, but anyone can view the images and videos.
|
||||
|
||||
## Not So Dumb Relay Features
|
||||
|
||||
**Web of Trust**: Protected from DM and Inbox spam by using a web of trust.
|
||||
|
||||
@@ -45,7 +45,6 @@ type Config struct {
|
||||
BackupIntervalHours int `json:"backup_interval_hours"`
|
||||
BlastrRelays []string `json:"blastr_relays"`
|
||||
BlossomPath string `json:"blossom_path"`
|
||||
BlossomURL string `json:"blossom_url"`
|
||||
}
|
||||
|
||||
type AwsConfig struct {
|
||||
@@ -62,12 +61,11 @@ func loadConfig() Config {
|
||||
OwnerNpub: getEnv("OWNER_NPUB"),
|
||||
DBEngine: getEnvString("DB_ENGINE", "lmdb"),
|
||||
BlossomPath: getEnvString("BLOSSOM_PATH", "blossom"),
|
||||
BlossomURL: getEnvString("BLOSSOM_URL", "http://localhost:3355"),
|
||||
RelayURL: getEnv("RELAY_URL"),
|
||||
RelayPort: getEnvInt("RELAY_PORT", 3355),
|
||||
RelayBindAddress: getEnvString("RELAY_BIND_ADDRESS", "0.0.0.0"),
|
||||
RelaySoftware: "https://github.com/bitvora/haven",
|
||||
RelayVersion: "v0.4.4",
|
||||
RelayVersion: "v1.0.0",
|
||||
PrivateRelayName: getEnv("PRIVATE_RELAY_NAME"),
|
||||
PrivateRelayNpub: getEnv("PRIVATE_RELAY_NPUB"),
|
||||
PrivateRelayDescription: getEnv("PRIVATE_RELAY_DESCRIPTION"),
|
||||
|
||||
Reference in New Issue
Block a user