R-Chat 🚀
R-Chat is a modern chat application built with Next.js that allows users to chat in real-time, manage multiple chat sessions, and interact with intelligent assistant responses using both local models (via Ollama) and API-based models.
Interface
Features
-
Switch Between Models: Easily switch between local and API models 🔄
-
Custom API Models: Add your own API models effortlessly 🛠️
-
Multiple Providers: Choose between different providers (more options coming soon!) 🌐
-
Local Chat History: All chat history is stored locally, ensuring your privacy 🔒
-
Efficient Storage Management: Monitor and clear chat storage easily 🗑️
-
Dynamic Reasoning: Enjoy a neat bubble for the thinking process (Reasoning Models)💡
-
Toggle Reasoning View: Prefer a cleaner interface? Hide the reasoning process with a click! 😊
Getting Started
Prerequisites
- Node.js (v14 or above)
- npm, yarn, or pnpm
Installation & Setup
- Clone the Repository:
git clone https://github.com/hanish-rishen/R-Chat.git cd r-chat
- Install Dependencies:
npm install # or yarn install # or pnpm install
- Run Local Models (if you have):
Open a separate terminal and run:
ollama serve
- Start the Development Server:
npm run dev # or yarn dev # or pnpm dev
- Access the Application: Open http://localhost:3000 in your browser.