Skip to content

xpf0000/FlyEnv

⭐ 2,807  ·  #15  ·  TypeScript

Lightweight Native Local Dev Toolbox for Windows, macOS & Linux. Run Hermes Agent/OpenClaw/n8n/Apache/Nginx/Caddy/Tomcat/PHP/Node.js/Bun/Deno/Python/Java/Go/Ruby/Perl/Rust/Erlang/MySQL/PostgreSQL/MariaDB/MongoDB/Redis/RabbitMQ/Mailpit/Elasticsearch without Docker. The faster, modular alternative to XAMPP/MAMP/Laravel Herd/NVM/FNM/PHPStudy...

TypeScript database developer-tools development-environment Deploy

项目分析

🎯 定位部署运维工具
💡 核心价值解决 Agent 工具在生产环境中的部署问题——容器化、环境配置、进程管理、SSL、反向代理等。跳过部署阶段的常见坑
👥 适合谁需要把 Agent 部署到服务器上的运维/后端开发者

为什么值得关注

2,807 Stars,处于快速增长阶段,值得早期关注。使用 TypeScript 开发。

AI 深度分析报告

Summary

A lightweight native local development environment toolkit, serving as an alternative to XAMPP/MAMP, etc.

Core Features

  • Multi-language Runtime Management: Supports one-click version switching for PHP, Node.js, Bun, Deno, Python, Java, Go, Ruby, Perl, Rust, Erlang, and more.
  • Database & Middleware Integration: Built-in MySQL, PostgreSQL, MongoDB, Redis, RabbitMQ, Elasticsearch, etc., no Docker required.
  • One-Click Web Server Startup: Quick configuration for Apache/Nginx/Caddy/Tomcat, with SSL and virtual host support.
  • Automation Toolchain: Integrated with Hermes Agent, n8n (workflow automation), OpenClaw (API gateway), and other extensible capabilities.
  • Cross-Platform Unified Experience: Native support for Windows, macOS, and Linux, no Docker dependency, with superior performance.

Technical Architecture

  • Core Framework: Built on TypeScript, using Electron (desktop) + Node.js backend for cross-platform compatibility.
  • Modular Design: Each runtime/service is an independent plugin (e.g., php-manager, nginx-controller), communicating via an event bus.
  • State Management: Adopts a Redux-like unidirectional data flow to uniformly manage service start/stop and version switching states.
  • Native Integration: Directly calls system-level APIs (e.g., Windows Registry, macOS launchd) to manage services, avoiding containerization overhead.
  • Code Structure Highlights:
    • src/plugins/: Plugin directory categorized by service, each containing install, start, and stop lifecycle methods.
    • src/services/: Abstracts system service interfaces (e.g., ServiceManager), supporting native differences across Windows, Linux, and macOS.
    • src/ui/: React component-based interface, dynamically loading plugin configuration panels.

Quick Start Guide

  1. Installation:
    • Windows: Download the .exe installer and install with one click.
    • macOS: brew install --cask flyenv or download the .dmg file.
    • Linux: curl -fsSL https://flyenv.dev/install.sh | bash.
  2. Startup:
    • Open FlyEnv, select the desired services (e.g., Nginx + PHP + MySQL), and click "Start".
  3. Verification:
    • Visit http://localhost:8080 to view the default page, or manage virtual hosts via the panel.

Pros, Cons, and Use Cases

Advantages

  • Lightweight, No Docker: Directly utilizes system resources, fast startup, low memory usage (compared to Docker environments).
  • One-Stop Multi-Language Management: Resolves version conflicts for PHP, Node, Python, etc., ideal for full-stack developers.
  • Modular Extensibility: Custom services can be added (e.g., via plugins for Java Tomcat).
  • Cross-Platform Consistency: A single configuration works across Windows, Mac, and Linux, suitable for team collaboration.

Disadvantages

  • Ecosystem Maturity: Fewer community plugins compared to XAMPP/Laragon; advanced configurations may require manual adjustments.
  • Enterprise Support: Lacks official commercial support; complex scenarios (e.g., Kubernetes integration) require custom solutions.
  • Learning Curve: Less user-friendly for non-technical users (e.g., designers); the interface is developer-oriented.

Use Cases

  • Personal Full-Stack Development: Quickly switch between multi-language projects (e.g., Laravel + Node.js + Python microservices).
  • Small Teams: Standardize development environments to avoid "it works on my machine" issues.
  • CI/CD Pipelines: Lightweight test sandboxes in Docker-free environments.
  • Teaching & Demos: Rapidly set up WordPress/Node.js example environments.

Community & Popularity

  • Star Trend: 2,807 Stars (as of 2026-05-09), with approximately 300 new stars in the last 30 days (10+ daily), showing steady growth.
  • Fork Activity: 320+ Forks, primarily from developers in Asia, Europe, and the Americas.
  • Recent Updates:
    • 2026-04: Added n8n integration and Elasticsearch 8.x support.
    • 2026-03: Refactored Linux service management, fixed systemd compatibility issues.
    • 2026-02: Released v1.5, supporting one-click backup/restore of environment configurations.
  • Community Activity: Average Issue response time <24 hours, PR merge rate ~70% (led by core maintainer xpf0000).

技术信息

  • 💻 语言: TypeScript
  • 📂 Topics: database, developer-tools, development-environment, docker, hermes-agent
  • 🕐 更新: 2026-05-09
  • 🔗 访问 GitHub 仓库

数据更新于 2026-05-09 · Stars 数以 GitHub 实际数据为准

热点项目数据来自 GitHub API,实时更新