[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112031":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":15,"stars30d":12,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":16,"rankGlobal":10,"rankLanguage":10,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":20,"createdAt":10,"pushedAt":21,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":13,"starSnapshotCount":13,"syncStatus":25,"lastSyncTime":26,"discoverSource":27},112031,"enver","coyunai\u002Fenver","coyunai","开发环境管理器GUI控制，支持Linux\u002FMac\u002FLinux","",null,"Go",17,0,52,3,43.2,"MIT License",false,"main",[],"2026-11-03 00:48:35","2026-11-23 17:30:41","# enver\n\n[**English**](README.md) | [简体中文](README.zh-CN.md)\n\n> Environment orchestration for full-stack developers, built on [vfox](https:\u002F\u002Fvfox.dev).\n\n**Current version: 0.0.1** · MIT · Linux \u002F macOS \u002F Windows\n\nvfox answers **\"which version of Node \u002F Python \u002F Java is active?\"**\nenver answers **\"what does this project need, all together, and can I reproduce it in one click?\"**\n\nOne Go binary, a local web UI, and a complete CLI. No account, no cloud, no telemetry.\n\n```\nBrowser (React + xterm.js)\n   │  HTTP + SSE + WebSocket (127.0.0.1, session token)\nenver-core (Go)  ──  enver CLI\n   │  subprocess + environment injection\nvfox CLI  ──  vfox plugins  ──  installed runtimes\n```\n\n## Why enver\n\nvfox is an excellent version manager, but it manages one SDK at a time. A real full-stack\nproject needs a **combination**: Node 20 + Python 3.12 + Java 17, a virtualenv, a few\nenvironment variables, and a fixed set of ports. enver owns that combination layer and\ndelegates every download, extraction and plugin concern back to vfox.\n\n- **Presets** — a named runtime combination, applied globally or per project.\n- **Python isolation** — create, inspect, rebuild and activate `venv` \u002F `uv` environments\n  on top of vfox-managed interpreters.\n- **Global package visibility** — see what is installed per runtime version, export a\n  manifest, and understand what disappears when you switch Node versions.\n- **Storage control** — change the SDK root, migrate existing runtimes with verification,\n  and keep the old directory until you are confident.\n- **Diagnostics** — PATH conflicts, broken links, virtualenv drift, disk space, and the\n  classic \"another version manager is shadowing vfox\" problem.\n- **A local web UI that is actually local** — only loopback, short-lived session token,\n  no outbound calls except the vfox plugin catalog and the package managers you invoke.\n\n## Features\n\n| Area | What you get |\n| --- | --- |\n| Runtimes | SDK catalog, version search, install queue with live logs, uninstall, global\u002Fproject switch |\n| Presets | Multi-runtime presets, env vars, optional venv, apply globally or to a project |\n| Python | `uv` or stdlib `venv`, drift detection, rebuild, terminal activation, external interpreter compatibility mode |\n| Packages | Per-version global package list (`npm -g`, `pip`), filtering, export |\n| Storage | `storage.sdkPath`, `VFOX_HOME`, migration with copy → verify → relink → optional delete |\n| Diagnostics | vfox health, PATH shadowing, broken symlinks, venv health, disk space, shell integration |\n| Terminal | Embedded PTY terminal with preset \u002F venv environment injection |\n| CLI | Full functionality, JSON output, usable without the UI |\n\n## Requirements\n\n- [vfox](https:\u002F\u002Fvfox.dev) **>= 1.0.13** on `PATH` (or set `ENVER_VFOX_BIN`).\n- Go **1.25+** only when building from source.\n- Node **22+** only when building the web UI from source.\n- Windows 10 1809+ for the embedded terminal (ConPTY); Linux and macOS are supported.\n\n## Install\n\n### From source\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fcoyunai\u002Fenver.git\ncd enver\nmake build          # builds the UI, then embeds it into the binary\n.\u002Fdist\u002Fenver --version\n```\n\nOn Windows without `make`:\n\n```powershell\ncd web; npm ci; npm run build; cd ..\ngo build -trimpath -o dist\\enver.exe .\\cmd\\enver\n```\n\n### Go install\n\nThe web UI is embedded in the binary, so `go install` works:\n\n```bash\ngo install github.com\u002Fcoyunai\u002Fenver\u002Fcmd\u002Fenver@latest\n```\n\n### Release binaries\n\nTagged releases publish `linux\u002Famd64`, `linux\u002Farm64`, `darwin\u002Famd64`, `darwin\u002Farm64`,\n`windows\u002Famd64` and `windows\u002Farm64` archives plus `checksums.txt`.\n\n## Quick start\n\n```bash\nenver\n```\n\nThis starts the local UI (default `127.0.0.1:7788`), prints a URL containing a one-time\nsession token, and opens your browser. After the token exchange the UI uses an HttpOnly\ncookie; the token is never stored in JavaScript.\n\n```bash\nenver ui --no-open --port 7788       # do not open a browser\nenver ui --no-auth                   # local development only\nenver ui --no-open --token ci-token  # fixed token for automation\n```\n\nThe fixed `--token` form exists for scripts and CI. Normal use should rely on the printed\none-time URL instead.\n\n### CLI\n\n```bash\nenver sdk list\nenver sdk search nodejs\nenver sdk add python\nenver install nodejs@22.23.4\nenver use nodejs@22.23.4 -g\nenver use nodejs@22.23.4 -p --dir D:\\work\\myapp\n\nenver preset ls\nenver preset apply fullstack --scope global\nenver preset apply fullstack --scope project --dir D:\\work\\myapp\n\nenver venv create --python 3.12.4 --tool uv --project D:\\work\\myapp\nenver venv ls\nenver venv rebuild \u003Cid>\nenver venv rm \u003Cid>\n\nenver pkg ls nodejs@22.23.4\nenver pkg export nodejs@22.23.4\n\nenver doctor\nenver storage show\nenver storage migrate D:\\vfox-sdks --delete-old\nenver env --preset fullstack --json\n```\n\nEvery list-style command supports `--json`.\n\n## Python isolation\n\n- The base interpreter comes from vfox by default. enver never lets `uv` download its own\n  Python: it passes an explicit interpreter and sets `UV_PYTHON_DOWNLOADS=never`.\n- `uv` is used when available; otherwise enver falls back to `python -m venv`.\n- Environments record their base interpreter, version, tool, project and preset. enver\n  compares `pyvenv.cfg` with the record to detect drift after a Python upgrade.\n- **Compatibility mode:** if your vfox Python plugin cannot install (see known issues), you\n  can point enver at an existing interpreter path. This is explicit, labeled in the UI, and\n  still gives you full virtualenv isolation. The default remains vfox.\n\n## Storage\n\nTwo different knobs, often confused:\n\n| Setting | Scope | Use when |\n| --- | --- | --- |\n| `vfox config storage.sdkPath \u003Cdir>` | SDK installs only; config\u002Fplugins\u002Fcache stay in `~\u002F.vfox` | You want runtimes on another disk |\n| `VFOX_HOME` environment variable | Entire vfox home, including plugins | Portable setup or multi-user sharing |\n\nThe migration wizard is transactional in spirit: preflight → copy → verify → write vfox\nconfig → recreate global links → optional delete. Both the current layout\n(`\u003CsdkPath>\u002F\u003Csdk>\u002Fv-\u003Cversion>`) and the legacy `1.0.2`–`1.0.7` layout\n(`\u003CsdkPath>\u002Fcache\u002F\u003Csdk>`) are detected. enver also understands the pre-1.0\n`~\u002F.version-fox` home.\n\n## Security model\n\n- Binds `127.0.0.1` only.\n- A random token is generated per launch and exchanged at `\u002Fauth` for an HttpOnly,\n  SameSite=Strict cookie.\n- Token comparison is constant-time; unsafe requests with a foreign `Origin` are rejected.\n- The terminal WebSocket validates the `Origin` header.\n- Commands are executed with argument arrays, never through a shell string.\n- No telemetry. The only network calls are the vfox plugin catalog, vfox itself, and the\n  package managers you explicitly invoke.\n\n## Known issues\n\n- **Windows + vfox Python plugin.** `vfox 1.0.13` with `vfox-python 0.6.2` can fail during\n  `PostInstall` with `attempt to call a non-function object` (the plugin calls\n  `listing:lines()` on a `io.popen` handle). This is upstream. enver surfaces the failure\n  and offers an external interpreter in the virtualenv page as a workaround.\n- **Project scope on Windows** uses symlinks. Enable Developer Mode or run elevated, or use\n  global scope. enver reports the underlying vfox error instead of hiding it.\n- **`vfox use -g` on Windows** updates the user environment in the registry. This is vfox\n  behavior; switching versions can affect newly opened terminals outside enver.\n\n## Development\n\n```bash\nmake web      # build the React UI into internal\u002Fwebui\u002Fdist\nmake build    # build .\u002Fdist\u002Fenver with version metadata\nmake test     # go test .\u002F...\nmake vet      # go vet .\u002F...\n```\n\nHot-reload workflow:\n\n```bash\nenver ui --no-auth --no-open --port 7788   # terminal 1\ncd web && npm run dev                      # terminal 2, proxies \u002Fapi to 7788\n```\n\n### Build artifacts and repository hygiene\n\n- `dist\u002F`, `.tools\u002F`, `web\u002Fnode_modules\u002F`, `web\u002Fdist\u002F` and `go.work` are local only.\n- `internal\u002Fwebui\u002Fdist\u002F` **is committed on purpose**, so `go install` produces a working\n  binary without Node.js. Run `make web` after changing anything under `web\u002F` and include the\n  rebuilt assets in the same commit.\n- Binaries, coverage files, logs, local env files and editor state are ignored. Do not commit\n  them.\n- The UI is a Vite build with vendor chunks for React and xterm; the committed `index.html`\n  references hashed assets, so always commit the whole `internal\u002Fwebui\u002Fdist` directory as a\n  unit.\n\nRepository layout:\n\n```\ncmd\u002Fenver              CLI entrypoint\ninternal\u002Fapp           use cases shared by CLI and HTTP; storage migration\ninternal\u002Fvfox          vfox adapter, compatibility and directory scanning\ninternal\u002Fhttpapi       REST, SSE jobs, WebSocket terminal\ninternal\u002Fjobs          background jobs and bounded log streams\ninternal\u002Fpreset        presets\ninternal\u002Fvenv          virtualenv metadata and health\ninternal\u002Fpackages      npm\u002Fpip introspection and export\ninternal\u002Fdoctor        diagnostics\ninternal\u002Ffsutil        atomic JSON, tree copy, size helpers\ninternal\u002Fplatform      disk-space helpers\ninternal\u002Frun           child-process runner\ninternal\u002Fcatalog       plugin catalog cache with embedded fallback\ninternal\u002Fconfig        application configuration\ninternal\u002Fbuildinfo     version metadata\ninternal\u002Fwebui         embedded web assets\nweb                    React + Vite UI\ndocs                   architecture and operations notes\n```\n\nSee [docs\u002Farchitecture.md](docs\u002Farchitecture.md) for the adapter contract, API surface and\ndesign decisions.\n\n## Roadmap\n\n- **P1**: package diff\u002Fmigration across runtime versions, snapshots and rollback, mirror\n  and proxy center, port manager, `env.lock` reproduction, project import, IDE interpreter\n  wiring, task runner.\n- **P2**: team preset sharing, offline runtime bundles, process panel, plugin debugging UI,\n  WSL management, portable mode, EOL\u002FCVE notices, multi-machine sync.\n\n## Contributing\n\nIssues and pull requests are welcome. Please read [CONTRIBUTING.md](CONTRIBUTING.md) and run\n`make test` plus `make vet` before opening a PR.\n\n## License\n\nMIT. See [LICENSE](LICENSE).\n\n---\n\n## 中文\n\n完整中文文档见 [README.zh-CN.md](README.zh-CN.md)。\n","enver 是一个面向全栈开发者的本地化开发环境编排工具，通过图形化界面与命令行协同管理多语言运行时（如 Node\u002FPython\u002FJava）的组合配置。它基于 vfox 构建，核心能力包括：定义跨语言的环境预设（Presets）、集成 Python 虚拟环境（venv\u002Fuv）生命周期管理、可视化全局包依赖、诊断 PATH 冲突与环境漂移、控制 SDK 存储路径及安全迁移。所有服务仅运行于本地回环地址，无云端依赖、无遥测、无账户体系。适用于需要在单项目中稳定复现多版本运行时+依赖+环境变量的团队协作或复杂单体\u002F微前端开发场景。",2,"2026-11-24 04:42:09","CREATED_QUERY"]