├── app ├── globals.css ├── favicon.ico ├── page.tsx ├── layout.tsx ├── components │ ├── SlidePreview.tsx │ ├── Navigation.tsx │ ├── PPTCreator.tsx │ ├── GoogleSheetsAgent.tsx │ ├── SparkPages.tsx │ └── SuperAgent.tsx ├── api │ ├── google-sheets-agent │ │ └── route.ts │ ├── generate-slides │ │ └── route.ts │ ├── connecting-email │ │ └── route.ts │ ├── connection │ │ ├── google-docs │ │ │ └── route.ts │ │ └── google-sheet │ │ │ └── route.ts │ ├── convert-to-ppt │ │ └── route.ts │ └── superagent │ │ └── route.ts └── signin │ └── page.tsx ├── postcss.config.mjs ├── public ├── vercel.svg ├── window.svg ├── file.svg ├── globe.svg └── next.svg ├── next.config.ts ├── tailwind.config.js ├── components.json ├── lib └── utils.ts ├── .gitignore ├── tsconfig.json ├── components └── ui │ ├── textarea.tsx │ ├── typewriter-text.tsx │ ├── interactive-hover-button.tsx │ ├── chat-message-list.tsx │ ├── flow-button.tsx │ ├── button.tsx │ ├── meteors.tsx │ ├── hyper-text.tsx │ ├── chat-input.tsx │ ├── background-paths.tsx │ ├── spotlight-card.tsx │ └── canvas-reveal-effect.tsx ├── middleware.ts ├── hooks ├── use-textarea-resize.tsx ├── use-auto-scroll.ts └── use-auto-scroll.tsx ├── package.json └── README.md /app/globals.css: -------------------------------------------------------------------------------- 1 | @import 'tailwindcss'; 2 | -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ComposioHQ/open-genspark/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | '@tailwindcss/postcss': {}, 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- 1 | import type { NextConfig } from "next"; 2 | 3 | const nextConfig: NextConfig = { 4 | /* config options here */ 5 | }; 6 | 7 | export default nextConfig; 8 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: [ 4 | "./pages/**/*.{js,ts,jsx,tsx,mdx}", 5 | "./components/**/*.{js,ts,jsx,tsx,mdx}", 6 | "./app/**/*.{js,ts,jsx,tsx,mdx}", 7 | ], 8 | theme: { 9 | extend: {}, 10 | }, 11 | plugins: [ 12 | require('@tailwindcss/typography'), 13 | ], 14 | } -------------------------------------------------------------------------------- /public/window.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/file.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- 1 | import SuperAgent from './components/SuperAgent'; 2 | import { cookies } from 'next/headers'; 3 | 4 | export default async function Home() { 5 | const cookieStore = await cookies(); 6 | const userId = cookieStore.get('googlesheet_user_id')?.value; 7 | 8 | return ( 9 |
{slide.content}
56 | )} 57 |123 | powered by Composio 124 |
125 |Please connect both Google Sheets and Google Docs to continue.
130 |116 | Generate professional presentations with AI in seconds 117 |
118 |{currentSlide.content}
261 | )} 262 |AI-powered spreadsheet assistant
175 |{error}
234 |247 | Paste your Google Sheets URL above to start chatting with your data 248 |
249 |{message.content}
269 |275 | {formatTime(message.timestamp)} 276 |
277 |327 | Connected to: {sheetUrl.substring(0, 60)}... 328 |
329 |354 | Paste your Google Sheets URL in the sidebar to view and interact with your spreadsheet data using AI 355 |
356 |Create and share AI-generated insights and summaries
128 |198 | {page.summary} 199 |
200 | 201 | {/* Tags */} 202 |252 | {searchTerm ? 'Try adjusting your search terms' : 'Create your first spark page to get started'} 253 |
254 | {!searchTerm && ( 255 | 261 | )} 262 |{selectedPage.content}
303 |Powered by Composio - Your creative partner for generating content, slides, and more.
70 |{message.content}
125 | )} 126 | 127 | {message.hasSlides && message.slideData && message.slideData.length > 0 && ( 128 |Generating slide content...
175 |Slide {activeSlide + 1} of {message.slideData.length}
186 |592 | Super Agent can make mistakes. Consider checking important information. 593 |
594 |638 | {sheetUrl} 639 |
640 |696 | {docUrl} 697 |
698 |