init prometheus explorer for nostr relays

This commit is contained in:
pleb 2026-03-21 13:26:49 -07:00
commit 9c6aef1d92
4 changed files with 4122 additions and 0 deletions

27
.gitignore vendored Normal file
View File

@ -0,0 +1,27 @@
node_modules
# Output
.output
.vercel
.netlify
.wrangler
/.svelte-kit
/build
# OS
.DS_Store
Thumbs.db
# Env
.env
.env.*
!.env.example
!.env.test
# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
.data
.env
archive

View File

@ -0,0 +1,11 @@
{
"folders": [
{
"path": "."
},
{
"path": "../../../src/sandwichfarm/nostr-watch"
}
],
"settings": {}
}

22
package.json Normal file
View File

@ -0,0 +1,22 @@
{
"name": "relay-exporter",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.28.0",
"dependencies": {
"@nostrwatch/nocap": "^0.9.2",
"prom-client": "^15.1.3"
},
"devDependencies": {
"@types/node": "^25.5.0",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
}
}

4062
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff