{"id":23114311,"url":"https://github.com/dimchansky/ipfs-add","last_synced_at":"2025-08-16T20:31:58.489Z","repository":{"id":57538576,"uuid":"175775170","full_name":"dimchansky/ipfs-add","owner":"dimchansky","description":"Tool to add a file or directory to IPFS","archived":false,"fork":false,"pushed_at":"2019-03-18T15:02:01.000Z","size":28,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-15T22:21:11.092Z","etag":null,"topics":["go","golang","infura","ipfs"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/dimchansky.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-03-15T08:00:56.000Z","updated_at":"2021-11-09T15:57:07.000Z","dependencies_parsed_at":"2022-09-11T10:10:55.683Z","dependency_job_id":null,"html_url":"https://github.com/dimchansky/ipfs-add","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/dimchansky%2Fipfs-add","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchansky%2Fipfs-add/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchansky%2Fipfs-add/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchansky%2Fipfs-add/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimchansky","download_url":"https://codeload.github.com/dimchansky/ipfs-add/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230057931,"owners_count":18166172,"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":["go","golang","infura","ipfs"],"created_at":"2024-12-17T03:29:20.777Z","updated_at":"2024-12-17T03:29:24.035Z","avatar_url":"https://github.com/dimchansky.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ipfs-add [![GoDoc][1]][2] [![Build Status][3]][4] [![Go Report Card][5]][6] [![Coverage Status][7]][8]\n           \n[1]: https://godoc.org/github.com/dimchansky/ipfs-add?status.svg\n[2]: https://godoc.org/github.com/dimchansky/ipfs-add\n[3]: https://travis-ci.org/dimchansky/ipfs-add.svg?branch=master\n[4]: https://travis-ci.org/dimchansky/ipfs-add\n[5]: https://goreportcard.com/badge/github.com/dimchansky/ipfs-add\n[6]: https://goreportcard.com/report/github.com/dimchansky/ipfs-add\n[7]: https://codecov.io/gh/dimchansky/ipfs-add/branch/master/graph/badge.svg\n[8]: https://codecov.io/gh/dimchansky/ipfs-add\n\nTool to add a file or directory to IPFS. It acts like `ipfs add` command, but you don't \nneed IPFS node running on your local machine. By default it uses Infura nodes (`https://ipfs.infura.io:5001`)\nto add file or directory to IPFS, all directories are added recursively.\n\n## Usage\n\n```\nUSAGE:\n  ./ipfs-add [options] \u003cpath\u003e...\n\nARGUMENTS\n\n  \u003cpath\u003e... - The path to a file to be added to ipfs.\n\nOPTIONS\n\n  -H\tInclude files that are hidden. Only takes effect on directory add.\n  -node string\n    \tThe url of IPFS node to use. (default \"https://ipfs.infura.io:5001\")\n  -v\tPrint program version.\n```\n\n### Example\n\nAdding current directory to IPFS:\n\n```bash\n\u003e ipfs-add .\nadded QmctKt7CJDnmxdj7hRYXyqsLFMeEvpJt5qV6qdMprtcyop folder/1375 - Astronaut Vandalism - alt.txt\nadded QmXR6qCcJxy3P7TsqxodBgqMbSZCZBqdSNEmzHPzdfagub folder/1375 - Astronaut Vandalism - transcript.txt\nadded QmNTh4Er9bxYq6ULd4reHPkoPiPwVbXN8YqJHrnfkQy7RH folder/1375 - Astronaut Vandalism.png\nadded QmdGnC6rtZ7K7ERKnHuZCZcztbv9ZhBvsobHdgCowmX59F folder\n```\n\nYou can now refer to the added directories or files in a gateway, like so:\n\n- Folder\n\n    https://ipfs.infura.io/ipfs/QmdGnC6rtZ7K7ERKnHuZCZcztbv9ZhBvsobHdgCowmX59F\n    \n- File in folder\n\n    https://ipfs.infura.io/ipfs/QmdGnC6rtZ7K7ERKnHuZCZcztbv9ZhBvsobHdgCowmX59F/1375%20-%20Astronaut%20Vandalism.png\n\nYou can also use [any other IPFS gateway](https://ipfs.github.io/public-gateway-checker/) instead of \n`https://ipfs.infura.io/` like:\n\n* https://ipfs.io/\n* https://ipfs.eternum.io/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimchansky%2Fipfs-add","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimchansky%2Fipfs-add","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimchansky%2Fipfs-add/lists"}