Patrick 722738e095
Some checks failed
Deploy to GitHub Pages / deploy (push) Has been cancelled
Test / test (push) Has been cancelled
feat: Implement complete Router compatibility layer for NWelshman
- Added custom Router class implementing v0.0.2 interface that NWelshman expects
- Implemented all required Router methods (User, FromPubkeys, WithinMultipleContexts, etc.)
- Added RouterScenario implementation with proper relay selection and policy handling
- Fixed TypeScript type compatibility issues between NWelshman and NostrContext
- Added integration tests with real relay connections
- Fixed ESLint errors and added missing HTML metadata
- Created web manifest for PWA support
- Updated README with Router implementation details

The Router now properly bridges the version gap between @welshman/util v0.4.2
and the v0.0.2 interface that NWelshman requires, enabling full Welshman
functionality with intelligent relay routing.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-21 19:35:31 -04:00

19 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Nostr Client</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="A modern Nostr client application built with React, TailwindCSS, and Nostrify with Welshman routing." />
<meta property="og:type" content="website" />
<meta property="og:title" content="Nostr Client" />
<meta property="og:description" content="A modern Nostr client application built with React, TailwindCSS, and Nostrify with Welshman routing." />
<meta http-equiv="content-security-policy" content="default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-src 'self' https:; font-src 'self'; base-uri 'self'; manifest-src 'self'; connect-src 'self' blob: https: wss:; img-src 'self' data: blob: https:; media-src 'self' https:">
<link rel="manifest" href="/manifest.webmanifest">
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>