SpatialMetric is a professional investment intelligence platform dedicated to the Spatial Computing (XR/VR/AR) industry. It provides real-time market data, company valuations, news analysis, and ecosystem insights to help investors and developers stay ahead in the spatial computing era.
- Market Ticker: Real-time tracking of top spatial computing stocks and metrics using the Yahoo Finance API.
- Spatial Index: A proprietary metric tracking the overall health and growth of the spatial computing market.
- Company Intelligence: Detailed profiles and performance metrics for leading public and private XR companies.
- Ecocysem Events: A comprehensive resource hub for industry conferences, product launches, and ecosystem milestones.
- AI-Powered Insights: Automated daily briefs and deep-dive articles on market trends and technical innovations.
- Frontend: React, Vite, TypeScript, Tailwind CSS, shadcn/ui.
- Backend: Supabase (Database & Edge Functions).
- Data Sources: Yahoo Finance API (Market Data), curated XR RSS feeds (News).
- Node.js (v18+)
- npm or bun
-
Clone the repository:
git clone https://github.com/your-repo/spatialmetric.git cd spatialmetric -
Install dependencies:
npm install
-
Configure environment variables in
.env:VITE_SUPABASE_URLVITE_SUPABASE_PUBLISHABLE_KEYSUPABASE_SERVICE_ROLE_KEYMARKET_DATA_PROVIDER=yahoo
-
Start the development server:
npm run dev
You can manage the platform's content through the Supabase Dashboard:
- Articles: Manually edit or add professional deep-dives in the
articlestable. - AI Insights: Automatically populated by the
auto-contentfunction from thecontent_itemstable. - Market Data: Managed via the
market_daily_snapshotstable.
The platform is configured for automatic deployment via GitHub Actions (deploy.yml). Any push to the main branch will trigger a build and update the site.
- Ticker Not Showing Stats: Ensure the
daily-market-snapshotfunction has been invoked at least once. If Supabase is empty, the site will use its built-in XR industry fallback data. - Articles Not Showing: Verify that
is_publishedis set totruein thearticlestable.
MIT License - see LICENSE for details.