{"id":13822435,"url":"https://github.com/milkey-mouse/edit","last_synced_at":"2025-05-16T17:30:48.971Z","repository":{"id":39520191,"uuid":"235286148","full_name":"milkey-mouse/edit","owner":"milkey-mouse","description":"Cross-platform Rust library for invoking \u0026 waiting for the system text editor","archived":false,"fork":false,"pushed_at":"2025-03-14T20:16:58.000Z","size":44,"stargazers_count":45,"open_issues_count":4,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T21:28:27.379Z","etag":null,"topics":["cross-platform","rust-lang","text-editing","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":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/milkey-mouse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-01-21T08:04:09.000Z","updated_at":"2025-03-14T20:17:02.000Z","dependencies_parsed_at":"2024-01-18T03:49:08.633Z","dependency_job_id":null,"html_url":"https://github.com/milkey-mouse/edit","commit_stats":{"total_commits":20,"total_committers":6,"mean_commits":"3.3333333333333335","dds":0.25,"last_synced_commit":"2dae0a80da54572eec95c0029e9b678bbda63e76"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milkey-mouse%2Fedit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milkey-mouse%2Fedit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milkey-mouse%2Fedit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milkey-mouse%2Fedit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milkey-mouse","download_url":"https://codeload.github.com/milkey-mouse/edit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254576379,"owners_count":22094357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cross-platform","rust-lang","text-editing","text-editor"],"created_at":"2024-08-04T08:02:00.135Z","updated_at":"2025-05-16T17:30:48.738Z","avatar_url":"https://github.com/milkey-mouse.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# `edit`\n\n[![crates.io](https://img.shields.io/crates/v/edit.svg)](https://crates.io/crates/edit) [![docs.rs](https://docs.rs/edit/badge.svg)](https://docs.rs/edit/)\n\n`edit` is a Rust library that lets you open and edit something in a text editor, regardless of platform. (Think `git commit`.)\n\nIt works on Windows, Mac, and Linux, and knows about lots of different text editors to fall back upon in case standard environment variables such as `VISUAL` and `EDITOR` aren't set.\n\n    let template = \"Fill in the blank: Hello, _____!\";\n    let edited = edit::edit(template)?;\n    println!(\"after editing: '{}'\", edited);\n    // after editing: 'Fill in the blank: Hello, world!'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilkey-mouse%2Fedit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilkey-mouse%2Fedit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilkey-mouse%2Fedit/lists"}