Skip to content

An AI-powered answer engine with a generative UI

License

Notifications You must be signed in to change notification settings

james-pratama/morphic

 
 

Repository files navigation

Morphic

An AI-powered answer engine with a generative UI.

capture

🔍 Overview

🧱 Stack

🚀 Quickstart

1. Fork and Clone repo

Fork the repo to your Github account, then run the following command to clone the repo:

git clone [email protected]:[YOUR_GITHUB_ACCOUNT]/morphic.git

2. Install dependencies

cd morphic
bun i

3. Fill out secrets

cp .env.local.example .env.local

Your .env.local file should look like this:

# Used to set the base URL path for OpenAI API requests.
# If you need to set a BASE URL, uncomment and set the following:
# OPENAI_API_BASE=

# Used to set the model for OpenAI API requests.
# If not set, the default is gpt-4-turbo.
# OPENAI_API_MODEL='gpt-4-turbo'

# OpenAI API key retrieved here: https://platform.openai.com/api-keys
OPENAI_API_KEY=[YOUR_OPENAI_API_KEY]

# Tavily API Key retrieved here: https://app.tavily.com/home
TAVILY_API_KEY=[YOUR_TAVILY_API_KEY]

4. Run app locally

bun dev

You can now visit http://localhost:3000.

🌐 Deploy

Host your own live version of Morphic with Vercel.

Deploy with Vercel

About

An AI-powered answer engine with a generative UI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.8%
  • CSS 1.6%
  • JavaScript 1.3%
  • Dockerfile 0.3%