{"id":15039779,"url":"https://github.com/automattic/wordpress-rs","last_synced_at":"2026-04-21T02:01:52.865Z","repository":{"id":251118849,"uuid":"706383992","full_name":"Automattic/wordpress-rs","owner":"Automattic","description":"A cross-platform WordPress API implementation","archived":false,"fork":false,"pushed_at":"2025-02-01T01:44:22.000Z","size":6773,"stargazers_count":13,"open_issues_count":31,"forks_count":0,"subscribers_count":7,"default_branch":"trunk","last_synced_at":"2025-02-03T10:52:48.857Z","etag":null,"topics":["kotlin","rust","swift","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Automattic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.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}},"created_at":"2023-10-17T20:56:29.000Z","updated_at":"2025-02-01T01:13:57.000Z","dependencies_parsed_at":"2024-09-10T21:36:39.446Z","dependency_job_id":"a1857407-fe42-4f64-b02c-2311410a0817","html_url":"https://github.com/Automattic/wordpress-rs","commit_stats":null,"previous_names":["automattic/wordpress-rs"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fwordpress-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fwordpress-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fwordpress-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fwordpress-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Automattic","download_url":"https://codeload.github.com/Automattic/wordpress-rs/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237191817,"owners_count":19269763,"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":["kotlin","rust","swift","wordpress"],"created_at":"2024-09-24T20:43:49.439Z","updated_at":"2025-10-19T18:31:46.444Z","avatar_url":"https://github.com/Automattic.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wordpress-rs\n\n\u003e This project is under heavy development and shouldn't be considered production-ready yet. We're happy to hear any feedback you might have, but we're not yet ready to accept significant code contributions from others. We look forward to engaging with the community on this project in early 2025.\n\nA cross-platform implementation of the [WordPress REST API](https://developer.wordpress.org/rest-api/) written in Rust, with bindings for Kotlin, Swift, and more.\n\n## Prerequisites\n\nThe [Rust toolchain](https://www.rust-lang.org/tools/install) is required to build this project.\n\nGiven the multi-platform nature of this project, the development environment will vary depending on the platform you are targeting. Below are dependencies for each platform, grouped by language.\n\n### Kotlin\n\n| Dependency                                                | Platform         |\n| --------------------------------------------------------- | ---------------- |\n| [Gradle](https://gradle.org/install/)                     | Core             |\n| [Android SDK](https://developer.android.com/tools)        | Android          |\n| [Docker](https://www.docker.com/) (for integration tests) | Core + Android   |\n\nSee [Android Studio Configuration](#android-studio-configuration) for required IDE setup.\n\n### Swift\n\n| Dependency                                                                       | Platform        |\n| -------------------------------------------------------------------------------- | --------------- |\n| [Swift toolchain](https://www.swift.org/install/macos/)                          | Core            |\n| [Xcode](https://developer.apple.com/xcode/)                                      | Apple Platforms |\n| [Docker](https://www.docker.com/)  (for integration tests and server-side Swift) | Core + Server   |\n\n- **Core:** Required for all platforms.\n- **Android:** Required for Android development.\n- **Apple Platforms:** Required for iOS, macOS, watchOS, and tvOS development.\n- **Server:** Required for server-side development.\n\n## Development\n\nMany of the project scripts are managed in a Makefile found in the root of the project. To see a list of available commands, run:\n\n```sh\nmake help\n```\n\nSee [this documentation](Documentation/debugging-from-xcode.md) if you want to debug Rust code from Xcode.\n\n## Testing\n\nThis project has several test suites. Integration tests require Docker, and you must run `make test-server` prior to the test invocation.\n\n| Test Suite                       | Run on local machine.                 | Run in Docker                     |\n| -------------------------------- | ---------------------------------     | ---------------                   |\n| Rust Unit Tests                  | `cargo test --lib`                    | `make test-rust-lib`              |\n| Rust Documentation Tests         | `cargo test --doc`                    | `make test-rust-doc`              |\n| Rust Integration Tests           | `cargo test -p wp_api_integration_tests` | `make test-rust-integration`    |\n| Kotlin Integration Tests         | `cd native/kotlin \u0026\u0026 ./gradlew :api:kotlin:integrationTest` | `make test-kotlin-integration`   |\n| Swift Unit Tests                 | `swift test`                          | `make test-swift-linux-in-docker` |\n\n#### Android Studio Configuration\n\nThis project generates large Kotlin files that exceed Android Studio's default indexing limits. Add the following VM option to enable proper code indexing:\n\n```\n-Didea.max.intellisense.filesize=999999\n```\n\nTo add this:\n1. Go to `Help` \u003e `Edit Custom VM Options`\n2. Add the line to the `studio.vmoptions` file\n3. Invalidate caches and restart Android Studio\n\nThis setting helps resolve indexing issues with large generated files like `wp_api.kt`.\n\n**Troubleshooting:** If Android Studio cannot find `cargo`, it may be using its internal JDK instead of the system one. To fix this, [switch Android Studio to use your system JDK](https://stackoverflow.com/questions/30631286/how-to-specify-the-jdk-version-in-android-studio).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomattic%2Fwordpress-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautomattic%2Fwordpress-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomattic%2Fwordpress-rs/lists"}