-
Notifications
You must be signed in to change notification settings - Fork 0
feat: consolidate docs and blogs into web monorepo #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4fbfca7
31c15a7
897ec29
562d005
09e4519
209a2a6
8f48289
c4b68b7
93ecde2
726bfff
4755ff8
608346b
4ba6949
8eee521
040e25c
5614c5a
69ddb06
78e5ca9
0cb7c98
1d62327
eaf1f4f
58e254d
7a58209
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # GEMINI_API_KEY: Required for Gemini AI API calls. | ||
| # AI Studio automatically injects this at runtime from user secrets. | ||
| # Users configure this via the Secrets panel in the AI Studio UI. | ||
| GEMINI_API_KEY="MY_GEMINI_API_KEY" | ||
|
|
||
| # APP_URL: The URL where this applet is hosted. | ||
| # AI Studio automatically injects this at runtime with the Cloud Run service URL. | ||
| # Used for self-referential links, OAuth callbacks, and API endpoints. | ||
| APP_URL="MY_APP_URL" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "extends": "next" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| .vercel |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <div align="center"> | ||
| <img width="1200" height="475" alt="GHBanner" src="https://ai.google.dev/static/site-assets/images/share-ais-513315318.png" /> | ||
| </div> | ||
|
|
||
| # Run and deploy your AI Studio app | ||
|
|
||
| This contains everything you need to run your app locally. | ||
|
|
||
| View your app in AI Studio: https://ai.studio/apps/3b8c6a97-eb59-4fb0-aade-3976e82644b1 | ||
|
|
||
| ## Run Locally | ||
|
|
||
| **Prerequisites:** Node.js | ||
|
|
||
|
|
||
| 1. Install dependencies: | ||
| `npm install` | ||
| 2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key | ||
| 3. Run the app: | ||
| `npm run dev` | ||
|
Comment on lines
+1
to
+20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. README contains AI Studio template boilerplate inconsistent with actual app. The README references:
This appears to be leftover template content from an AI Studio export. Replace with documentation relevant to the Vectorless blog app, or clarify that this is a demo/template. 🤖 Prompt for AI Agents |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| @import "tailwindcss"; | ||
| @import "tw-animate-css"; | ||
|
|
||
| @theme { | ||
| --font-sans: var(--font-geist), ui-sans-serif, system-ui, sans-serif; | ||
| --font-display: var(--font-geist), ui-sans-serif, system-ui, sans-serif; | ||
| --font-mono: var(--font-geist-mono), ui-monospace, SFMono-Regular, monospace; | ||
| --font-serif: var(--font-instrument-serif), ui-serif, Georgia, serif; | ||
|
|
||
| --color-bg-base: #fcfcfd; | ||
| --color-text-base: #0a0a0a; | ||
| --color-text-secondary: #3f3f46; | ||
| --color-text-muted: #71717a; | ||
| --color-brand-blue: #1456f0; | ||
| --color-brand-pink: #ea5ec1; | ||
| --color-border-light: #f2f3f5; | ||
| --color-border-gray: #e5e7eb; | ||
| } | ||
|
|
||
| @layer base { | ||
| html, body { | ||
| background-color: #fcfcfd !important; | ||
| color: #0a0a0a; | ||
| margin: 0; | ||
| padding: 0; | ||
| width: 100%; | ||
| height: 100%; | ||
| } | ||
| } | ||
|
|
||
| @layer utilities { | ||
| .grid-paper { | ||
| background-image: | ||
| linear-gradient(to right, rgba(20, 86, 240, 0.04) 1px, transparent 1px), | ||
| linear-gradient(to bottom, rgba(20, 86, 240, 0.04) 1px, transparent 1px); | ||
| background-size: 56px 56px; | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| import type { Metadata } from "next"; | ||
| import { Geist, Geist_Mono, Instrument_Serif } from "next/font/google"; | ||
| import "./globals.css"; | ||
|
|
||
| const geist = Geist({ subsets: ["latin"], variable: "--font-geist" }); | ||
| const geistMono = Geist_Mono({ subsets: ["latin"], variable: "--font-geist-mono" }); | ||
| const instrumentSerif = Instrument_Serif({ | ||
| weight: "400", | ||
| subsets: ["latin"], | ||
| variable: "--font-instrument-serif", | ||
| }); | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: "Vectorless Blog | Document Retrieval for the Reasoning Era", | ||
| description: "Insights, deep dives, and technical guides on structure-preserving retrieval, RAG, and AI agent memory.", | ||
| }; | ||
|
|
||
| export default function RootLayout({ | ||
| children, | ||
| }: { | ||
| children: React.ReactNode; | ||
| }) { | ||
| return ( | ||
| <html | ||
| lang="en" | ||
| className={`${geist.variable} ${geistMono.variable} ${instrumentSerif.variable}`} | ||
| > | ||
| <body | ||
| className="bg-[#FCFCFD] text-[#0A0A0A] font-sans antialiased selection:bg-[#bfdbfe] selection:text-[#1d4ed8]" | ||
| suppressHydrationWarning | ||
| > | ||
| {children} | ||
| </body> | ||
| </html> | ||
| ); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the quotes from the example secrets.
These placeholders are meant to be copied into Secrets /
.envas raw values. Keeping the quotes makes them easier to paste incorrectly, anddotenv-linteralready flags both lines.Suggested cleanup
Also applies to: 9-9
🧰 Tools
🪛 dotenv-linter (4.0.0)
[warning] 4-4: [QuoteCharacter] The value has quote characters (', ")
(QuoteCharacter)
🤖 Prompt for AI Agents
Source: Linters/SAST tools