{"id":22165608,"url":"https://github.com/textileio/dart-textile","last_synced_at":"2025-07-26T11:32:10.981Z","repository":{"id":59150030,"uuid":"238340578","full_name":"textileio/dart-textile","owner":"textileio","description":"Dart library to build apps on Textile","archived":false,"fork":false,"pushed_at":"2020-05-11T18:53:52.000Z","size":47,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-08-20T23:23:58.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/textileio.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":"2020-02-05T01:06:38.000Z","updated_at":"2022-09-12T01:08:39.000Z","dependencies_parsed_at":"2022-09-13T08:40:35.225Z","dependency_job_id":null,"html_url":"https://github.com/textileio/dart-textile","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textileio%2Fdart-textile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textileio%2Fdart-textile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textileio%2Fdart-textile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textileio%2Fdart-textile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/textileio","download_url":"https://codeload.github.com/textileio/dart-textile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227673973,"owners_count":17802303,"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":[],"created_at":"2024-12-02T05:15:44.105Z","updated_at":"2024-12-02T05:15:44.725Z","avatar_url":"https://github.com/textileio.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dart-textile\n\n\u003e Warning: The dart-textile library is temporarily deprecated not currently up-to-date with the [Textile Hub](https://docs.textile.io/hub/introduction/) and so will not work. If you are waiting for Dart support, please [see here](https://github.com/textileio/dart-textile/issues/5).\n\n[![Made by Textile](https://img.shields.io/badge/made%20by-Textile-informational.svg?style=popout-square)](https://textile.io)\n[![Chat on Slack](https://img.shields.io/badge/slack-slack.textile.io-informational.svg?style=popout-square)](https://slack.textile.io)\n[![GitHub license](https://img.shields.io/github/license/textileio/dart-textile.svg?style=popout-square)](./LICENSE)\n[![Pub](https://img.shields.io/pub/v/textile.svg?style=popout-square)](https://pub.dartlang.org/packages/textile)\n[![Threads version](https://img.shields.io/badge/dynamic/yaml?style=popout-square\u0026color=3527ff\u0026label=go-threads\u0026prefix=v\u0026query=packages.threads_client_grpc.version\u0026url=https%3A%2F%2Fgithub.com%2Ftextileio%2Fdart-textile%2Fblob%2Fmaster%2Fpubspec.lock)](https://github.com/textileio/go-threads)\n[![Build status](https://img.shields.io/github/workflow/status/textileio/dart-textile/test/master.svg?style=popout-square)](https://github.com/textileio/dart-textile/actions?query=branch%3Amaster)\n\n\u003e Textile's Dart client for interacting with remote Threads\n\nJoin us on our [public Slack channel](https://slack.textile.io/) for news, discussions, and status updates. [Check out our blog](https://medium.com/textileio) for the latest posts and announcements.\n\n## Table of Contents\n\n-   [Getting Started](#getting_started)\n-   [Contributing](#contributing)\n-   [Changelog](#changelog)\n-   [License](#license)\n\n## Getting Started\n\nYou can use this library to access and use Textile's hosted APIs.\n\n### Examples\n\nExamples require the use of the [threads-client](https://github.com/textileio/dart-threads-client/).\n\n#### Run Threads on Textile APIs\n\n```dart\nimport 'package:textile/textile.dart' as textile;\nimport 'package:threads_client/threads_client.dart' as threads;\n\nconst APP_TOKEN = '\u003capp token\u003e';\nconst DEVICE_ID = '\u003cuuid\u003e';\n\nvoid main(List\u003cString\u003e args) async {\n  final config = textile.ThreadsConfig(APP_TOKEN, DEVICE_ID);\n  final client = threads.Client(config: config);\n  final store = await client.newStore();\n  print('New store $store');\n}\n```\n\n#### Run Threads in Debug mode with local Threads daemon\n\n```dart\nimport 'package:textile/textile.dart' as textile;\nimport 'package:threads_client/threads_client.dart' as threads;\n\nconst APP_TOKEN = '\u003capp token\u003e';\nconst DEVICE_ID = '\u003cuuid\u003e';\n\n/*\n * Run your app against a local Threads daemon for easy testing and debugging.\n*/\nvoid main(List\u003cString\u003e args) async {\n  final config = textile.ThreadsConfig(APP_TOKEN, DEVICE_ID, dev: true);\n  final client = threads.Client(config: config);\n  final store = await client.newStore();\n  print('New store $store');\n}\n```\n\n#### Run Threads on Textile APIs\n\n```dart\n\nimport 'package:textile/textile.dart' as textile;\nimport 'package:threads_client/threads_client.dart' as threads;\n\nconst APP_TOKEN = '\u003capp token\u003e';\nconst DEVICE_ID = '\u003cuuid\u003e';\n\nvoid main(List\u003cString\u003e args) async {\n  final config = textile.ThreadsConfig(APP_TOKEN, DEVICE_ID);\n  final client = threads.Client(config: config);\n  final store = await client.newStore();\n  print('New store $store');\n}\n```\n\n## Contributing\n\nThis project is a work in progress. As such, there's a few things you can do right now to help out:\n\n-   **Ask questions**! We'll try to help. Be sure to drop a note (on the above issue) if there is anything you'd like to work on and we'll update the issue to let others know. Also [get in touch](https://slack.textile.io) on Slack.\n-   **Open issues**, [file issues](https://github.com/textileio/dart-textile/issues), submit pull requests!\n-   **Perform code reviews**. More eyes will help a) speed the project along b) ensure quality and c) reduce possible future bugs.\n-   **Take a look at the code**. Contributions here that would be most helpful are **top-level comments** about how it should look based on your understanding. Again, the more eyes the better.\n-   **Add tests**. There can never be enough tests.\n\nBefore you get started, be sure to read our [contributors guide](./CONTRIBUTING.md) and our [contributor covenant code of conduct](./CODE_OF_CONDUCT.md).\n\n## Changelog\n\n[Changelog is published to Releases.](https://github.com/textileio/dart-textile/releases)\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextileio%2Fdart-textile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftextileio%2Fdart-textile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextileio%2Fdart-textile/lists"}