mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-10 23:47:12 +02:00
Adds a Nostr bot that listens for mentions in NIP-29 group chats and helps users craft REQ queries for the Nostr protocol. Features: - Listens for @mentions in groups.0xchat.com'NkeVhXuWHGKKJCpn - Uses Claude (via pi-ai SDK) to understand user questions - Provides REQ command suggestions with explanations - Tools to look up event kinds, NIPs, and their relationships Stack: TypeScript, nostr-tools, @mariozechner/pi-ai https://claude.ai/code/session_01X4HWkMGrghBv2RfY89L5Lz
25 lines
576 B
JSON
25 lines
576 B
JSON
{
|
|
"name": "@grimoire/bot",
|
|
"version": "0.0.1",
|
|
"description": "Grimoire REQ assistant bot for Nostr group chat",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"dev": "tsx src/index.ts"
|
|
},
|
|
"dependencies": {
|
|
"@mariozechner/pi-ai": "^0.51.2",
|
|
"@noble/hashes": "^1.8.0",
|
|
"@sinclair/typebox": "^0.34.48",
|
|
"nostr-tools": "^2.10.4",
|
|
"websocket-polyfill": "^0.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.5",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.2"
|
|
}
|
|
}
|