Skip to content

Latest commit

 

History

History
87 lines (55 loc) · 2.04 KB

File metadata and controls

87 lines (55 loc) · 2.04 KB

immortal

Immortal


The Immortal is a Nostr relay implementation in Rust.

Immortal is aimed and designed to be scalable, high-performance, and configurable. It's a good choice for paid relays or big community relays, and not a good choice for a personal relay.

Installation & Running

Prerequisites

  • Rust 1.70 or later
  • Cargo (comes with Rust)

Building from Source

# Clone the repository
git clone https://github.com/dezh-tech/immortal.git
cd immortal

# Build the project
cargo build --release

# Run the relay
cargo run --release

Configuration

The relay can be configured using a config.toml file. See the example configuration in the repository.

Telegram Bot Integration

Immortal includes optional Telegram bot integration for monitoring and notifications. To enable the bot:

  1. Create a new bot with @BotFather on Telegram
  2. Get your bot token
  3. Add the token to your config.toml:
telegram_bot_token = "YOUR_BOT_TOKEN_HERE"

The bot supports the following commands:

  • /start - Welcome message
  • /status - Get relay status
  • /help - Show available commands

If no token is provided, the relay will run without the Telegram bot.

Updates

Updates, changes, or community discussions can be followed on the GitHub issue/discussion or the Dezh Technologies Nostr profile.

Contribution

All kinds of contributions are welcome! Read the Contribution guides before any code contribution.

Donation

Donations and financial support for the development process are possible using Bitcoin and Lightning:

on-chain:

bc1qfw30k9ztahppatweycnll05rzmrn6u07slehmc

lightning:

donate@dezh.tech

License

The Immortal software is published under the MIT License, and contributing to and using this code means you agree with the license.