Install
openclaw skills install super-personal-searchBuild, debug, and extend the Connectify founder network platform (React/Vite frontend + Express backend + Redis cache + OpenAI ranking + Apify ingestion). Use when working in this repository to run local development, modify `/api/query`, tune scoring and suggested actions, replace placeholder connection ingestion with real Apify actor calls, or troubleshoot frontend/backend data flow.
openclaw skills install super-personal-searchnpm install
.env from .env.example and set:
OPENAI_API_KEYREDIS_URLAPIFY_TOKENOPENAI_MODEL, PORTPrefer single-service mode when validating full user flows (dashboard + chat + API):
npm run build
npm start
Open http://localhost:3001.
Use split mode only when focusing on one side:
npm run devnpm run dev:serverserver.js: Express API, Redis seeding, /api/query, static hosting of dist/.agent.js: OpenAI relevance scoring and follow-up action generation.redis.js: Redis connection lifecycle, connection storage, query-context cache (30 min TTL).apify.js: Connection ingestion adapter (currently placeholder dataset).src/components/AIChatPanel.jsx: chat UX and /api/query client call.src/data/placeholders.js: dashboard placeholder cards/lists/map seed data.Return this shape from /api/query:
{
"results": [
{
"name": "string",
"role": "string",
"company": "string",
"platforms": ["string"],
"relevanceScore": 0,
"reason": "string",
"suggestedActions": ["string", "string"]
}
]
}
If changing fields, update both server.js and src/components/AIChatPanel.jsx together.
When replacing the stub in apify.js:
id, name, role, company, location, platforms, tags, lastInteraction, notessaveConnection(connection.id, connection).apify.js; avoid spreading Apify-specific code through server.js.When editing agent.js:
response_format: { type: 'json_object' }.safeJsonParse, bounded score 0-100).server.js if action generation fails.npm run build
npm start
curl -X POST http://localhost:3001/api/query \
-H "Content-Type: application/json" \
-d "{\"query\":\"Who in my network works in AI and is based in SF?\",\"sessionId\":\"local-test-session\"}"
results and cached repeat requests return quickly.npm run dev serves only frontend; /api/query will not work there unless a proxy/backend is also configured.server.js CORS currently allows http://localhost:3000; adjust if using different local origins.redis.js uses keys('connection:*'); avoid very large production datasets without pagination/scans..env or hardcode API tokens.