{"id":26070341,"url":"https://github.com/dappforce/subsocial-flutter","last_synced_at":"2025-04-11T19:04:02.783Z","repository":{"id":46307782,"uuid":"355839846","full_name":"dappforce/subsocial-flutter","owner":"dappforce","description":"Flutter SDK for Subsocial blockchain.","archived":false,"fork":false,"pushed_at":"2021-12-27T20:00:11.000Z","size":804,"stargazers_count":11,"open_issues_count":9,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T14:51:25.045Z","etag":null,"topics":["dapp","dart","flutter","subsocial","subsocial-network","substrate"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dappforce.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}},"created_at":"2021-04-08T09:18:50.000Z","updated_at":"2022-12-11T16:04:38.000Z","dependencies_parsed_at":"2022-09-06T05:21:54.920Z","dependency_job_id":null,"html_url":"https://github.com/dappforce/subsocial-flutter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fsubsocial-flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fsubsocial-flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fsubsocial-flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fsubsocial-flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dappforce","download_url":"https://codeload.github.com/dappforce/subsocial-flutter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465324,"owners_count":21108243,"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":["dapp","dart","flutter","subsocial","subsocial-network","substrate"],"created_at":"2025-03-08T23:16:01.451Z","updated_at":"2025-04-11T19:04:02.762Z","avatar_url":"https://github.com/dappforce.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Subsocial Flutter SDK\n\n## Usage\n\nin your flutter project run the following commands to add the SDK to your project as a package.\n\n```bash\ngit submodule add https://github.com/dappforce/subsocial-flutter.git packages/subsocial_sdk\n```\n\nthen run the following command\n\n```bash\n./packages/subsocial_sdk/init.py\n```\n\nin your flutter project in `pubspec.yml` just add:\n\n```yaml\nsubsocial_sdk:\n    path: packages/subsocial_sdk\n```\n\nthen use the SDK as any other flutter package.\n\n**To Update the SDK**\nSimply run:\n\n```bash\ngit submodule foreach git pull origin main\n```\n\nthen rerun the `init.py` script to fetch the latest native libs.\n\n```bash\n./packages/subsocial_sdk/init.py\n```\n\n## To run the example app\nRun the following script\n\n```bash\n./init.py .\n```\n\n## Development, Setup and, Tools\n\n\u003e Note these instructions only for who are working on the development of the SDK\n\u003e not the end-users that will use this SDK in the apps.\n\n* Cargo Plugins\n\n```sh\ncargo install cargo-make\n```\n\n* Install LLVM (10+) in the following way:\n\n* **ubuntu/linux**\n\n    1. Install libclangdev - `sudo apt-get install libclang-dev`.\n\n* **Windows**\n\n    1. Install Visual Studio with C++ development support.\n    2. Install [LLVM](https://releases.llvm.org/download.html)\n       or `winget install -e --id LLVM.LLVM`.\n\n* **MacOS**\n\n    1. Install Xcode.\n    2. Install LLVM - `brew install llvm`.\n\n## Build and Test\n\nIn the Root of the project simply run:\n\n```sh\ncargo make native\n```\n\nTo Run tests:\n\n```sh\nflutter test\n```\n\nThen run the example flutter app:\n\n* Build the native libs\n\n```sh\ncargo make android-dev # or ios\n```\n\n* then run the app (the example)\n\n```sh\nflutter run\n```\n\n## See also\n\n* [Dart Meets Rust: a match made in heaven ✨](https://dev.to/sunshine-chain/dart-meets-rust-a-match-made-in-heaven-9f5)\n* [Dart and Rust: the async story 🔃](https://dev.to/sunshine-chain/rust-and-dart-the-async-story-3adk)\n* [Flutterust](https://github.com/shekohex/flutterust)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappforce%2Fsubsocial-flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdappforce%2Fsubsocial-flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappforce%2Fsubsocial-flutter/lists"}