Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more

Lophus

Warning
Still under development and not ready for use.

CI codecov

Yet another TypeScript library for Nostr, oriented to web standards and edge environments.

Features

  • Declarative ๐ŸŒŠ - Lets you focus on the data flow rather than underlying logic.
  • Portable ๐Ÿ“ฆ - The core modules have no dependencies on runtime APIs.
  • Lightweight ๐Ÿชถ - The minified version of client core (client.min.js) is about 5 KB.
  • Modular ๐Ÿ”Œ - High-level interfaces and NIPs are implemented as optional modules, which enables you to keep an app as small as possible.
  • Compatible ๐Ÿค - Shares the same data structure for events as nostr-tools.

Documentation

Supported NIPs

Acknowledgments

Development of Lophus is inspired by the following projects:

  • nostr-tools - Reference implementation of the protocol in TypeScript
  • nostring - A Nostr relay library written in Deno
  • Hono - A fast, lightweight, and multi-platform Web framework for edges