ScholarSearch is a Next.js application that leverages Google's Gemini AI to provide intelligent academic search results. The application allows users to search for scholarly articles, research papers, and other academic resources.
- AI-powered search using Google's Gemini API
- Academic content discovery
- Filter results by content type
- Modern UI with dark/light mode support
- Node.js 16.x or higher
- npm or yarn
- Google Gemini API key
- Clone the repository
- Install dependencies:
npm install
# or
yarn install- Set up environment variables:
- Copy
.env.local.exampleto.env.local - Add your Gemini API key to
.env.local
- Copy
NEXT_PUBLIC_GEMINI_API_KEY=your_api_key_here
- Run the development server:
npm run dev
# or
yarn dev- Open http://localhost:3000 in your browser
- Go to Google AI Studio
- Sign in with your Google account
- Create a new API key
- Copy the API key and add it to your
.env.localfile
- Enter a search query in the search bar
- View the AI-generated search results
- Filter results by content type using the tabs
- Click on results to view the source or download content
- Next.js
- React
- TypeScript
- Tailwind CSS
- Google Gemini AI
- shadcn/ui components
This project is licensed under the MIT License.