Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CodyTseng/divine-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

582 Commits

Repository files navigation

diVine Web

OpenVine-compatible Nostr client for short-form looping videos. Built with React 18.x, TailwindCSS 3.x, Vite, shadcn/ui, and Nostrify.

Features

  • 6-second looping videos (Kind 34236)
  • MP4 and GIF support with auto-loop playback
  • Blurhash placeholders for smooth progressive loading
  • Social features: Likes, reposts, follows, hashtag discovery
  • Feed types: Home (following), Discovery, Trending, Hashtag, Profile
  • Primary relay: wss://relay.divine.video

Relay Architecture

relay.divine.video is a high-performance OpenSearch-backed relay with NIP-50 search extensions.

NIP-50 Search Support

The relay implements NIP-50 full-text search with advanced sorting:

{
 kinds: [34236],
 search: "sort:hot", // Recent + high engagement
 limit: 50
}

Supported sort modes:

  • sort:hot - Recent events with high engagement (trending)
  • sort:top - Most referenced events (popular all-time)
  • sort:rising - Recently created events gaining engagement
  • sort:controversial - Events with mixed reactions

Combined search and sort:

{
 kinds: [34236],
 search: "sort:hot bitcoin", // Hot bitcoin videos
 limit: 50
}

Feed types using NIP-50:

  • Trending (sort:hot)
  • Discovery (sort:top)
  • Home following feed (sort:top)
  • Hashtag feeds (sort:hot)
  • Full-text search (with relevance scoring)

Fallback: Standard Nostr relays without NIP-50 will return chronological results.

For detailed relay documentation, see docs/relay-architecture.md.

Development

Built with MKStack template - a starter for Nostr client applications.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • TypeScript 97.3%
  • HTML 1.3%
  • JavaScript 1.1%
  • CSS 0.3%

AltStyle によって変換されたページ (->オリジナル) /