add llama nextjs simple template
Showing
- README.md 11 additions, 17 deletionsREADME.md
- create-app.ts 4 additions, 14 deletionscreate-app.ts
- helpers/examples.ts 1 addition, 1 deletionhelpers/examples.ts
- index.ts 7 additions, 144 deletionsindex.ts
- package.json 9 additions, 9 deletionspackage.json
- templates/index.ts 245 additions, 0 deletionstemplates/index.ts
- templates/simple/nextjs/.env.example 3 additions, 0 deletionstemplates/simple/nextjs/.env.example
- templates/simple/nextjs/README-template.md 36 additions, 0 deletionstemplates/simple/nextjs/README-template.md
- templates/simple/nextjs/app/api/route/llm.ts 52 additions, 0 deletionstemplates/simple/nextjs/app/api/route/llm.ts
- templates/simple/nextjs/app/favicon.ico 0 additions, 0 deletionstemplates/simple/nextjs/app/favicon.ico
- templates/simple/nextjs/app/globals.css 27 additions, 0 deletionstemplates/simple/nextjs/app/globals.css
- templates/simple/nextjs/app/layout.tsx 22 additions, 0 deletionstemplates/simple/nextjs/app/layout.tsx
- templates/simple/nextjs/app/page.tsx 113 additions, 0 deletionstemplates/simple/nextjs/app/page.tsx
- templates/simple/nextjs/eslintrc.json 3 additions, 0 deletionstemplates/simple/nextjs/eslintrc.json
- templates/simple/nextjs/gitignore 35 additions, 0 deletionstemplates/simple/nextjs/gitignore
- templates/simple/nextjs/next-env.d.ts 5 additions, 0 deletionstemplates/simple/nextjs/next-env.d.ts
- templates/simple/nextjs/next.config.js 4 additions, 0 deletionstemplates/simple/nextjs/next.config.js
- templates/simple/nextjs/postcss.config.js 6 additions, 0 deletionstemplates/simple/nextjs/postcss.config.js
- templates/simple/nextjs/public/next.svg 1 addition, 0 deletionstemplates/simple/nextjs/public/next.svg
- templates/simple/nextjs/public/vercel.svg 1 addition, 0 deletionstemplates/simple/nextjs/public/vercel.svg
{ | { | ||
"name": "create-next-app", | "name": "create-llama", | ||
"version": "13.5.6", | "version": "0.0.1", | ||
"keywords": [ | "keywords": [ | ||
"react", | "rag", | ||
"next", | "llamaindex", | ||
"next.js" | "next.js" | ||
], | ], | ||
"description": "Create Next.js-powered React apps with one command", | "description": "Create LlamaIndex-powered apps with one command", | ||
"repository": { | "repository": { | ||
"type": "git", | "type": "git", | ||
"url": "https://github.com/vercel/next.js", | "url": "https://github.com/run-llama/LlamaIndexTS", | ||
"directory": "packages/create-next-app" | "directory": "packages/create-llama" | ||
}, | }, | ||
"author": "Next.js Team <support@vercel.com>", | "author": "LlamaIndex Team <info@runllama.ai>", | ||
"license": "MIT", | "license": "MIT", | ||
"bin": { | "bin": { | ||
"create-next-app": "./dist/index.js" | "create-llama": "./dist/index.js" | ||
}, | }, | ||
"files": [ | "files": [ | ||
"dist" | "dist" | ||
... | ... |
templates/index.ts
0 → 100644
templates/simple/nextjs/.env.example
0 → 100644
templates/simple/nextjs/README-template.md
0 → 100644
templates/simple/nextjs/app/api/route/llm.ts
0 → 100644
templates/simple/nextjs/app/favicon.ico
0 → 100644
25.3 KiB
templates/simple/nextjs/app/globals.css
0 → 100644
templates/simple/nextjs/app/layout.tsx
0 → 100644
templates/simple/nextjs/app/page.tsx
0 → 100644
templates/simple/nextjs/eslintrc.json
0 → 100644
templates/simple/nextjs/gitignore
0 → 100644
templates/simple/nextjs/next-env.d.ts
0 → 100644
templates/simple/nextjs/next.config.js
0 → 100644
templates/simple/nextjs/postcss.config.js
0 → 100644
templates/simple/nextjs/public/next.svg
0 → 100644
templates/simple/nextjs/public/vercel.svg
0 → 100644