{"id":28296090,"url":"https://github.com/microsoft/edit","last_synced_at":"2026-04-28T18:01:02.673Z","repository":{"id":294477331,"uuid":"952719663","full_name":"microsoft/edit","owner":"microsoft","description":"We all edit.","archived":false,"fork":false,"pushed_at":"2026-04-27T19:31:27.000Z","size":2375,"stargazers_count":13766,"open_issues_count":151,"forks_count":662,"subscribers_count":82,"default_branch":"main","last_synced_at":"2026-04-27T20:26:39.547Z","etag":null,"topics":["editor","rust","terminal","text-editor"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-21T18:58:21.000Z","updated_at":"2026-04-27T19:31:31.000Z","dependencies_parsed_at":"2025-06-05T21:24:14.112Z","dependency_job_id":"4eb8ee07-8c60-42a6-8e68-a388b39a5885","html_url":"https://github.com/microsoft/edit","commit_stats":null,"previous_names":["microsoft/edit"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/microsoft/edit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fedit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fedit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fedit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fedit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoft","download_url":"https://codeload.github.com/microsoft/edit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fedit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32392304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["editor","rust","terminal","text-editor"],"created_at":"2025-05-22T19:15:52.892Z","updated_at":"2026-04-28T18:01:02.660Z","avatar_url":"https://github.com/microsoft.png","language":"Rust","funding_links":[],"categories":["Rust","Applications","A01_文本生成_文本对话","\u003ca name=\"editors\"\u003e\u003c/a\u003eEditors","Text Editors","Table of Contents"],"sub_categories":["大语言对话模型及数据"],"readme":"# ![Application Icon for Edit](./assets/edit.svg) Edit\n\nA simple editor for simple needs.\n\nThis editor pays homage to the classic [MS-DOS Editor](https://en.wikipedia.org/wiki/MS-DOS_Editor), but with a modern interface and input controls similar to VS Code. The goal is to provide an accessible editor that even users largely unfamiliar with terminals can easily use.\n\n![Screenshot of Edit with the About dialog in the foreground](./assets/edit_hero_image.png)\n\n## Installation\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/microsoft-edit.svg?exclude_unsupported=1)](https://repology.org/project/microsoft-edit/versions)\n\nYou can also download binaries from [our Releases page](https://github.com/microsoft/edit/releases/latest).\n\n### Windows\n\nYou can install the latest version with WinGet:\n```powershell\nwinget install Microsoft.Edit\n```\n\n### Linux (build from source)\n\nIf your distribution does not provide binaries, or if you'd like to build your own, you can use our install script, provided you have installed:\n* Rust (via `rustup` or similar)\n* A C compiler (e.g. `gcc`)\n* ICU (e.g. libicu78, libicu, icu)\n* curl/wget and tar\n\nThe following command will then install `msedit` into `~/.local/bin`:\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/microsoft/edit/main/assets/install.sh | sh\n```\n\nAdditional flags are `--dev`, to build directly from the main branch, and `--system` to install into `/usr/local/bin`. For instance:\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/microsoft/edit/main/assets/install.sh | sh -s -- --dev --system\n```\n\n## Build Instructions\n\n* [Install Rust](https://www.rust-lang.org/tools/install)\n* Clone the repository\n* If you're using nightly Rust:\n  ```sh\n  cargo build --release --config .cargo/release.toml\n  ```\n* If you're using stable Rust:\n  * Ideally: Set the environment variable `RUSTC_BOOTSTRAP=1` and use the **nightly** build instructions above.\n    This is recommended, because it drastically reduces the binary size and slightly improves performance.\n  * Otherwise, simply run:\n    ```sh\n    cargo build --release\n    ```\n\n### Build Configuration\n\nYou can set the following environment variables at build-time to configure the build:\n\nEnvironment variable | Description\n--- | ---\n`EDIT_CFG_ICU*` | See [ICU library name (SONAME)](#icu-library-name-soname) below for details. Linux package maintainers are advised to review and configure these options.\n`EDIT_CFG_LANGUAGES` | A comma-separated list of languages to include in the build. See [i18n/edit.toml](i18n/edit.toml) for available languages.\n\n## Notes to Package Maintainers\n\n### Package Naming\n\nThe canonical executable name is \"edit\" and the alternative name is \"msedit\".\nWe're aware of the potential conflict of \"edit\" with existing commands and recommend alternatively naming packages and executables \"msedit\".\nNames such as \"ms-edit\" should be avoided.\nAssigning an \"edit\" alias is recommended, if possible.\n\n### ICU library name (SONAME)\n\nThis project optionally depends on the ICU library for its Search and Replace functionality.\n\nBy default, the project will look for the following library names:\n\n Variable | Windows | macOS | Linux / Other\n----------|---------|-------|---------------\n`EDIT_CFG_ICUUC_SONAME` | `icuuc.dll` | `libicucore.dylib` | `libicuuc.so`\n`EDIT_CFG_ICUI18N_SONAME` | `icuin.dll` | `libicucore.dylib` | `libicui18n.so`\n\nIf your installation uses a different SONAME, please set the following environment variable at build time:\n* `EDIT_CFG_ICUUC_SONAME`:\n  For instance, `libicuuc.so.76`.\n* `EDIT_CFG_ICUI18N_SONAME`:\n  For instance, `libicui18n.so.76`.\n\nAdditionally, this project assumes that the ICU exports symbols without `_` prefix and without version suffix, such as `u_errorName`.\nIf your installation uses versioned exports, please set:\n* `EDIT_CFG_ICU_CPP_EXPORTS`:\n  If set to `true`, it'll look for C++ symbols such as `_u_errorName`.\n  Enabled by default on macOS.\n* `EDIT_CFG_ICU_RENAMING_VERSION`:\n  If set to a version number, such as `76`, it'll look for symbols such as `u_errorName_76`.\n\nFinally, you can set the following environment variables:\n* `EDIT_CFG_ICU_RENAMING_AUTO_DETECT`:\n  If set to `true`, the executable will try to detect the `EDIT_CFG_ICU_RENAMING_VERSION` value at runtime.\n  The way it does this is not officially supported by ICU and as such is not recommended to be relied upon.\n  Enabled by default on UNIX (excluding macOS) if no other options are set.\n\nTo test your build settings, run `cargo test` with the `--ignored` flag. For instance:\n```sh\ncargo test -- --ignored\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fedit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoft%2Fedit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fedit/lists"}