Awesome
MemFree
<a href="https://www.memfree.me"> <img alt="MemFree – Hybrid AI Search Engine" src=".assets/memfree-ai-search.gif" width="100%"> </a> <a href="https://www.memfree.me"> <h1 align="center">MemFree</h1> <p align="center"><b>An Open Source Hybrid AI Search Engine</b></p> </a> <h4 align="center"> <a href="https://twitter.com/ahaapple2023"> <img src="https://img.shields.io/twitter/follow/llmreport?style=flat&label=%40ahaapple&logo=twitter&color=0bf&logoColor=fff" alt="Twitter" /> </a> <a href="https://github.com/memfreeme/memfree/blob/main/LICENSE"> <img src="https://img.shields.io/github/license/memfreeme/memfree?label=license&logo=github&color=f80&logoColor=fff" alt="License" /> </a> <a href="https://github.com/memfreeme/memfree/issues"> <img src="https://img.shields.io/github/commit-activity/m/memfreeme/memfree" alt="git commit activity" /> </a> <a href="https://chromewebstore.google.com/detail/memfree/dndjodcanbhkomcgihbhcejogiimdmpk"> <img src="https://img.shields.io/chrome-web-store/v/afpgkkipfdpeaflnpoaffkcankadgjfc?style=flat-square&color=blueviolet" alt="Chrome Web Store"> </a> <a href="https://discord.com/invite/7QqyMSTaRq"> <img src="https://img.shields.io/badge/chat-on%20Discord-blueviolet" alt="Discord Channel" /> </a> </h4> <br/>Introduction
MemFree is a Hybrid AI search engine that simultaneously performs searches on your personal knowledge base (such as bookmarks, notes, documents, etc.) and the Internet.
Highlights
- Hybrid AI Search Engine: Combines Knowledge Base and Internet Search
- One-Click Chrome Bookmarks Sync and Indexing
- Support Image-Based Search
- Integrates Multiple Search Engines as Sources
- Support multiple AI Models
- Self-Hosted, Super-Fast Serverless Vector Database
- Full Code Open Source
- One-Click Deployment
MemFree Hybrid AI Search Workflow
<img alt="MemFree Hybrid AI Search workflow" src="frontend/public/memfree-hybrid-ai-search.webp" width="100%">ChangeLog
Tech Stack
Hybrid AI Search Full Tech Stack
One-Click Deployment
MemFree One-Click Deployment guide
1 Deploy Backend with Zeabur
<a href="https://zeabur.com/templates/CE71SC?referralCode=memfree"><img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur"/></a>
2 Deploy Frontend with Vercel
<a href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmemfreeme%2Fmemfree&env=UPSTASH_REDIS_REST_URL,UPSTASH_REDIS_REST_TOKEN,OPENAI_API_KEY,MEMFREE_HOST,AUTH_SECRET,API_TOKEN&envDescription=https%3A%2F%2Fgithub.com%2Fmemfreeme%2Fmemfree%2Fblob%2Fmain%2Ffrontend%2Fenv-example&project-name=memfree&repository-name=memfree&demo-title=MemFree&demo-description=MemFree – Hybrid AI Search Engine&demo-url=https%3A%2F%2Fwww.memfree.me%2F&demo-image=https%3A%2F%2Fwww.memfree.me%2Fog.png&root-directory=frontend"><img src="https://vercel.com/button" alt="Deploy with Vercel"/></a>
3 One Command Deploy Backend with Fly.io
Self-Hosted Installation
Prerequisites
Intsall Bun
curl -fsSL https://bun.sh/install | bash
Upstash Redis
Create a Redis compatible database in seconds: Upstash Redis
OpenAI API Key
Get an OpenAI API Key: OpenAI
Serper API Key
Get a Serper API Key: Serper
Frontend
cd frontend
bun i
cp env.example .env
bun run dev
Vector Service
cd vector
bun i
bun run index.ts
Extension
cd extension
bun i
bun run build
Contributing
Here's how you can contribute:
- Open an issue if you believe you've encountered a bug.
- Make a pull request to add new features/make quality-of-life improvements/fix bugs.
Help and Support
Roadmap
License
MemFree is backed by MemFree and licensed under MIT.
Credits
- bun – Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
- lancedb – Developer-friendly, serverless vector database for AI applications
- fastembed-rs – Library for generating vector embeddings, reranking in Rust
- next-saas-stripe-starter – Open-source SaaS Starter with User Roles & Admin Panel.
- next-chrome-starter – Next.js Chrome Extension Starter
- ai-chatbot – A full-featured, hackable Next.js AI chatbot built by Vercel