{"id":20179711,"url":"https://github.com/deadpixi/rope","last_synced_at":"2025-04-10T04:45:51.321Z","repository":{"id":44331717,"uuid":"490982392","full_name":"deadpixi/rope","owner":"deadpixi","description":"A persistent rope in Go","archived":false,"fork":false,"pushed_at":"2022-07-09T03:52:43.000Z","size":69,"stargazers_count":84,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T06:03:23.325Z","etag":null,"topics":["go","golang","text","text-editor"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deadpixi.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}},"created_at":"2022-05-11T06:21:37.000Z","updated_at":"2025-03-01T16:53:18.000Z","dependencies_parsed_at":"2022-08-31T21:34:03.328Z","dependency_job_id":null,"html_url":"https://github.com/deadpixi/rope","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadpixi%2Frope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadpixi%2Frope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadpixi%2Frope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadpixi%2Frope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadpixi","download_url":"https://codeload.github.com/deadpixi/rope/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161237,"owners_count":21057552,"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":["go","golang","text","text-editor"],"created_at":"2024-11-14T02:27:55.781Z","updated_at":"2025-04-10T04:45:51.296Z","avatar_url":"https://github.com/deadpixi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ropes in Go\n\nA value-oriented, immutable, functional rope in Go.\n\n# Introduction\n\nThis module provides an implementation of the [rope data structure](https://en.wikipedia.org/wiki/Rope_(data_structure)) in Go.\nRopes allow for the efficient manipulation of long strings of text.\n\nThe rope structure implemented by this module is immutable, value-oriented, and immutable.\n\nThere is no way to modify an existing rope:\nall operations on a rope return a new rope.\n\nOne notable use case that this makes particularly nice is undo/redo:\nsimply keep the old versions of the rope around.\n\n# Example\n\nA simple example:\n\n```go\n\n\trope := NewString(\"hello\")\n\trope = rope.AppendString(\", world!\")\n\tfmt.Printf(\"The value of the rope is: %v\\n\", rope.String())\n\n```\n\n# Documentation\n\nDocumentation is included inline and is also available at https://pkg.go.dev/github.com/deadpixi/rope\n\n# License\n\nrope - a persistent rope data structure\nCopyright (C) 2022 Rob King\n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301\nUSA\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadpixi%2Frope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadpixi%2Frope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadpixi%2Frope/lists"}