Nostr Relay Nestjs

screenshot of Nostr Relay Nestjs
nestjs

A high-performance nostr relay, using PostgreSQL

Overview

The Nostr Relay powered by NestJS offers a high-performance solution that leverages PostgreSQL for enhanced reliability. Designed to facilitate the Nostr protocol, this relay is an essential tool for developers and users looking to dive deep into decentralized communication. With its straightforward deployment on platforms like Railway and its comprehensive support for various NIP standards, it stands out as a robust and user-friendly option for anyone seeking to utilize the Nostr framework effectively.

As a volunteer-driven implementation, the Nostr Relay is continually being optimized for better performance. It emphasizes not just functionality but also security, making it an appealing choice for both technical and non-technical users. Testing its reliability is encouraged, and it offers a free and easy addition to your relay list, ensuring an accessible entry into the world of decentralized messaging.

Features

  • Comprehensive Protocol Support: Fully implements basic protocol flow (NIP-01) and other essential features, offering a solid backbone for decentralized applications.
  • Encrypted Direct Messaging: Ensures privacy with NIP-04, allowing for secure communication between users.
  • Public Chat Functionality: NIP-28 enables users to engage in public discussions, fostering community interaction.
  • User Authentication: Implements client authentication through NIP-42, enhancing security by verifying user identities.
  • Web of Trust (WoT): The option to activate WoT ensures a trusted network by allowing users to establish deep relationships based on verified connections.
  • Event Creation Limits: Conforms with NIP-22 by allowing limits on event creation timestamps to maintain coherent timelines.
  • Trust Anchoring: Provides the option to customize trust depth (WOT_TRUST_DEPTH) for more tailored trust network setups.
  • Extensive Relay Information: Users can access relay information documents (NIP-11), adding transparency and usability.

The Nostr Relay embodies a powerful blend of versatility and security, making it an impressive choice for anyone interested in decentralized communication strategies.

nestjs
Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

zod
Zod

Zod is a TypeScript-first schema declaration and validation library. It allows you to define schemas that can validate data at runtime while providing excellent TypeScript inference, making it perfect for API validation, form validation, and type-safe data handling.