A modern note-taking application with AI-powered summarization capabilities, built with React, TypeScript, and Google Cloud Vertex AI.
- 📝 Create, edit, and delete notes
- 🤖 AI-powered text summarization using Google Cloud Vertex AI
- 🌓 Dark mode support
- 📱 Responsive design
- 💾 Local storage for notes persistence
- ⚡ Fast and modern UI with Framer Motion animations
- React 18
- TypeScript
- Vite
- Tailwind CSS
- Framer Motion
- Google Cloud Vertex AI
- Supabase (for backend services)
- Node.js (v16 or higher)
- npm or yarn
- Google Cloud account with Vertex AI API enabled
- Supabase account
Create a .env file in the root directory with the following variables:
# Supabase Configuration
VITE_SUPABASE_URL=your_supabase_project_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
# Google Cloud Configuration (for Supabase Edge Functions)
GOOGLE_CLOUD_PROJECT=your_google_cloud_project_id- Clone the repository:
git clone https://github.com/yourusername/smart-notes.git
cd smart-notes- Install dependencies:
npm install
# or
yarn install- Start the development server:
npm run dev
# or
yarn dev- Build for production:
npm run build
# or
yarn build- Create a new Supabase project
- Enable Edge Functions
- Deploy the summarize function from the
supabase/functionsdirectory - Set up the required environment variables in your Supabase project settings
- Create a new Google Cloud project
- Enable the Vertex AI API
- Set up authentication credentials
- Configure the project ID in your Supabase Edge Function environment variables
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.