Drop-in React components for live stock scores and market insight articles. Works in any Vite + React app — Lovable, Next.js, CRA — and ships with a ready-to-paste Lovable knowledge prompt.
Pick a ticker. Lovable opens with a prompt that already contains the install, the import, the provider wrap, and the component — its agent does everything in one shot.
hrspx_embed_REPLACE_ME with your real key. Either edit the .env the agent created, or move the key to Lovable's Environment Variables panel if your project has one.npm install @haruspex-guru/react
VITE_HARUSPEX_KEY=hrspx_embed_...
Need a key? Contact us — self-serve key generation is shipping soon.
import { HaruspexProvider, ScoreCard } from "@haruspex-guru/react";
import "@haruspex-guru/react/styles.css";
export default function App() {
return (
<HaruspexProvider embedKey={import.meta.env.VITE_HARUSPEX_KEY}>
<ScoreCard symbol="AAPL" />
</HaruspexProvider>
);
}The "Open in Lovable" button above already includes everything the agent needs — the knowledge prompt is a backup if you want to paste it into Lovable's Knowledge tab manually. The full prompt also ships inside the npm package as node_modules/@haruspex-guru/react/PROMPT.md.