AI Notes is a self-hostable, markdown-based note-taking web application designed to provide users with a privacy-focused, AI-powered knowledge management system. The application integrates Retrieval-Augmented Generation (RAG) and semantic search capabilities, allowing users to interact with their notes using an AI chatbot that generates responses based on stored content. The system is optimized for in-browser execution using Small Language Models (SLMs) and lightweight vector databases, ensuring efficient and secure knowledge retrieval without relying on cloud-based services.
Clone the Repository:
git clone https://github.com/your-username/ai-notes.git
cd ai-notes
Install Dependencies:
npm install
Run the Application Locally:
npm run dev
The application will be available at http://localhost:3000.
Self-Hosting with Docker:
docker build -t ai-notes .
docker run -p 3000:3000 ai-notes
The application will be available at http://localhost:3000.ai-notes/
├── public/ # Static assets
├── app/ # Source code
│ ├── _components/ # Shared React components
│ ├── _hooks/ # Custom React hooks
│ ├── _providers/ # Context providers (e.g., AI, Toast, Query)
│ ├── _store/ # Zustand stores for state management
│ ├── _utils/ # Utility functions
│ ├── _workers/ # Web workers for AI tasks
│ ├── api/ # API routes for backend logic
│ ├── chat/ # Chat-related components and pages
│ ├── graph/ # Graph visualization components
│ ├── vault/ # Note management components
│ └── layout.tsx # Application layout
├── Dockerfile # Docker configuration
├── next.config.js # Next.js configuration
├── package.json # Node.js dependencies and scripts
└── README.md # Project documentation
Contributions are welcome! If you'd like to contribute, please follow these steps:
For any questions or feedback, please contact:
AI Notes is a project developed as part of the BSc Computer Science program at the University of Hertfordshire.
Supervisor: Dr. Iain Werry
Academic Year: 2024/25
108 commits
TypeScript
98.6%
AI Notes is a self-hostable, markdown-based note-taking web application designed to provide users with a privacy-focused, AI-powered knowledge management system. The application integrates Retrieval-Augmented Generation (RAG) and semantic search capabilities, allowing users to interact with their notes using an AI chatbot that generates responses based on stored content. The system is optimized for in-browser execution using Small Language Models (SLMs) and lightweight vector databases, ensuring efficient and secure knowledge retrieval without relying on cloud-based services.
Clone the Repository:
git clone https://github.com/your-username/ai-notes.git
cd ai-notes
Install Dependencies:
npm install
Run the Application Locally:
npm run dev
The application will be available at http://localhost:3000.
Self-Hosting with Docker:
docker build -t ai-notes .
docker run -p 3000:3000 ai-notes
The application will be available at http://localhost:3000.ai-notes/
├── public/ # Static assets
├── app/ # Source code
│ ├── _components/ # Shared React components
│ ├── _hooks/ # Custom React hooks
│ ├── _providers/ # Context providers (e.g., AI, Toast, Query)
│ ├── _store/ # Zustand stores for state management
│ ├── _utils/ # Utility functions
│ ├── _workers/ # Web workers for AI tasks
│ ├── api/ # API routes for backend logic
│ ├── chat/ # Chat-related components and pages
│ ├── graph/ # Graph visualization components
│ ├── vault/ # Note management components
│ └── layout.tsx # Application layout
├── Dockerfile # Docker configuration
├── next.config.js # Next.js configuration
├── package.json # Node.js dependencies and scripts
└── README.md # Project documentation
Contributions are welcome! If you'd like to contribute, please follow these steps:
For any questions or feedback, please contact:
AI Notes is a project developed as part of the BSc Computer Science program at the University of Hertfordshire.
Supervisor: Dr. Iain Werry
Academic Year: 2024/25
108 commits
TypeScript
98.6%