(In Progress)
Note
Please note that there are differences between this repository and the official website https://app.queue.cx The official website is a fork of this repository with additional features.
Exploration & Automation
- App framework: Next.js
- Map: [MapBox] (https://www.mapbox.com/)
- Location Data & News: ๐
- Text streaming / Generative UI: Vercel AI SDK
- Generative Model: OpenAI
- Search API: Tavily AI / Serper
- Reader API: Jina AI
- Serverless Database: Upstash
- Component library: shadcn/ui
- Headless component primitives: Radix UI
- Styling: Tailwind CSS
Fork the repo to your Github account, then run the following command to clone the repo:
git clone [email protected]:[YOUR_GITHUB_ACCOUNT]/mapgpt.git
cd mapgpt
bun install
Follow the guide below to set up Upstash Redis. Create a database and obtain UPSTASH_REDIS_REST_URL
and UPSTASH_REDIS_REST_TOKEN
. Refer to the Upstash guide for instructions on how to proceed.
cp .env.local.example .env.local
Your .env.local file should look like this:
# OpenAI API key retrieved here: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# Tavily API Key retrieved here: https://app.tavily.com/home
TAVILY_API_KEY=
# Upstash Redis URL and Token retrieved here: https://console.upstash.com/redis
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
Upstash Vector store URL and Token retrieved here: https://console.upstash.com/vector
UPSTASH_VECTOR_REST_URL=
UPSTASH_VECTOR_REST_TOKEN=
Note: This project focuses on Generative UI and requires complex output from LLMs. Currently, it's assumed that the official OpenAI models will be used. Although it's possible to set up other models, if you use an OpenAI-compatible model, but we don't guarantee that it'll work.
bun dev
You can now visit http://localhost:3000.
Host your own live version of MapGPT with Vercel or Cloudflare Pages.
- Fork the repo to your GitHub.
- Create a Cloudflare Pages project.
- Select
mapgpt
repo andNext.js
preset. - Set
OPENAI_API_KEY
andTAVILY_API_KEY
env vars. - Save and deploy.
- Cancel deployment, go to
Settings
->Functions
->Compatibility flags
, addnodejs_compat
to preview and production. - Redeploy.
If you want to use MapGPT as a search engine in your browser, follow these steps:
- Open your browser settings.
- Navigate to the search engine settings section.
- Select "Manage search engines and site search".
- Under "Site search", click on "Add".
- Fill in the fields as follows:
- Search engine: mapgpt
- Shortcut: mapgpt
- URL with %s in place of query:
https://app.queue.cx/search?q=%s
- Click "Add" to save the new search engine.
- Find "mapgpt" in the list of site search, click on the three dots next to it, and select "Make default".
This will allow you to use mapgpt as your default search engine in the browser.
- OpenAI
- gpt-4o
- gpt-4-turbo
- gpt-3.5-turbo
- Google
- Gemini 1.5 pro (In Progress)
- Anthropic
- Claude 3.5 Sonnet
- Ollama (Unstable)
- mistral/openhermes & Phi3/llama3
- Grok (In Progress)
- Groq
- LLaMA3 8b
- LLaMA3 70b
- Grok (In Progress)