Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enesozturk/json-data-ai-template
JSONDataAI.com template with Next.js 13 and Vercel AI SDK
https://github.com/enesozturk/json-data-ai-template
ai json
Last synced: about 13 hours ago
JSON representation
JSONDataAI.com template with Next.js 13 and Vercel AI SDK
- Host: GitHub
- URL: https://github.com/enesozturk/json-data-ai-template
- Owner: enesozturk
- License: mit
- Created: 2023-09-15T11:24:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-19T05:15:36.000Z (about 1 year ago)
- Last Synced: 2024-11-06T04:51:31.232Z (8 days ago)
- Topics: ai, json
- Language: TypeScript
- Homepage: https://www.jsondataai.com/
- Size: 873 KB
- Stars: 567
- Watchers: 7
- Forks: 36
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![og-image](./app/opengraph-image.png)
# JSON Data AI
Get JSON data about anything depending on your prompt. Define your structure, list results.
This repository includes the basic setup of JSONDataAI.com with the following stack:
- Vercel AI SDK
- Vercel VK Storage for rate limiting
- OpenAI GPT-4
- Shadcn UI
- Supabase
- React Hook Form for dynamic forms### You liked the project?
## Get Started
Install the dependencies with your favorite package runner:
```sh
bun i
```Create `.env.development` file;
```sh
# See https://vercel.com/docs/storage/vercel-kv to setup
KV_REST_API_READ_ONLY_TOKEN=
KV_REST_API_TOKEN=
KV_REST_API_URL=
KV_URL=# Visit Supabase > [PROJECT] > Settings > API to get API key and app URL
SUPABASE_API_KEY=
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=$SUPABASE_API_KEY# Visit https://platform.openai.com/account/api-keys to get API key
OPENAI_API_KEY=
```Run the app:
```sh
bun run dev
```### LICENCE
[MIT](./LICENCE)