An open API service indexing awesome lists of open source software.

https://github.com/caomeiyouren/hono-template

基于 Hono 和 TypeScript 的云函数模板,支持 Vercel/Docker/Node.js 等多种部署方式
https://github.com/caomeiyouren/hono-template

Last synced: 8 months ago
JSON representation

基于 Hono 和 TypeScript 的云函数模板,支持 Vercel/Docker/Node.js 等多种部署方式

Awesome Lists containing this project

README

          

hono-template



Version

Docker Pulls



Documentation


Maintenance


License: MIT

> 基于 Hono 和 TypeScript 的云函数模板,支持 Vercel/Cloudflare Workers/Docker/Node.js 等多种部署方式

## 🏠 主页

[https://github.com/CaoMeiYouRen/hono-template#readme](https://github.com/CaoMeiYouRen/hono-template#readme)

## 📦 依赖要求

- node >=20

## 🚀 部署

### Cloudflare Workers 部署

点击下方按钮一键部署到 Cloudflare Workers

[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/CaoMeiYouRen/hono-template)

### Vercel 部署

> 如果遇到了请求在本地正常,但线上超时的问题,请在 Vercel 控制台中将环境变量 `NODEJS_HELPERS` 设置为 `0` ,并重新部署。

点击下方按钮一键部署到 Vercel。

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/CaoMeiYouRen/hono-template.git)

## 👨‍💻 使用

```sh
npm run start
```

## 🛠️ 开发

```sh
npm run dev
```

## 🔧 编译

```sh
npm run build
```

## 🔍 Lint

```sh
npm run lint
```

## 💾 Commit

```sh
npm run commit
```

## 👤 作者

**CaoMeiYouRen**

* Website: [https://blog.cmyr.ltd/](https://blog.cmyr.ltd/)

* GitHub: [@CaoMeiYouRen](https://github.com/CaoMeiYouRen)

## 🤝 贡献

欢迎 贡献、提问或提出新功能!
如有问题请查看 [issues page](https://github.com/CaoMeiYouRen/hono-template/issues).
贡献或提出新功能可以查看[contributing guide](https://github.com/CaoMeiYouRen/hono-template/blob/master/CONTRIBUTING.md).

## 💰 支持

如果觉得这个项目有用的话请给一颗⭐️,非常感谢

## 📝 License

Copyright © 2024 [CaoMeiYouRen](https://github.com/CaoMeiYouRen).

This project is [MIT](https://github.com/CaoMeiYouRen/hono-template/blob/master/LICENSE) licensed.

***
_This README was generated with ❤️ by [cmyr-template-cli](https://github.com/CaoMeiYouRen/cmyr-template-cli)_