n8n AI工作流自动化 是 AI Skill Hub 本期精选AI工具之一。综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
n8n AI工作流自动化 是一款基于 Shell 开发的开源工具,专注于 工作流自动化、本地部署、AI智能体 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
n8n AI工作流自动化 是一款基于 Shell 开发的开源工具,专注于 工作流自动化、本地部署、AI智能体 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 克隆仓库 git clone https://github.com/kossakovsky/n8n-install cd n8n-install # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 n8n-install --help # 基本运行 n8n-install [options] <input> # 详细使用说明请查阅文档 # https://github.com/kossakovsky/n8n-install
# n8n-install 配置说明 # 查看配置选项 n8n-install --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export N8N_INSTALL_CONFIG="/path/to/config.yml"
Deploy 30+ open-source AI and automation tools on your own server with a single command. Selfhost AI is a Docker Compose installer for a private AI homelab: n8n workflow automation, local LLMs with Ollama, a ChatGPT-style chat in Open WebUI, AI agents (OpenClaw, Flowise, Keelflow, Dify, Letta), RAG engines and vector databases (Qdrant, Weaviate, LightRAG, RAGFlow), Supabase, ComfyUI and Grafana monitoring. An interactive wizard picks the services, generates every secret and puts them all behind Caddy with automatic HTTPS. A free, self-hosted alternative to Zapier, Make and ChatGPT.
make doctor diagnostics, and updates that preserve your settingsAlways installed: Caddy (reverse proxy and HTTPS), PostgreSQL, and Valkey (Redis-compatible). Everything below is optional and chosen in the wizard. "internal" means the service has no public URL and is reachable only from other containers.
Prerequisites
1. A domain name with a wildcard A record, *.yourdomain.com, pointing to your server's IP, configured before installing. 2. A VPS with a public IP address. Home servers, shared hosting and localhost setups are not supported. - Operating system: Ubuntu 24.04 LTS, 64-bit - n8n, Monitoring, Databasus and Portainer: 4 GB RAM / 2 CPU cores / 40 GB disk - All services: at least 20 GB RAM / 4 CPU cores / 60 GB disk
Run the installer over SSH:
git clone https://github.com/kossakovsky/selfhost-ai && cd selfhost-ai && sudo bash ./scripts/install.sh
The installer updates the system, configures the firewall and brute-force protection, installs Docker, generates .env with all secrets, and starts the services. It asks for:
yourdomain.com).At the end it prints the Welcome Page URL and login (save them). The Welcome dashboard at welcome.yourdomain.com lists every service's URL and credentials.
You need a VPS with a public IP running Ubuntu 24.04 LTS (4 GB RAM / 2 CPU for n8n and monitoring; 20 GB RAM / 4 CPU / 60 GB disk for everything), a domain, and a wildcard DNS record A *.yourdomain.com -> YOUR_SERVER_IP. Then run:
git clone https://github.com/kossakovsky/selfhost-ai && cd selfhost-ai && sudo bash ./scripts/install.sh
The wizard does the rest; see Installation for what it asks.
| Service | What it does | URL |
|---|---|---|
| [Docling](https://github.com/docling-project/docling-serve) | Converts PDF, DOCX, PPTX, XLSX, HTML and images to Markdown/JSON, with OCR; web UI at /ui | docling. |
| [PaddleOCR](https://www.paddleocr.ai/latest/en/index.html) | OCR API that runs on CPU | paddleocr. |
| [Gotenberg](https://gotenberg.dev/) | Converts HTML, Markdown and Office documents to PDF or images | internal |
| [Crawl4AI](https://github.com/unclecode/crawl4ai) | LLM-friendly web crawler and scraper | internal |
| [SearXNG](https://searxng.org/) | Private metasearch engine, also used as the web search for n8n's AI Assistant | searxng. |
| [LibreTranslate](https://docs.libretranslate.com/) | Self-hosted translation API (50+ languages) | translate. |
| Service | What it does | URL |
|---|---|---|
| [n8n](https://n8n.io/) | Workflow automation with 400+ integrations and AI nodes, in queue mode with workers ([guide](docs/n8n.md)) | n8n. |
| [n8n-MCP](https://github.com/czlonkowski/n8n-mcp) | MCP server that gives Claude Code, Cursor, Windsurf and VS Code n8n node docs and workflow tools | n8n-mcp. |
| [n8n Assistant sandbox](https://docs.n8n.io/deploy/host-n8n/configure-n8n/set-up-n8n-assistant) | Code-execution sandbox for n8n's AI Assistant and Agents, isolated with Sysbox, or privileged if you accept that ([guide](docs/n8n-assistant-sandbox.md)) | internal |
| [Postiz](https://postiz.com/) | Social media scheduling and publishing | postiz. |
| [WAHA](https://waha.devlike.pro/) | WhatsApp HTTP API (WEBJS, NOWEB and GOWS engines) | waha. |
| Python Runner | Runs your own Python code from python-runner/ (main.py, requirements.txt, installed on every start) on the internal network | internal |
free -h and make monitor, start with n8n only, and enable other services one by one. make doctor checks DNS, certificates and containers.make logs s=caddy and your DNS records.make update retries a failed pull one service at a time. Services that still could not be updated but have an image on the server are started from it and listed at the end; finish them with make pull && make restart. If a service has no image at all, or the local n8n/OpenClaw images cannot be built, make update stops before restarting anything; run make pull, then make update again.make update fails. Force-sync with upstream. This discards local changes to tracked files: git config pull.rebase true && git fetch origin && git checkout main && git reset --hard "origin/main" && make update
n8n-install 是一个专为开发者设计的私有化部署 AI 自动化平台。它允许你在自己的服务器上构建一个强大的 AI Homelab,通过集成多种开源工具,实现从本地 LLM 运行到复杂工作流自动化的全栈能力,确保数据隐私与掌控力。
本项目集成了多种顶尖 AI 工具:支持通过 Ollama 在本地运行 LLM,并利用 Open WebUI 提供类似 ChatGPT 的交互体验;通过 n8n 实现拥有 400+ 集成能力的自动化工作流;同时支持 Flowise、Dify、LangChain 以及 Qdrant、Weaviate 等向量数据库,构建强大的 AI Agents 与 RAG 应用。所有服务均可通过交互式脚本一键部署。
在开始安装之前,请确保满足以下前提条件:1. 拥有一个已注册的域名(例如 `yourdomain.com`);2. 完成 DNS 配置,将域名的 A 记录指向你服务器的公网 IP 地址,以便 Caddy 进行反向代理和 SSL 证书管理。
推荐使用官方提供的自动化安装脚本进行部署。首先通过 SSH 连接到你的服务器,然后执行以下命令:`git clone https://github.com/kossakovsky/n8n-install && cd n8n-install && sudo bash ./scripts/install.sh`。该脚本会自动完成系统更新、防火墙配置、基础安全设置以及 Docker 容器的编排,实现全自动化的环境搭建。
安装完成后,脚本会生成一份包含所有服务访问 URL 和凭据的总结报告。请务必保存该报告。你可以通过配置好的子域名(如 `n8n.yourdomain.com`)访问各个服务。对于 AI 自动化需求,你可以直接参考 n8n 官方提供的 AI Agent 或 OpenAI Assistant 工作流模板进行快速上手。
本项目提供了一个可选的内部工具:Python Runner。它是一个运行在 Docker 内部网络的服务,允许你在与 n8n、Postgres、Qdrant 等服务相同的网络环境下执行自定义 Python 代码。该服务不会暴露外部端口,也不会通过 Caddy 进行代理,确保了高度的安全性。你可以在安装或更新时的 Service Selection Wizard 中手动开启此功能。
本项目内置了丰富的社区工作流库,包含超过 300 个预构建的自动化方案。这些工作流涵盖了 AI Agents、Chatbots(支持 RAG、LangChain、Ollama、OpenAI、Claude、Gemini 等)、Gmail 集成以及各类复杂的业务逻辑,支持在安装过程中选择性导入,帮助你快速构建智能化应用。
如果在安装或使用过程中遇到问题,请参考本项目提供的 Troubleshooting 章节。常见的维护工作包括通过交互式向导更新服务或通过 Cloudflare Tunnel 实现零信任安全访问,以隐藏服务器 IP 并获得 DDoS 防护。
优质的AI自动化部署方案,集成度高、组件丰富。活跃维护确保兼容性。适合寻求私有化AI工作流的用户。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,n8n AI工作流自动化 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | n8n-install |
| 原始描述 | 开源n8n工作流:🚀 Self-hosted AI automation platform. Deploy n8n, Ollama, Flowise, RAG, Supabas。⭐856 · Shell |
| Topics | 工作流自动化本地部署AI智能体开源平台 |
| GitHub | https://github.com/kossakovsky/n8n-install |
| License | Apache-2.0 |
| 语言 | Shell |
收录时间:2026-05-13 · 更新时间:2026-05-16 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。