Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

morphic

> 前端框架
Open source

An AI-powered search engine with a generative UI

9.0K stars0 likes0 views
WebsiteGitHub

About

An AI-powered search engine with a generative UI

Features

  • AI-powered search with grounded, cited answers
  • Generative UI — answers render rich inline components (source-credited images, grids, headings) live from a streamed JSON spec, beyond plain markdown
  • Search modes: Quick and Adaptive
  • Model selector with dynamic provider detection (OpenAI, Anthropic, Google, Ollama, Vercel AI Gateway, OpenAI-compatible providers)
  • Multiple search providers (Tavily, SearXNG, Brave, Exa)
  • Chat history stored in PostgreSQL
  • Share search results with unique URLs
  • File upload support
  • User authentication with Supabase Auth
  • Guest mode for anonymous usage
  • Docker deployment ready

Installation

Docker (Recommended)

The quickest way to run Morphic locally:

bash
docker pull ghcr.io/miurla/morphic:latest

Then set up with Docker Compose:

  1. Clone the repository and configure environment:
bash
git clone https://github.com/miurla/morphic.git
cd morphic
cp .env.local.example .env.local
  1. Edit .env.local and set at least one AI provider API key:
bash
OPENAI_API_KEY=your_openai_key

See supported providers for other options (Anthropic, Google, Ollama, Vercel AI Gateway, OpenAI-compatible providers).

  1. Start all services:
bash
docker compose up -d
  1. Visit http://localhost:3000 and select your model from the model selector.

Docker Compose starts PostgreSQL, Redis, SearXNG, and Morphic automatically. No additional search API key is needed — SearXNG is included.

See the Docker Guide for more options including building from source and file upload configuration.

Local Development

  1. Clone and install:
bash
git clone https://github.com/miurla/morphic.git
cd morphic
bun install
  1. Configure environment:
bash
cp .env.local.example .env.local

Edit .env.local and set your API keys:

bash
OPENAI_API_KEY=your_openai_key
TAVILY_API_KEY=your_tavily_key

To enable chat history, authentication, file upload, and other features, see CONFIGURATION.md.

For what a self-hosted instance sends outbound, and what is off by default, see PRIVACY.md.

  1. Start the dev server:
bash
bun dev

Visit http://localhost:3000.

Deploy

Vercel

Contributing

We welcome contributions! Please see our Contributing Guide for details on how to get started, including local development setup.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Issues· 55 open

View all issuesOpen on GitHub
  • #1046

    Guest chat requests with malformed messages fail as stream errors instead of 400

    automatedUpdated Sep 27, 2026
  • #1035

    PDF attachment token estimate is far below the provider's, so cold-start guards never fire on large PDFs

    automatedUpdated Sep 23, 2026
  • #1002

    The chat cache is never invalidated by the assistant answer

    automatedUpdated Sep 20, 2026
  • #1033

    Add Webz.io to the search provider registry

    Updated Sep 20, 2026
  • #986

    Pasted content is replayed in full on every turn, outside every history guard

    automatedUpdated Aug 25, 2026
  • #929

    Inline image spec blocks are rarely emitted: domain-restricted searches plus unfollowed image instruction

    automatedUpdated Aug 7, 2026
  • #703

    [BUG] Trouble with Ollama

    Updated Apr 1, 2026
  • #570

    [BUG] Docker instance does not allow creating new user

    Updated Mar 18, 2026
  • #744

    How many parallel requests can it handle? (Highload ready)

    Updated Nov 12, 2025
  • #568

    [BUG] <title>

    Updated Aug 27, 2025

> Tags

TypeScriptgenerative-aigenerative-uinextjsollama

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架