{"id":14956241,"url":"https://github.com/raviganwal/ipfs_client_flutter","last_synced_at":"2026-03-07T05:32:20.553Z","repository":{"id":43090119,"uuid":"464202478","full_name":"raviganwal/ipfs_client_flutter","owner":"raviganwal","description":"IPFS client for flutter","archived":false,"fork":false,"pushed_at":"2022-03-19T03:09:16.000Z","size":35,"stargazers_count":11,"open_issues_count":2,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-10T09:31:17.396Z","etag":null,"topics":["ipfs","ipfs-api","ipfs-blockchain"],"latest_commit_sha":null,"homepage":"https://github.com/raviganwal/ipfs_client_flutter","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/raviganwal.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":"2022-02-27T17:17:37.000Z","updated_at":"2025-03-17T00:38:39.000Z","dependencies_parsed_at":"2022-09-13T09:11:35.002Z","dependency_job_id":null,"html_url":"https://github.com/raviganwal/ipfs_client_flutter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raviganwal/ipfs_client_flutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviganwal%2Fipfs_client_flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviganwal%2Fipfs_client_flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviganwal%2Fipfs_client_flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviganwal%2Fipfs_client_flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raviganwal","download_url":"https://codeload.github.com/raviganwal/ipfs_client_flutter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviganwal%2Fipfs_client_flutter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30154762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"ssl_error","status_checked_at":"2026-03-05T22:39:24.771Z","response_time":93,"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":["ipfs","ipfs-api","ipfs-blockchain"],"created_at":"2024-09-24T13:12:35.205Z","updated_at":"2026-03-07T05:32:20.532Z","avatar_url":"https://github.com/raviganwal.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- \nThis README describes the package. If you publish this package to pub.dev,\nthis README's contents appear on the landing page for your package.\n\nFor information about how to write a good package README, see the guide for\n[writing package pages](https://dart.dev/guides/libraries/writing-package-pages). \n\nFor general information about developing packages, see the Dart guide for\n[creating packages](https://dart.dev/guides/libraries/create-library-packages)\nand the Flutter guide for\n[developing packages and plugins](https://flutter.dev/developing-packages). \n--\u003e\n\nA flutter client library for the [IPFS HTTP API](https://docs.ipfs.io/reference/http/api/).\n\n### Features\n\n* Make a directory\n* List all directories/files in a directory/subdirectory\n* File status\n* Write a file\n* Read a file\n* Remove a file/directory\n* Move/Rename a file\n\n### Usage\n```\n  IpfsClient ipfsClient = IpfsClient();\n```\nOR\n```\n  IpfsClient ipfsClient = IpfsClient(url: \"http://127.0.0.1:5001\");\n  // default is http://127.0.0.1:5001 so you don't need to pass url in case you are working on localhost\n```\n\nIf your app uses `Basic Authorization` then,\n```\n  IpfsClient ipfsClient =\n      IpfsClient(url: \"YOUR_SERVER_URL\", authorizationToken: \"YOUR_TOKEN\");\n```\n### How to make a directory in IPFS\n```\n  var response = await ipfsClient.mkdir(dir: 'myfolder');\n```\n\n### Get list of directories/files in a directory/subdirectory in the local mutable namespace.\n```\n  var response = await ipfsClient.ls(dir: 'myfolder');\n```\nIf you dont pass any folder it will return all files and directories of root directory.\n\n### How to Write to a file\n```\n    var response = await ipfsClient.write(\n      dir: 'myfolder/sample.png',\n      filePath: \"/Users/myuser/Desktop/sample.png\",\n      fileName: \"sample.png\");\n```\n### How to read a file\n```\n  var response = await ipfsClient.read(dir: \"myfolder/sample.png\");\n```\n### How to remove a file\n```\n  var response = await ipfsClient.remove(dir: \"myfolder/sample.png\");\n```\n### How to move/rename a file\n```\n  var response = await ipfsClient.mv(oldPath: \"myfolder/sample.png\", newPath: \"myfolder/MY_SAMPLE.png\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraviganwal%2Fipfs_client_flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraviganwal%2Fipfs_client_flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraviganwal%2Fipfs_client_flutter/lists"}