This is the frontend for VectorThink, your personal AI-powered second brain. VectorThink helps you store, organize, and retrieve information effortlessly.
VectorThink is an intuitive and powerful platform designed to serve as your secure, AI-powered digital second brain. It transforms your raw, stored information into readily accessible knowledge, allowing you to manage, organize, and effortlessly interact with your personal content corpus.
-
Intelligent & Factual Q&A: Our assistant leverages Retrieval-Augmented Generation (RAG) to provide answers grounded only in your stored content, eliminating the guesswork and hallucinations common in general-purpose LLMs.
-
Personalized Search Security (Multi-Tenant): Every search is filtered by user ID. Your queries only run against your own data, ensuring complete privacy and security in a multi-user environment.
-
State-of-the-Art Indexing: Content is converted into rich, 3072-dimensional vector embeddings using Google's Gemini embedding model (gemini-embedding-001), ensuring high semantic accuracy when retrieving complex information.
-
Intuitive Content Management: Easily store and organize various content types (notes, links, etc.) through a clean user dashboard.
-
Session-Based Chat: Conversation is managed per session with a clear 20-message limit to maintain speed and resource efficiency.
-
User Authentication: Secure sign-in and sign-up using JWT and strong password hashing using bcrypt.
This project is built with a modern and robust tech stack:
- React - A JavaScript library for building user interfaces.
- Vite - A next-generation frontend tooling that is fast and lean.
- TypeScript - A typed superset of JavaScript that compiles to plain JavaScript.
- Tailwind CSS - A utility-first CSS framework for rapid UI development.
- React Router - For handling routing in the application.
- Axios - A promise-based HTTP client for the browser and Node.js.
To get a local copy up and running, follow these simple steps.
or
SignIn with test credentials on we app hosted on vercel - (id - [email protected] | password - Vector@123)
Make sure you have Node.js and npm (or yarn) installed on your machine.
- Clone the repository:
git clone https://github.com/your-username/vectorthink-client.git
- Navigate to the project directory:
cd vectorthink-client - Install NPM packages:
npm install
In the project directory, you can run:
npm run dev: Runs the app in the development mode. Open http://localhost:5173 to view it in the browser.npm run build: Builds the app for production to thedistfolder.npm run lint: Lints the code using ESLint.npm run preview: Starts a local server to preview the production build.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
- 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.
