Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions public/.well-known/ai-plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"schema_version": "v1",
"name": "GraphMindset",
"description": "Knowledge graph explorer with Lightning Network payments. Search nodes, manage sources, edit ontology schemas, boost content.",
"auth": {
"type": "none"
},
"api": {
"type": "openapi",
"url": "/openapi.json"
},
"logo_url": "/logo.png",
"contact_email": "",
"legal_info_url": ""
}
49 changes: 49 additions & 0 deletions public/llms.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# GraphMindset

> Knowledge graph explorer and ontology editor built on Lightning Network

GraphMindset is a frontend for exploring, searching, and managing knowledge graphs. It connects to a Neo4j-backed graph database via jarvis-backend and authenticates via jarvis-boltwall using Lightning Network L402 payments.

## Core Features

- Search knowledge graph nodes by keyword
- View and manage data sources (Twitter handles, YouTube channels, RSS feeds, GitHub repos)
- Add content via URL with automatic source type detection
- Visual ontology/schema editor for defining node types and relationships
- Lightning Network payments for premium features (L402 protocol)
- Boost nodes with Lightning keysend payments
- Media playback for podcast episodes and audio content

## Pages

- `/` - Main app: sidebar with sources + search bar + graph viewport
- `/ontology` - Schema/ontology editor with dagre-based hierarchy visualization

## Authentication

Authentication uses the Sphinx Bridge protocol (postMessage-based). Users authenticate via:
1. Sphinx desktop/mobile app (Lightning wallet with message signing)
2. WebLN browser extensions (e.g. Alby)

API requests include signed message parameters (`sig`, `msg`) for identity verification.

## API

All API requests go through a boltwall gateway that handles auth and payments.

### Key Endpoints
- `GET /isAdmin` - Check auth status, admin role, feature flags
- `GET /v2/nodes?q={query}` - Search graph nodes
- `GET /schema/all` - Get full ontology (node types + relationships)
- `POST /radar` - Add content source
- `POST /boost` - Boost a node with Lightning payment
- `GET /about` - Graph metadata (name, description)
- `GET /balance` - L402 token balance

## Tech Stack

- Next.js 16, TypeScript, Tailwind v4, shadcn/ui
- Zustand for state management
- dagre for graph layout
- sphinx-bridge for Lightning auth
- lsat-js for L402 payment protocol
5 changes: 5 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
User-agent: *
Allow: /

# LLM agent files
Sitemap: /llms.txt
Loading