mirror of
https://github.com/hanzoai/computer.git
synced 2026-11-21 09:10:18 +00:00
Under 0.3.63 the held revoke and the grant waited together in fbevents' queue, so an eu visitor who pressed Accept all stayed revoked and no PageView reached the Pixel. 0.3.66 fixes that; 0.3.65 adds the audience events (product_viewed, search_performed, cta_clicked, the leads). Every export this site imports is unchanged.
2.0 KiB
2.0 KiB
Hanzo Computer
Overview
A modern ecommerce platform for purchasing AI compute hardware, featuring the DGX Spark instance ($4,000) as the only credit card purchasable item, with enterprise solutions requiring sales consultati
Tech Stack
- Language: TypeScript/JavaScript
Build & Run
pnpm install && pnpm build
pnpm test
Structure
computer/
App.tsx
CHANGELOG.md
CONTENT_IMPROVEMENTS.md
ECOMMERCE_FEATURES.md
EMAIL_NOTIFICATIONS.md
LICENSE
LLM.md
README.md
api/
components/
docs/
e2e/
index.html
index.tsx
metadata.json
Key Files
README.md-- Project documentationpackage.json-- Dependencies and scripts
Analytics and deploy
src/telemetry.tsxis the docs.hanzo.ai pattern, mounted inside the router:@hanzo/event's provider sends the pageview toPOST api.hanzo.ai/v1/eventwith projectcomputer's publishable key, for every visitor (first party),startTagsloads GA4 and the Meta pixel from cloud (GET /v1/project/tags) under cloud's rule for the visitor's region (@hanzo/event 0.3.66: at once in the US, on consent in the EU), andsrc/banner.tsxis@hanzo/ui/consentunder its ownGuiProvider, loaded lazily so the gui renderer stays off the first paint. No tag id lives here; the key is stated because @hanzo/event's SITE_KEY does not list hanzo.computer.- gui is react-native-web on the browser, so
vite.config.tsaliasesreact-nativetoreact-native-weband prefers.web.*extensions. package.jsonoverrides hold one@hanzo/gui, one@hanzo/eventandreact-native0.87 (the peer npm would otherwise pull wants React 19.3).- Deploy: push to main.
.github/workflows/cicd.ymlruns hanzoai/ci, which buildsdist/and publishes it as Sites projectcomputer(s3://hanzo-sites/hanzo/computer), the root hanzo.computer and computer.hanzo.ai both serve. A caller under.hanzo/workflows/never ran: the forge copy of this repo is a mirror with Actions off.