{"id":23091738,"url":"https://github.com/sqlite-mpi/smpi-iop-react-native","last_synced_at":"2026-05-06T22:05:07.593Z","repository":{"id":57364305,"uuid":"223598113","full_name":"sqlite-mpi/smpi-iop-react-native","owner":"sqlite-mpi","description":"SMPI IOP for React Native.","archived":false,"fork":false,"pushed_at":"2019-11-26T21:23:05.000Z","size":20542,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-15T21:56:31.959Z","etag":null,"topics":["react-native","sqlite","sqlite3"],"latest_commit_sha":null,"homepage":"https://sqlitempi.com","language":"Swift","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/sqlite-mpi.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":"2019-11-23T14:02:43.000Z","updated_at":"2019-11-26T21:23:07.000Z","dependencies_parsed_at":"2022-09-13T21:11:10.774Z","dependency_job_id":null,"html_url":"https://github.com/sqlite-mpi/smpi-iop-react-native","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sqlite-mpi/smpi-iop-react-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlite-mpi%2Fsmpi-iop-react-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlite-mpi%2Fsmpi-iop-react-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlite-mpi%2Fsmpi-iop-react-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlite-mpi%2Fsmpi-iop-react-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sqlite-mpi","download_url":"https://codeload.github.com/sqlite-mpi/smpi-iop-react-native/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlite-mpi%2Fsmpi-iop-react-native/sbom","scorecard":{"id":843018,"data":{"date":"2025-08-11","repo":{"name":"github.com/sqlite-mpi/smpi-iop-react-native","commit":"5e5bcb9a7d747464d9e1683a8bfe1632e0820139"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":6,"reason":"binaries present in source code","details":["Warn: binary detected: android/src/main/jniLibs/arm64-v8a/libsmpi_iop_ffi.so:1","Warn: binary detected: android/src/main/jniLibs/armeabi-v7a/libsmpi_iop_ffi.so:1","Warn: binary detected: android/src/main/jniLibs/x86/libsmpi_iop_ffi.so:1","Warn: binary detected: ios/libs/libsmpi_iop_ffi.a:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T20:52:48.866Z","repository_id":57364305,"created_at":"2025-08-23T20:52:48.866Z","updated_at":"2025-08-23T20:52:48.866Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32713830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: 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":["react-native","sqlite","sqlite3"],"created_at":"2024-12-16T21:19:29.822Z","updated_at":"2026-05-06T22:05:07.567Z","avatar_url":"https://github.com/sqlite-mpi.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMPI IOP for React Native.\n\n### Install\n\nConsidering a newly created React Native project:\n\n- `npx react-native init TestProj`\n- `yarn add sqlite-mpi-client-js`\n- `yarn add smpi-iop-react-native`\n- `cd ios; pod install`\n    - [Autolinking](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md) should discover `smpi-iop-react-native`\n    - `open TestProj.xcworkspace`\n    - Add `$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)`  to `Target -\u003e Build Settings -\u003e Library Search Paths`.\n          - Fixes `Could not find auto-linked library 'swiftCoreImage'`.\n\n\nYou may also need to install https://github.com/itinance/react-native-fs in order to get file paths to pass the SMPI JS client.\n\n\nAn example React Native project:\nhttps://github.com/sqlite-mpi/SMPIDemoA\n\n\n\n### Introduction \n\nSee https://sqlitempi.com for a general overview.\n\nA React Native app consists of the following \"layers\":\n\n- A. JS application code.\n- B. Host code (iOS/Android)\n- C. Guest code (SQLite MPI binary that uses FFI)\n\n\nThe [SMPI JS client](https://github.com/sqlite-mpi/sqlite-mpi-client-js) provides a SQLite API to use in layer A.\n- The client is pure JS, and allows you to provide it IOP (Input Output Providers).\n- IOPs allow different implementations of sending and receiving data.\n- This allows the client to run in any JS environment that can send/receive data.\n\n\n### This repo\n\n- Is a React Native module.\n- Contains the code for layers B and C.\n- Is an IOP implementation that is passed to the SMPI JS client constructor.\n- Contains SQLite already compiled.\n    - Compiled as a shared library that is linked to the host in layer B.\n        - iOS uses a Universal Static Library (single binary that contains all architectures).\n        - Android chooses the correct JNI binary to use at runtime (arm64-v8a, armeabi-v7a, x86).\n\n\n \n### License note\n\nThe shared library binaries (.so, .a) included in this repo are MIT licensed, but the source code that produced them is closed and proprietary.\n\nA perpetual license for the source code can be arranged for a small fee, please contact emadda.dev@gmail.com.\n\nSee https://sqlitempi.com/license for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlite-mpi%2Fsmpi-iop-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqlite-mpi%2Fsmpi-iop-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlite-mpi%2Fsmpi-iop-react-native/lists"}