{"data":{"slug":"kossakovsky-selfhost-ai","name":"selfhost-ai","tagline":"Self-hosted AI automation platform","github_url":"https://github.com/kossakovsky/selfhost-ai","owner":"kossakovsky","repo":"selfhost-ai","owner_avatar_url":"https://avatars.githubusercontent.com/u/11432603?v=4","primary_language":"Shell","stars":933,"forks":237,"topics":["ai","ai-agents","automation","chatgpt-alternative","dify","docker","flowise","homelab","llm","local-llm","make-alternative","n8n","no-code","ollama","open-webui","qdrant","rag","self-hosted","vector-database","zapier-alternative"],"archived":false,"github_pushed_at":"2026-09-18T15:43:30+00:00","maintenance_label":"Very active","stars_delta_30d":31,"url":"https://www.graphcanon.com/tools/kossakovsky-selfhost-ai","markdown_url":"https://www.graphcanon.com/tools/kossakovsky-selfhost-ai.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/kossakovsky-selfhost-ai","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=kossakovsky-selfhost-ai","description":"🚀 Self-hosted AI automation platform. Deploy n8n, Ollama, Flowise, RAG, Supabase & 30+ tools with one command. Auto HTTPS. Free Zapier/Make alternative.","homepage_url":"https://github.com/kossakovsky/selfhost-ai#readme","license":"Apache-2.0","open_issues":0,"watchers":23,"ai_summary":"Offers one-command deployment of n8n, Ollama, Flowise, RAG, Supabase and over 30 tools with automated HTTPS setup. Serves as an alternative to Zapier or Make.","readme_excerpt":"# Selfhost AI — Self-Hosted AI Automation Platform\n\n\n\n\n\n\n\n**Deploy 30+ AI and automation tools with a single command.** This open-source Docker Compose template creates a complete self-hosted environment with n8n (workflow automation), Flowise (AI agents), Ollama (local LLMs), vector databases (Qdrant, Weaviate), RAG engines, Supabase, monitoring stack, and more — all pre-configured behind Caddy reverse proxy with automatic HTTPS. Plus, optionally import 300+ community workflows during setup!\n\n---\n\n### Prerequisites before Installation\n\n1.  **Domain Name:** You need a registered domain name (e.g., `yourdomain.com`).\n2.  **DNS Configuration:** Before running the installation script, you **must** configure DNS A-record for your domain, pointing to the public IP address of the server where you'll install this system. Replace `yourdomain.com` with your actual domain:\n    - **Wildcard Record:** `A *.yourdomain.com` -> `YOUR_SERVER_IP`\n3.  **VPS (Virtual Private Server):** A dedicated VPS with a public IP address is required. Home servers, shared hosting, or localhost setups are not supported.\n    - **Operating System:** Ubuntu 24.04 LTS, 64-bit\n    - For a minimal setup with **n8n, Monitoring, Databasus and Portainer**: **4 GB Memory / 2 CPU Cores / 40 GB Disk Space**\n    - For running **all available services**: at least **20 GB Memory / 4 CPU Cores / 60 GB Disk Space**\n\n---\n\n### Running the Install\n\nThe recommended way to install is using the provided main installation script.\n\n1.  Connect to your server via SSH.\n2.  Run the following command:\n\n    ```bash\n    git clone https://github.com/kossakovsky/selfhost-ai && cd selfhost-ai && sudo bash ./scripts/install.sh\n    ```\n\nThis single command automates the entire setup process, including:\n\n- Preparing your system (updates, firewall configuration, and basic security enhancements like brute-force protection).\n- Installing Docker and Docker Compose (tools for running applications in isolated environments).\n- Generating a configuration file (`.env`) with necessary secrets and your domain settings.\n- Launching all the services.\n\nDuring the installation, the script will prompt you for:\n\n1.  Your **primary domain name** (Required, e.g., `yourdomain.com`). This is the domain for which you've configured the wildcard DNS record.\n2.  Your **email address** (Required, used for service logins like Flowise, Supabase dashboard, Grafana, and for SSL certificate registration with Let's Encrypt).\n3.  An optional **OpenAI API key** (Not required. If provided, it can be used by Supabase AI features and Crawl4ai. Press Enter to skip).\n4.  Whether you want to **import ~300 ready-made n8n community workflows** (y/n, Optional. This can take 20-30 minutes, depending on your server and network speed).\n5.  The **number of n8n workers** you want to run (Required, e.g., 1, 2, 3, 4. This determines how many workflows can be processed in parallel. Each worker automatically gets its own dedicated task runner sidecar for executing Code nodes. Defaults to 1 if not specified).\n6.  A **Service Selection Wizard** will then appear, allowing you to choose which of the available services (like Flowise, Supabase, Qdrant, Open WebUI, etc.) you want to deploy. Core services (Caddy, Postgres, Redis) will be set up to support your selections.\n\nUpon successful completion, the script will display a summary report. This report contains the access URLs and credentials for the deployed services. **Save this information in a safe place!**\n\n---\n\n## Quick Start and Usage\n\nAfter successful installation, your services are up and running! Here's how to get started:\n\n1.  **Access Your Services:**\n    The installation script provided a summary report with all access URLs and credentials. Please refer to that report. The main services will be available at the following addresses (replace `yourdomain.com` with your actual domain):\n\n    - **n8n:** `n8n.yourdomain.com` (Log in with the email address you provided during installation and the i","github_created_at":"2025-05-05T19:51:24+00:00","created_at":"2026-07-11T11:26:55.044701+00:00","updated_at":"2026-09-20T06:06:05.096711+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"},{"slug":"model-training","name":"Model Training","url":"https://www.graphcanon.com/categories/model-training","markdown_url":"https://www.graphcanon.com/categories/model-training.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/model-training"},{"slug":"vector-databases","name":"Vector Databases","url":"https://www.graphcanon.com/categories/vector-databases","markdown_url":"https://www.graphcanon.com/categories/vector-databases.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/vector-databases"}],"tags":[{"slug":"ai-agents","name":"ai-agents"},{"slug":"automation","name":"automation"},{"slug":"chatgpt-alternative","name":"chatgpt-alternative"},{"slug":"docker","name":"docker"},{"slug":"flowise","name":"flowise"},{"slug":"homelab","name":"homelab"},{"slug":"llm","name":"llm"},{"slug":"local-llm","name":"local-llm"}],"trust":{"provenance":{"is_fork":false,"github_id":978316230,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-09-20T06:06:02.766Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":14,"days_since_push":1,"last_release_at":"2026-09-18T15:43:31Z","stars_delta_30d":31,"open_issues_delta_30d":0},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:26:56.376Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-09-20T06:06:03.928Z"},"deploy":{"source":"dockerfile:docker-compose.yml","self_host":true,"observed_at":"2026-09-20T06:06:03.928Z","managed_saas":false},"languages":{"value":["shell"],"source":"github.language","observed_at":"2026-09-20T06:06:03.928Z"},"has_docker":{"value":true,"source":"dockerfile:docker-compose.yml","observed_at":"2026-09-20T06:06:03.928Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-09-20T06:06:03.928Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["Self-hosted deployments aiming for centralized AI automation that includes n8n, Ollama, Flowise, RAG, Supabase, and other tools with a single command.","Users requiring end-to-end control over their data without relying on third-party cloud services like Zapier or Make."],"when_not_to_use":["Organizations seeking fully managed AI automation solutions where setup and maintenance are handled by the service provider.","Businesses preferring to avoid the overhead of managing self-hosted environments, including hardware requirements and system updates."],"source":"enrich:decision_facts","observed_at":"2026-07-14T20:06:14.287Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"selfhost-ai offers a self-contained suite for deploying multiple AI tools with automated HTTPS setup and one-command deployment, acting as an open alternative to cloud-based services like Zapier."}]}}