base on Scira (Formerly MiniPerplx) is a minimalistic AI-powered search engine that helps you find information on the internet and cites it too. Powered by Vercel AI SDK! Search with models like xAI's Grok 3. # Scira ![Scira](/app/opengraph-image.png) A minimalistic AI-powered search engine that helps you find information on the internet. ## Powered By <div align="center"> <div style="display: flex; justify-content: center; align-items: center; gap: 80px; margin: 20px 0;"> <a href="https://sdk.vercel.ai/docs"> <img src="/public/one.svg" alt="Vercel AI SDK" height="40" /> </a> <a href="https://tavily.com"> <img src="/public/four.svg" alt="Tavily AI" height="40" /> </a> </div> </div> - [Vercel AI SDK](https://sdk.vercel.ai/docs) - For AI model integration and streaming - [Tavily AI](https://tavily.com) - For search grounding and web search capabilities ## Special Thanks <div align="center" markdown="1"> [![Warp](https://github.com/user-attachments/assets/2bda420d-4211-4900-a37e-e3c7056d799c)](https://www.warp.dev/?utm_source=github&utm_medium=referral&utm_campaign=scira)<br> ### **[Warp, the intelligent terminal](https://www.warp.dev/?utm_source=github&utm_medium=referral&utm_campaign=scira)**<br> [Available for MacOS, Linux, & Windows](https://www.warp.dev/?utm_source=github&utm_medium=referral&utm_campaign=scira)<br> [Visit warp.dev to learn more](https://www.warp.dev/?utm_source=github&utm_medium=referral&utm_campaign=scira) </div> ## Features - **AI-powered search**: Get answers to your questions using Anthropic's Models. - **Web search**: Search the web using Tavily's API. - **URL Specific search**: Get information from a specific URL. - **Weather**: Get the current weather for any location using OpenWeather's API. - **Programming**: Run code snippets in multiple languages using E2B's API. - **Maps**: Get the location of any place using Google Maps API, Mapbox API, and TripAdvisor API. - **YouTube Search**: Search for videos on YouTube and get timestamps and transcripts [powered by Exa.AI - the Web Search API](https://exa.ai/). - **Academic Search**: Search for academic papers [powered by Exa.AI - the Web Search API](https://exa.ai/). - **X Posts Search**: Search for posts on X.com [powered by Exa.AI - the Web Search API](https://exa.ai/). - **Flight Tracker**: Track flights using AviationStack's API. - **Trending Movies and TV Shows**: Get information about trending movies and TV shows. - **Movie or TV Show Search**: Get information about any movie or TV show. - **Real-time Flight Tracking**: Track flights in real-time using the Aviation Stack API. ## LLM used - [xAI's Grok 3](https://x.ai/api) - [xAI's Grok 3 mini](https://x.ai/api) - [xAI's Grok 2 Vision](https://x.ai/api) - [Google's Gemini 2.5 Flash (Preview)](https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview) - [Gemini 2.5 Pro (Preview)](https://ai.google.dev/gemini-api/docs/models#gemini-2.5-pro-preview-05-06) - [Anthropic's Claude 4 Sonnet](https://www.anthropic.com/claude/sonnet) - [OpenAI's GPT-4o](https://platform.openai.com/docs/models/gpt-4o) - [OpenAI's o4-mini](https://platform.openai.com/docs/models/o4-mini) - [Qwen QwQ by Groq Inc](https://console.groq.com/docs/model/qwen-qwq-32b) - [Meta's Llama 4 Maverick by Groq Inc](https://console.groq.com/docs/model/llama-4-maverick-17b-128e-instruct) ## Built with - [Next.js](https://nextjs.org/) - [Tailwind CSS](https://tailwindcss.com/) - [Vercel AI SDK](https://sdk.vercel.ai/docs) - [Shadcn/UI](https://ui.shadcn.com/) - [Exa.AI](https://exa.ai/) - [Tavily](https://tavily.com/) - [OpenWeather](https://openweathermap.org/) - [Daytona](https://daytona.io/) - [E2B](https://e2b.dev/) - [Google Maps](https://developers.google.com/maps) - [Mapbox](https://www.mapbox.com/) - [Aviation Stack](https://aviationstack.com/) ### Deploy your own <!-- TODO: update key names --> [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fzaidmukaddam%2Fscira&env=XAI_API_KEY,OPENAI_API_KEY,ANTHROPIC_API_KEY,GROQ_API_KEY,GOOGLE_GENERATIVE_AI_API_KEY,DAYTONA_API_KEY,E2B_API_KEY,DATABASE_URL,BETTER_AUTH_SECRET,GITHUB_CLIENT_ID,GITHUB_CLIENT_SECRET,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,TWITTER_CLIENT_ID,TWITTER_CLIENT_SECRET,REDIS_URL,ELEVENLABS_API_KEY,TAVILY_API_KEY,EXA_API_KEY,TMDB_API_KEY,YT_ENDPOINT,FIRECRAWL_API_KEY,OPENWEATHER_API_KEY,SANDBOX_TEMPLATE_ID,GOOGLE_MAPS_API_KEY,MAPBOX_ACCESS_TOKEN,AVIATION_STACK_API_KEY,CRON_SECRET,BLOB_READ_WRITE_TOKEN,MEM0_API_KEY,MEM0_ORG_ID,MEM0_PROJECT_ID,SMITHERY_API_KEY,NEXT_PUBLIC_MAPBOX_TOKEN,NEXT_PUBLIC_POSTHOG_KEY,NEXT_PUBLIC_POSTHOG_HOST,NEXT_PUBLIC_SCIRA_PUBLIC_API_KEY,SCIRA_API_KEY&envDescription=API%20keys%20and%20configuration%20required%20for%20Scira%20to%20function) ## Set Scira as your default search engine 1. **Open the Chrome browser settings**: - Click on the three vertical dots in the upper right corner of the browser. - Select "Settings" from the dropdown menu. 2. **Go to the search engine settings**: - In the left sidebar, click on "Search engine." - Then select "Manage search engines and site search." 3. **Add a new search engine**: - Click on "Add" next to "Site search." 4. **Set the search engine name**: - Enter `Scira` in the "Search engine" field. 5. **Set the search engine URL**: - Enter `https://scira.ai?q=%s` in the "URL with %s in place of query" field. 6. **Set the search engine shortcut**: - Enter `sh` in the "Shortcut" field. 7. **Set Default**: - Click on the three dots next to the search engine you just added. - Select "Make default" from the dropdown menu. After completing these steps, you should be able to use Scira as your default search engine in Chrome. ### Local development #### Run via Docker The application can be run using Docker in two ways: ##### Using Docker Compose (Recommended) 1. Make sure you have Docker and Docker Compose installed on your system 2. Create a `.env` file based on `.env.example` with your API keys 3. Run the following command in the project root: ```bash docker compose up ``` 4. The application will be available at `http://localhost:3000` ##### Using Docker Directly 1. Create a `.env` file based on `.env.example` with your API keys 2. Build the Docker image: ```bash docker build -t scira.app . ``` 3. Run the container: ```bash docker run --env-file .env -p 3000:3000 scira.app ``` The application uses a multi-stage build process to minimize the final image size and implements security best practices. The production image runs on Node.js LTS with Alpine Linux for a minimal footprint. #### Run with Node.js To run the application locally without Docker: 1. Sign up for accounts with the required AI providers: - OpenAI (required) - Anthropic (required) - Tavily (required for web search feature) 2. Copy `.env.example` to `.env.local` and fill in your API keys 3. Install dependencies: ```bash pnpm install ``` 4. Start the development server: ```bash pnpm dev ``` 5. Open `http://localhost:3000` in your browser # License This project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details. ", Assign "at most 3 tags" to the expected json: {"id":"12486","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"