Tech Stack

Maskr is built with modern, open-source tooling. The tables below list every major dependency by category.

Frontend

TechnologyRole
Next.js 16Framework (App Router, SSR, API routes)
React 19UI rendering
Tailwind CSS 4Utility-first styling
ZustandClient-side state management
React QueryServer state, caching, and background refetching
Framer MotionAnimations and transitions
Lucide ReactIcon library

Nostr

TechnologyRole
nostr-toolsNostr protocol utilities (event creation, relay pool, NIP helpers)
@noble/secp256k1secp256k1 elliptic curve cryptography for key generation and signing
@noble/hashesSHA-256 and other hash functions used in event ID computation
Effect.jsType-safe, composable signing pipeline with structured error handling

Backend

TechnologyRole
VercelHosting and serverless function deployment
LibSQL / TursoPrimary relational database
Drizzle ORMType-safe database access layer
Upstash RedisEdge caching for relay queries and rate limiting
Blossom (NIP-based media)Media storage for uploaded images and files via blossom.maskr.space
Maskr Hub (Rust)Custom Nostr relay hub aggregating events from the wider network
HonoLightweight HTTP framework for API routes
@simplewebauthnPasskey (WebAuthn) registration and authentication
NextAuthOAuth session management (Google)

Development

TechnologyRole
BunPackage manager and runtime
TypeScriptStatic typing across the entire codebase
VitestUnit and integration testing
PlaywrightEnd-to-end browser testing
ESLintCode linting and style enforcement