Document Chat is an open source project that enables users to engage in chat discussions centered around documents. Built using React, Next.js, and Supabase, this platform integrates real-time chat functionalities with document management, providing a seamless user experience.
- Real-Time Chat: Users can instantly send and receive messages.
- Document-Centric Discussions: Each chat can be associated with specific documents to enable focused discussions.
- Authentication: Integrated with Supabase Auth to ensure secure access to user-specific chats.
- Responsive Design: A fully responsive web interface compatible with various devices.
- Frontend: React, Next.js
- Backend: Supabase (for database and authentication)
- State Management: React Hooks
- Routing: Next Router
- Node.js
- A Supabase account
- Clone the repository
git clone https://github.com/jacobsomer/Document-Chat.git
cd Document-Chat
- Install dependencies
npm install
- Set up environment variables
Create a .env.local
file at the root of your project and fill in the following variables according to your Supabase setup:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
NEXT_PUBLIC_SUPABASE_URL_DEV=your_supabase_url_for_dev
NEXT_PUBLIC_SUPABASE_ANON_KEY_DEV=your_supabase_anon_key_for_dev
- Run the development server
npm run dev
Visit http://localhost:3000
in your browser to see the application in action.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Jacob Somer - @jacob_somer_ - jsomer@cmu.edu