├── header.png ├── public ├── header.png ├── robot.jpg ├── favicon.ico ├── logo.svg ├── github.svg └── herobg.svg ├── postcss.config.cjs ├── prisma ├── migrations │ ├── migration_lock.toml │ └── 20240804172645_init │ │ └── migration.sql └── schema.prisma ├── src ├── app │ ├── page.tsx │ ├── api │ │ ├── auth │ │ │ └── [...nextauth] │ │ │ │ └── route.ts │ │ └── chat │ │ │ └── route.ts │ ├── home │ │ └── page.tsx │ ├── discover │ │ └── page.tsx │ └── layout.tsx ├── lib │ └── utils.ts ├── components │ ├── Provider.tsx │ ├── ui │ │ ├── textarea.tsx │ │ ├── input.tsx │ │ ├── toaster.tsx │ │ ├── bento-grid.tsx │ │ ├── button.tsx │ │ ├── use-toast.ts │ │ ├── toast.tsx │ │ └── select.tsx │ ├── discover.tsx │ ├── landingnav.tsx │ ├── Sidebar.tsx │ ├── Chat.tsx │ ├── footer.tsx │ └── landing.tsx ├── server │ ├── db.ts │ └── auth.ts ├── useApi.ts ├── env.js └── styles │ └── globals.css ├── prettier.config.js ├── .env.example ├── next.config.js ├── components.json ├── .gitignore ├── tsconfig.json ├── LICENSE ├── .eslintrc.cjs ├── README.md ├── start-database.sh ├── package.json └── tailwind.config.ts /header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronitrajfr/anonGPT/HEAD/header.png -------------------------------------------------------------------------------- /public/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronitrajfr/anonGPT/HEAD/public/header.png -------------------------------------------------------------------------------- /public/robot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronitrajfr/anonGPT/HEAD/public/robot.jpg -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronitrajfr/anonGPT/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /postcss.config.cjs: -------------------------------------------------------------------------------- 1 | const config = { 2 | plugins: { 3 | tailwindcss: {}, 4 | }, 5 | }; 6 | 7 | module.exports = config; 8 | -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- 1 | # Please do not edit this file manually 2 | # It should be added in your version-control system (i.e. Git) 3 | provider = "postgresql" -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- 1 | import Main from "~/components/landing"; 2 | 3 | export default function HomePage() { 4 | return ( 5 |
4 |
5 |
6 | ### **Overview**
7 | **anonGPT** is an open-source AI-powered application designed to revolutionize the way you search for information. Unlike traditional search engines that require you to sift through countless links, Instant Info delivers concise, accurate, and relevant data directly to you—saving you time and effort.
8 |
9 | ### **Features**
10 | - **AI-Driven Information Retrieval**: Leverages cutting-edge AI to understand and deliver the most relevant information based on your query.
11 | - **Lightning-Fast Responses**: Optimized for speed, providing you with instant answers to your questions.
12 | - **High Accuracy**: Focuses on delivering precise and trustworthy information, ensuring you get only what’s essential.
13 |
14 | ### **Tech Stack:**
15 |
16 | - Nextjs
17 | - Postgres
18 | - Prisma
19 | - Tailwind
20 | - Next-Auth
21 | - Gemini
22 |
23 | ## Getting Started
24 |
25 | ### **Installation**
26 | ```bash
27 | git clone https://github.com/rrajofficial7/anonGPT.git
28 | cd anonGPT
29 | npm install
30 | ```
31 | setup your env's by cloning .env.example
32 | ```bash
33 | cp .env.example .env
34 | ```
35 | ## **Contributing**
36 | We welcome contributions to anonGPT! If you have an idea for a feature or have found a bug, please feel free to fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
37 |
38 | ### **How to Contributing**
39 | 1. Fork the repository
40 | 2. Create your feature branch (**git checkout -b feature/AmazingFeature**)
41 | 3. Commit your changes (**git commit -m 'Add some AmazingFeature'**)
42 | 4. Push to the branch (**git push origin feature/AmazingFeature**)
43 | 5. Open a pull request
44 |
--------------------------------------------------------------------------------
/src/components/ui/button.tsx:
--------------------------------------------------------------------------------
1 | import * as React from "react"
2 | import { Slot } from "@radix-ui/react-slot"
3 | import { cva, type VariantProps } from "class-variance-authority"
4 |
5 | import { cn } from "~/lib/utils"
6 |
7 | const buttonVariants = cva(
8 | "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
9 | {
10 | variants: {
11 | variant: {
12 | default: "bg-primary text-primary-foreground hover:bg-primary/90",
13 | destructive:
14 | "bg-destructive text-destructive-foreground hover:bg-destructive/90",
15 | outline:
16 | "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
17 | secondary:
18 | "bg-secondary text-secondary-foreground hover:bg-secondary/80",
19 | ghost: "hover:bg-accent hover:text-accent-foreground",
20 | link: "text-primary underline-offset-4 hover:underline",
21 | },
22 | size: {
23 | default: "h-10 px-4 py-2",
24 | sm: "h-9 rounded-md px-3",
25 | lg: "h-11 rounded-md px-8",
26 | icon: "h-10 w-10",
27 | },
28 | },
29 | defaultVariants: {
30 | variant: "default",
31 | size: "default",
32 | },
33 | }
34 | )
35 |
36 | export interface ButtonProps
37 | extends React.ButtonHTMLAttributes
90 |
37 | Unlock fast, accurate information retrieval with our 38 | open-source AI—no more endless searching, just the essentials 39 | delivered instantly. 40 |
41 |
58 | 70 | Our platform offers a suite of powerful features to help you 71 | work smarter, not harder. 72 |
73 |84 | Experience the power of cutting-edge AI technology that 85 | understands your needs and delivers the most relevant 86 | information. Our open-source solution harnesses advanced 87 | algorithms to ensure you're always in the know with 88 | minimal effort. 89 |
90 |99 | {" "} 100 | Say goodbye to waiting and endless scrolling. Our app is 101 | designed for lightning-fast information retrieval, giving you 102 | what you need in a fraction of the time. Speed up your search 103 | and focus on what truly matters. 104 |
105 |114 | Accuracy is key. Our AI-driven platform ensures you receive 115 | only the most pertinent information, cutting through the noise 116 | to deliver precise and trustworthy answers every time you 117 | search. 118 |
119 |