{"id":24577597,"url":"https://github.com/nik-rev/helix-golf","last_synced_at":"2025-10-05T04:31:26.231Z","repository":{"id":267544425,"uuid":"901578985","full_name":"nik-rev/helix-golf","owner":"nik-rev","description":"Powerful text refactoring with the Helix Editor","archived":false,"fork":false,"pushed_at":"2025-01-11T16:34:21.000Z","size":266,"stargazers_count":26,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T22:52:45.888Z","etag":null,"topics":["helix","helix-editor","neovim","vim","vimgolf"],"latest_commit_sha":null,"homepage":"https://nik-rev.github.io/helix-golf/","language":"MDX","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/nik-rev.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-10T23:28:19.000Z","updated_at":"2025-01-13T00:44:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"782ed388-1413-4ad4-965c-9e5ce5e4a363","html_url":"https://github.com/nik-rev/helix-golf","commit_stats":null,"previous_names":["nikitarevenco/helix-golf","nik-rev/helix-golf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nik-rev%2Fhelix-golf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nik-rev%2Fhelix-golf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nik-rev%2Fhelix-golf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nik-rev%2Fhelix-golf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nik-rev","download_url":"https://codeload.github.com/nik-rev/helix-golf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235361619,"owners_count":18977707,"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":["helix","helix-editor","neovim","vim","vimgolf"],"created_at":"2025-01-23T23:01:42.556Z","updated_at":"2025-10-05T04:31:26.226Z","avatar_url":"https://github.com/nik-rev.png","language":"MDX","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Helix Golf\n\nHelix is _very_ good at editing text and this website has examples of how I've refactored some snippets of code using it.\n\nhttps://github.com/user-attachments/assets/d79d583e-f79b-40ce-add7-e60a8307156a\n\nAll examples here:\n\n[https://nik-rev.github.io/helix-golf](https://nik-rev.github.io/helix-golf/)\n\n## Contributing\n\nIf you want to suggest a new example, make an issue and I'll add it.\n\n---\n\nIf you want to add a new example yourself: create `src/your_example.md` using the following template.\n\n````md\n# Title\n\nMade `h` capital and added exclamation mark.\n\n## Before\n\n```\nhello world\n```\n\n## After\n\n```\nHello world!\n```\n\n## Command\n\n```\n~A!\n```\n\n1. `~` changes case of the selection\n1. `A` go to end and enter insert mode\n1. `!` write the exclamation mark\n````\n\n### Dependencies\n\n- [Helix](https://docs.helix-editor.com/install.html)\n- [Rust](https://www.rust-lang.org/tools/install)\n- [mdbook](https://rust-lang.github.io/mdBook/guide/installation.html)\n- [VHS](https://github.com/charmbracelet/vhs?tab=readme-ov-file#installation) to generate the demo files and test examples for correctness\n\nIf you don't want to install them but still would like to contribute, you can edit the markdown example files in the [`src/`](src/) folder, send a pull request and the GitHub CI will automatically test your PR.\n\n### Validate\n\nVerify that your example is correctly structured by running the following command in the project root:\n\n```sh\ncargo validate\n```\n\n### Generate Demos\n\nThe demos for each example are generated and tested by running the following command:\n\n```sh\ncargo generate-demos\n```\n\nYou can specify exactly which demos to generate:\n\n```sh\ncargo generate-demos export_from_mod\n```\n\n### Running locally\n\nYou can run the website locally by running:\n\n```sh\nmdbook serve\n```\n\nIt will be available on `http://localhost:3000`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnik-rev%2Fhelix-golf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnik-rev%2Fhelix-golf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnik-rev%2Fhelix-golf/lists"}