René's URL Explorer Experiment


Title: Add NIP-11 relay metadata support · Issue #94 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub

Open Graph Title: Add NIP-11 relay metadata support · Issue #94 · JavaScriptSolidServer/JavaScriptSolidServer

X Title: Add NIP-11 relay metadata support · Issue #94 · JavaScriptSolidServer/JavaScriptSolidServer

Description: Feature Request: NIP-11 Relay Metadata Support Currently, JSS implements NIP-01 (basic relay), NIP-07 (browser extensions), and NIP-98 (HTTP Auth), but does not implement NIP-11 (Relay Information Document). What is NIP-11? NIP-11 allows...

Open Graph Description: Feature Request: NIP-11 Relay Metadata Support Currently, JSS implements NIP-01 (basic relay), NIP-07 (browser extensions), and NIP-98 (HTTP Auth), but does not implement NIP-11 (Relay Information ...

X Description: Feature Request: NIP-11 Relay Metadata Support Currently, JSS implements NIP-01 (basic relay), NIP-07 (browser extensions), and NIP-98 (HTTP Auth), but does not implement NIP-11 (Relay Information ...

Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/94

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add NIP-11 relay metadata support","articleBody":"## Feature Request: NIP-11 Relay Metadata Support\n\nCurrently, JSS implements NIP-01 (basic relay), NIP-07 (browser extensions), and NIP-98 (HTTP Auth), but does not implement **NIP-11** (Relay Information Document).\n\n### What is NIP-11?\n\nNIP-11 allows relays to advertise their capabilities, supported NIPs, limitations, and administrative contact information to clients. When a relay receives an HTTP request with `Accept: application/nostr+json` header to the WebSocket URL, it should return a JSON document with relay metadata.\n\n### Current Behavior\n\n```bash\ncurl -H \"Accept: application/nostr+json\" https://example.com/relay\n# Returns 404\n```\n\n### Expected Behavior\n\n```bash\ncurl -H \"Accept: application/nostr+json\" https://example.com/relay\n# Returns JSON metadata:\n{\n  \"name\": \"My JSS Relay\",\n  \"description\": \"JavaScript Solid Server with Nostr relay\",\n  \"pubkey\": \"...\",\n  \"supported_nips\": [1, 7, 98],\n  \"software\": \"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer\",\n  \"version\": \"0.0.76\",\n  ...\n}\n```\n\n### Why This Matters\n\n- **Discoverability**: Relay aggregators like nostr.watch, nostr.info, and NIP-66 monitors rely on NIP-11 to discover and list relays\n- **Client compatibility**: Many Nostr clients check NIP-11 to understand relay capabilities before connecting\n- **Standards compliance**: NIP-11 is the standard way relays advertise themselves in the Nostr ecosystem\n\n### Design Concerns\n\n**Note:** The NIP-11 design of using content negotiation to multiplex HTTP and WebSocket on the same URL is arguably suboptimal. It would be cleaner to serve metadata at dedicated endpoints like:\n- `/.well-known/nostr-relay.json` (follows well-known conventions)\n- `/relay.json` or `/nip11.json` (explicit and simple)\n\nHowever, for ecosystem compatibility, implementing the standard NIP-11 conneg approach is necessary. JSS could potentially serve metadata at **both** the standard conneg endpoint and a cleaner alternative endpoint.\n\n### Proposed Implementation\n\n1. Detect HTTP requests with `Accept: application/nostr+json` to `/relay` (or configured `--nostr-path`)\n2. Return JSON metadata instead of attempting WebSocket upgrade\n3. Include relevant fields:\n   - `name`, `description`, `pubkey` (admin contact)\n   - `supported_nips`: `[1, 7, 98]` (and others JSS implements)\n   - `software`: Repository URL\n   - `version`: JSS version\n   - Limitation fields: `max_message_length`, `max_subscriptions`, etc.\n4. Optionally also serve at `/.well-known/nostr-relay.json` for better DX\n\n### References\n\n- [NIP-11 Specification](https://github.com/nostr-protocol/nips/blob/master/11.md)\n- [nostr.watch](https://nostr.watch/) - Primary relay aggregator\n- [NIP-66](https://github.com/nostr-protocol/nips/blob/master/66.md) - Relay discovery (builds on NIP-11)","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-01-16T23:06:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/94/JavaScriptSolidServer/issues/94"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3061c1e3-bb1e-9a42-5b13-972c620fa50c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD6E6:2D10BB:46074A:600667:69774E17
html-safe-noncee42f5499bbdba782f8001fc47878c322c44a505a9f842269edc10b5db6e5da18
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkU2OjJEMTBCQjo0NjA3NEE6NjAwNjY3OjY5Nzc0RTE3IiwidmlzaXRvcl9pZCI6IjQxMjQ5Mjk3MjcyMDQzODAxODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc550201e0d3b24f5b61a3a0ee63a0f7fde075feee0d52711f5618a3fada8a0a5
hovercard-subject-tagissue:3823963405
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/JavaScriptSolidServer/94/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9d7ba878adc532b1e352ade720b53e35aa8d8c3d18a0f0f83b6fdc11992132b8/JavaScriptSolidServer/JavaScriptSolidServer/issues/94
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9d7ba878adc532b1e352ade720b53e35aa8d8c3d18a0f0f83b6fdc11992132b8/JavaScriptSolidServer/JavaScriptSolidServer/issues/94
og:image:altFeature Request: NIP-11 Relay Metadata Support Currently, JSS implements NIP-01 (basic relay), NIP-07 (browser extensions), and NIP-98 (HTTP Auth), but does not implement NIP-11 (Relay Information ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemelvincarvalho
hostnamegithub.com
expected-hostnamegithub.com
None3310064f35a62c06a4024ba37f41c06836f39376a095c2dfd2c4b693c34965be
turbo-cache-controlno-preview
go-importgithub.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id958025407
octolytics-dimension-repository_nwoJavaScriptSolidServer/JavaScriptSolidServer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id958025407
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/JavaScriptSolidServer
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release67d5f8d1d53c3cc4f49fc3bb8029933c3dc219e6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/94#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2F94
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2F94
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=JavaScriptSolidServer%2FJavaScriptSolidServer
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/94
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/94
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/94
JavaScriptSolidServer https://github.com/JavaScriptSolidServer
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Notifications https://github.com/login?return_to=%2FJavaScriptSolidServer%2FJavaScriptSolidServer
Fork 4 https://github.com/login?return_to=%2FJavaScriptSolidServer%2FJavaScriptSolidServer
Star 4 https://github.com/login?return_to=%2FJavaScriptSolidServer%2FJavaScriptSolidServer
Code https://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Issues 59 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues
Pull requests 6 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulls
Actions https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/actions
Projects 0 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/projects
Security 0 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/security
Insights https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulse
Code https://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Issues https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues
Pull requests https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulls
Actions https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/actions
Projects https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/projects
Security https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/security
Insights https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulse
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/94
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/94
Add NIP-11 relay metadata supporthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/94#top
https://github.com/melvincarvalho
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
on Jan 16, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/94#issue-3823963405
NIP-11 Specificationhttps://github.com/nostr-protocol/nips/blob/master/11.md
nostr.watchhttps://nostr.watch/
NIP-66https://github.com/nostr-protocol/nips/blob/master/66.md
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.