Skip to content

Commit 6d57157

Browse files
authored
Hono + AI SDK example (#1167)
### Description Hono + AI SDK example ### Type of Change - [x] New Example - [ ] Example updates (Bug fixes, new features, etc.) - [ ] Other (changes to the codebase, but not to examples)
1 parent d2906b8 commit 6d57157

File tree

7 files changed

+2476
-0
lines changed

7 files changed

+2476
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
.DS_Store
3+
Thumbs.db
4+
db.json
5+
*.log
6+
node_modules/
7+
public/
8+
.deploy*/
9+
.env
10+
.env.build
11+
.vercel

starter/hono-ai-sdk/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.DS_Store
2+
Thumbs.db
3+
db.json
4+
*.log
5+
node_modules/
6+
public/
7+
.deploy*/
8+
.env
9+
.env.build
10+
.vercel

starter/hono-ai-sdk/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/examples/tree/main/framework-boilerplates/hono&template=hono)
2+
3+
Live Example: https://hono.vercel.dev/
4+
5+
```
6+
npm install
7+
npm run dev
8+
```
9+
10+
```
11+
open http://localhost:3000
12+
```

starter/hono-ai-sdk/package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "hono",
3+
"type": "module",
4+
"scripts": {
5+
"dev": "vc dev",
6+
"build": "vc build"
7+
},
8+
"dependencies": {
9+
"ai": "5.0.0-beta.34",
10+
"hono": "^4.8.9"
11+
},
12+
"devDependencies": {
13+
"@types/node": "^20.11.17",
14+
"tsx": "^4.7.1",
15+
"typescript": "^5.8.3",
16+
"vercel": "latest"
17+
}
18+
}

0 commit comments

Comments
 (0)