Track live location of college buses and show estimated arrival time for each stop. ✅ Uses: Maps API, Real-time DB (Firebase), Notifications
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { NextResponse } from "next/server"; | |
| import axios from "axios"; | |
| export async function GET() { | |
| try { | |
| // Ask OpenAI for a temporary client_secret | |
| const response = await axios.post( | |
| "https://api.openai.com/v1/realtime/client_secrets", | |
| { | |
| model: "gpt-4o-realtime-preview-2025-06-03", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { useState } from "react"; | |
| import { RealtimeSession } from "@openai/realtime"; // install if not already | |
| export default function Home() { | |
| const [session, setSession] = useState<any>(null); | |
| async function handleStartAgent() { | |
| console.log("Requesting temp API key from /api/session..."); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { StateGraph, Annotation } from "@langchain/langgraph"; | |
| import { ChatOpenAI } from "@langchain/openai"; | |
| import { z } from "zod"; | |
| const llm = new ChatOpenAI({ | |
| model: "gpt-4o-mini" // Fixed model name | |
| }); | |
| // Define the state schema | |
| const StateSchema = z.object({ |
-
Admin Login Details email:[email protected] password:@1234567890Ss
-
Problem Creation Details
{
"title": "Addition of Two Numbers",
"description": "Write a program that takes two integers as input and returns their sum.",
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Kaya Loader</title> | |
| <style> | |
| body { | |
| background: #fff; | |
| display: flex; | |
| justify-content: center; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Commercial Coming Soon</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
| <title>EliteRealty</title> | |
| <style> | |
| /* RESET */ | |
| * { | |
| margin: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
| <title>Hero Section</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npm install @editorjs/editorjs @editorjs/header @editorjs/list @editorjs/embed @editorjs/table @editorjs/quote @editorjs/marker @editorjs/warning @editorjs/link @editorjs/raw @editorjs/delimiter @editorjs/inline-code @editorjs/simple-image @editorjs/checklist @bomdi/codebox |