{"id":43386641,"url":"https://github.com/posit-dev/automerge-r","last_synced_at":"2026-02-19T15:05:59.403Z","repository":{"id":325325222,"uuid":"1098988370","full_name":"posit-dev/automerge-r","owner":"posit-dev","description":"R Bindings for the Automerge CRDT Library","archived":false,"fork":false,"pushed_at":"2026-02-17T11:44:44.000Z","size":44949,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-17T13:55:24.178Z","etag":null,"topics":["automerge","crdt","r"],"latest_commit_sha":null,"homepage":"https://posit-dev.github.io/automerge-r/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/posit-dev.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-18T12:07:03.000Z","updated_at":"2026-02-17T11:40:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/posit-dev/automerge-r","commit_stats":null,"previous_names":["shikokuchuo/automerge-r"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/posit-dev/automerge-r","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fautomerge-r","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fautomerge-r/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fautomerge-r/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fautomerge-r/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posit-dev","download_url":"https://codeload.github.com/posit-dev/automerge-r/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fautomerge-r/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29616960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["automerge","crdt","r"],"created_at":"2026-02-02T11:14:49.899Z","updated_at":"2026-02-19T15:05:59.398Z","avatar_url":"https://github.com/posit-dev.png","language":"Rust","readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# automerge\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![CRAN status](https://www.r-pkg.org/badges/version/automerge)](https://CRAN.R-project.org/package=automerge)\n[![R-CMD-check](https://github.com/posit-dev/automerge-r/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/posit-dev/automerge-r/actions/workflows/R-CMD-check.yaml)\n[![Codecov test coverage](https://codecov.io/gh/posit-dev/automerge-r/graph/badge.svg)](https://app.codecov.io/gh/posit-dev/automerge-r)\n\u003c!-- badges: end --\u003e\n\nConflict-free data synchronization for R\n\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/posit-dev/automerge-r)\n\n`automerge` brings [Automerge](https://automerge.org/) CRDTs (Conflict-free Replicated Data Types) to R, enabling automatic merging of concurrent changes across distributed systems without conflicts. Work offline, collaborate in real-time, or sync across platforms—changes merge automatically.\n\n## Why Automerge?\n\nTraditional approaches to distributed data either require a central server to coordinate changes or force developers to write complex conflict resolution logic. Automerge's CRDT technology automatically merges concurrent changes with mathematical guarantees, eliminating the need for coordination and making distributed systems dramatically simpler.\n\n## Quick Example\n\n```{r}\nlibrary(automerge)\n\n# Two researchers working independently\nalice \u003c- am_create()\nalice$experiment \u003c- \"trial_001\"\nalice$temperature \u003c- 23.5\nam_commit(alice, \"Alice's data\")\n\nbob \u003c- am_create()\nbob$experiment \u003c- \"trial_002\"\nbob$humidity \u003c- 65\nam_commit(bob, \"Bob's data\")\n\n# Later, sync with zero conflicts\nam_sync(alice, bob)\nalice\nbob\n```\n\n## Key Features\n\n- **Familiar R syntax**: Work with CRDT documents like regular R lists\n- **Rich data types**: Maps, lists, text objects, counters, and timestamps\n- **Collaborative text editing**: Cursors and marks for rich text applications\n- **Bidirectional sync**: High-level `am_sync()` or low-level protocol access\n- **Offline-first**: Make changes offline, merge when connected\n- **Cross-platform**: Interoperates with JavaScript and other Automerge implementations\n- **Zero dependencies**: Only base R required at runtime\n\n## Installation\n\n```r\ninstall.packages(\"automerge\")\n```\n\nBuilding from source requires Rust \u003e= 1.85 ([rustup.rs](https://rustup.rs/)) and CMake \u003e= 3.25 (included in Rtools43+ on Windows).\n\n## Documentation\n\n- [Getting Started](https://posit-dev.github.io/automerge-r/articles/automerge.html): Introduction and basic usage\n- [Quick Reference](https://posit-dev.github.io/automerge-r/articles/quick-reference.html): Function reference organized by task\n- [CRDT Concepts](https://posit-dev.github.io/automerge-r/articles/crdt-concepts.html): Understanding conflict-free data types\n- [Sync Protocol](https://posit-dev.github.io/automerge-r/articles/sync-protocol.html): Low-level synchronization details\n- [Cross-Platform Synchronization](https://posit-dev.github.io/automerge-r/articles/cross-platform.html): Interoperability with JavaScript and other platforms\n- [Function Reference](https://posit-dev.github.io/automerge-r/reference/index.html): Complete API documentation\n\n## External Resources\n\n- [Automerge Website](https://automerge.org/) - Official Automerge documentation and guides\n- [Automerge GitHub](https://github.com/automerge/automerge) - Automerge source code\n- [Local-first software](https://www.inkandswitch.com/local-first/) - The philosophy behind Automerge\n\n## Related Projects\n\n- [autosync](https://shikokuchuo.net/autosync/) - automerge-repo compatible R sync server\n- [autoedit](https://shikokuchuo.net/autoedit/) - Collaborative code editor widget for R and Shiny\n\n## License\n\nMIT License. See [LICENSE](LICENSE) for details. This package includes the [automerge-c](https://github.com/automerge/automerge) library (also MIT licensed)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposit-dev%2Fautomerge-r","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposit-dev%2Fautomerge-r","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposit-dev%2Fautomerge-r/lists"}