An official port of CompassCAD for TypeScript. Aims to replace the HTML5 version.
You will need:
- Node >= v22
- npm
- Clone this repository
git clone https://github.com/zeankundev/CompassCAD -b react ccad-react
- Enter the directory
cd ccad-react
- Install dependencies
npm i
- Start server and have fun!
npm start
start: Starts a local development serverbuild: Generates a production-ready buildtest: Launches React's interactive testereject: Removes build dependencies. This is a one-way operation, so there is no going back. Consider your choices before runningnpm run eject
To use Blueprint, either on dev or deployed, you must create an .env file containing this:
REACT_APP_BLUEPRINT_API_KEY=<your Google AI Studio key>
If you haven't configured it yet, you should go to Google AI Studio and get your API key. Don't worry, you don't need to train or configure anything in the studio; all training and system prompt is hardcoded into the code, so feel free to tweak that!
If you want to help CompassCAD on React, you can either:
- Open a new Issue.
- Start a pull request
- Or talk to us in our Discord server.