Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

作为开源工具,如何在本地部署 AiryLark?有哪些注意事项?

2025-08-26 1.1 K

本地部署详细指南

按照技术复杂度由低到高提供三种方案:

基础方案(开发模式)

  1. 环境准备:安装Node.js(≥v16)和Git
  2. Cloning Warehouse:git clone https://github.com/wizd/airylark.git
  3. Install the dependencies:npm install
  4. configure.env文件:必须设置TRANSLATION_API_KEY(如Google Cloud密钥)
  5. Start the service:npm run dev后访问localhost:3030

生产环境建议

  • Docker Deployment:官方提供容器镜像,需同步运行主服务和MCP服务
  • 传统部署: Bynpm run build生成优化版本
  • Serverless方案:支持Vercel一键部署

caveat

  • API配额:免费版Google翻译API每月限50万字符,企业使用需购买配额
  • hardware requirement:建议部署服务器至少2核CPU/4GB内存
  • Security recommendations:修改默认端口3030,配置Nginx反向代理和HTTPS加密
  • Chinese Optimization:如需增强中文处理,可对接百度翻译API或微调本地模型

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish