Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on macOS
Mercury - Train your own custom GPT. Chat with any file, or website.
Saved setup from 3 h ago
Will it work on macOS?
Heads-upIt also needs 4 settings in .env (2 secret).
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/Jordan-Gilliam/ai-template.git cd ai-template
Node.js LTS (no version pinned)
# needs nvm: brew install nvm (or https://github.com/nvm-sh/nvm) nvm install --lts
Fill in secrets: OPENAI_API_KEY, PINECONE_API_KEY
cp .env.example .env.local
npm ci
npm run dev
To create a new project based on this template using degit:
npx degit https://github.com/Jordan-Gilliam/ai-template ai-template
cd ai-template
code .
npm i
1536
eg:us-central1-gcpmercuryYou can find this in the OpenAI web portal under
API Keys
.env.local file and configure your environmentcp .env.example .env.local
# OpenAI
OPENAI_API_KEY="sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# Pinecone
PINECONE_API_KEY="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx"
PINECONE_ENVIRONMENT="us-central1-gcp"
PINECONE_INDEX_NAME="mercury"
npm run dev
Open http://localhost:3000 in your browser to view the app.
No reports for macOS yet.
GitManual AI Agent reads the 3 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.