├── .codesandbox ├── sandbox.config.json └── tasks.json ├── .cursor └── rules │ └── tambo-ai.mdc ├── .github └── copilot-instructions.md ├── .gitignore ├── CLAUDE.md ├── LICENSE ├── README.md ├── eslint.config.mjs ├── next.config.ts ├── package.json ├── postcss.config.mjs ├── public ├── Octo-Icon.svg ├── Tambo-Lockup.svg ├── drizzle.svg ├── prisma.svg └── sql.svg ├── src ├── app │ ├── api │ │ ├── genai │ │ │ └── gemini.ts │ │ ├── generate-schema │ │ │ └── route.ts │ │ └── schema │ │ │ └── route.ts │ ├── chat │ │ └── page.tsx │ ├── favicon.ico │ ├── globals.css │ ├── interactables │ │ ├── components │ │ │ └── settings-panel.tsx │ │ └── page.tsx │ ├── layout.tsx │ ├── page.tsx │ └── schema │ │ └── [code] │ │ └── page.tsx ├── components │ ├── ApiKeyCheck.tsx │ ├── schema-viewer.tsx │ ├── tambo │ │ ├── graph.tsx │ │ ├── markdown-components.tsx │ │ ├── mcp-config-modal.tsx │ │ ├── message-generation-stage.tsx │ │ ├── message-input.tsx │ │ ├── message-suggestions.tsx │ │ ├── message-thread-full.tsx │ │ ├── message.tsx │ │ ├── schema-diagram.tsx │ │ ├── scrollable-message-container.tsx │ │ ├── suggestions-tooltip.tsx │ │ ├── thread-container.tsx │ │ ├── thread-content.tsx │ │ └── thread-history.tsx │ └── ui │ │ ├── card-data.tsx │ │ └── svg-display.tsx ├── data.ts ├── lib │ ├── generators │ │ ├── drizzle.ts │ │ ├── prisma.ts │ │ └── sql.ts │ ├── schema-context.tsx │ ├── schema-tools.ts │ ├── tambo.ts │ ├── thread-hooks.ts │ ├── turso.ts │ ├── types.ts │ └── utils.ts └── services │ └── database-design.ts ├── tailwind.config.ts └── tsconfig.json /.codesandbox/sandbox.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": "node" 3 | } 4 | -------------------------------------------------------------------------------- /.codesandbox/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/.codesandbox/tasks.json -------------------------------------------------------------------------------- /.cursor/rules/tambo-ai.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/.cursor/rules/tambo-ai.mdc -------------------------------------------------------------------------------- /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/.gitignore -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/next.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /public/Octo-Icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/public/Octo-Icon.svg -------------------------------------------------------------------------------- /public/Tambo-Lockup.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/public/Tambo-Lockup.svg -------------------------------------------------------------------------------- /public/drizzle.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/public/drizzle.svg -------------------------------------------------------------------------------- /public/prisma.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/public/prisma.svg -------------------------------------------------------------------------------- /public/sql.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/public/sql.svg -------------------------------------------------------------------------------- /src/app/api/genai/gemini.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/app/api/genai/gemini.ts -------------------------------------------------------------------------------- /src/app/api/generate-schema/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/app/api/generate-schema/route.ts -------------------------------------------------------------------------------- /src/app/api/schema/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/app/api/schema/route.ts -------------------------------------------------------------------------------- /src/app/chat/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/app/chat/page.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/interactables/components/settings-panel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/app/interactables/components/settings-panel.tsx -------------------------------------------------------------------------------- /src/app/interactables/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/app/interactables/page.tsx -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/schema/[code]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/app/schema/[code]/page.tsx -------------------------------------------------------------------------------- /src/components/ApiKeyCheck.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/ApiKeyCheck.tsx -------------------------------------------------------------------------------- /src/components/schema-viewer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/schema-viewer.tsx -------------------------------------------------------------------------------- /src/components/tambo/graph.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/graph.tsx -------------------------------------------------------------------------------- /src/components/tambo/markdown-components.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/markdown-components.tsx -------------------------------------------------------------------------------- /src/components/tambo/mcp-config-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/mcp-config-modal.tsx -------------------------------------------------------------------------------- /src/components/tambo/message-generation-stage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/message-generation-stage.tsx -------------------------------------------------------------------------------- /src/components/tambo/message-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/message-input.tsx -------------------------------------------------------------------------------- /src/components/tambo/message-suggestions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/message-suggestions.tsx -------------------------------------------------------------------------------- /src/components/tambo/message-thread-full.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/message-thread-full.tsx -------------------------------------------------------------------------------- /src/components/tambo/message.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/message.tsx -------------------------------------------------------------------------------- /src/components/tambo/schema-diagram.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/schema-diagram.tsx -------------------------------------------------------------------------------- /src/components/tambo/scrollable-message-container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/scrollable-message-container.tsx -------------------------------------------------------------------------------- /src/components/tambo/suggestions-tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/suggestions-tooltip.tsx -------------------------------------------------------------------------------- /src/components/tambo/thread-container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/thread-container.tsx -------------------------------------------------------------------------------- /src/components/tambo/thread-content.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/thread-content.tsx -------------------------------------------------------------------------------- /src/components/tambo/thread-history.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/tambo/thread-history.tsx -------------------------------------------------------------------------------- /src/components/ui/card-data.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/components/ui/card-data.tsx -------------------------------------------------------------------------------- /src/components/ui/svg-display.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/data.ts -------------------------------------------------------------------------------- /src/lib/generators/drizzle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/lib/generators/drizzle.ts -------------------------------------------------------------------------------- /src/lib/generators/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/lib/generators/prisma.ts -------------------------------------------------------------------------------- /src/lib/generators/sql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/lib/generators/sql.ts -------------------------------------------------------------------------------- /src/lib/schema-context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/lib/schema-context.tsx -------------------------------------------------------------------------------- /src/lib/schema-tools.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/lib/schema-tools.ts -------------------------------------------------------------------------------- /src/lib/tambo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/lib/tambo.ts -------------------------------------------------------------------------------- /src/lib/thread-hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/lib/thread-hooks.ts -------------------------------------------------------------------------------- /src/lib/turso.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/lib/turso.ts -------------------------------------------------------------------------------- /src/lib/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/lib/types.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/services/database-design.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/src/services/database-design.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinloluwami/db-thing/HEAD/tsconfig.json --------------------------------------------------------------------------------