{"id":13681980,"url":"https://github.com/maxlath/ipfs-add-from-url","last_synced_at":"2025-11-01T00:30:32.631Z","repository":{"id":57276548,"uuid":"80358620","full_name":"maxlath/ipfs-add-from-url","owner":"maxlath","description":"A command line executable to add a file to IPFS from a URL instead of a file path","archived":false,"fork":false,"pushed_at":"2023-11-30T14:50:08.000Z","size":2,"stargazers_count":26,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-28T18:38:28.201Z","etag":null,"topics":["cli","ipfs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxlath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-01-29T17:00:38.000Z","updated_at":"2024-05-30T10:49:52.000Z","dependencies_parsed_at":"2024-01-14T15:26:31.529Z","dependency_job_id":"bc1f6995-cc85-44e8-808b-6ab370f38be9","html_url":"https://github.com/maxlath/ipfs-add-from-url","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fipfs-add-from-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fipfs-add-from-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fipfs-add-from-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fipfs-add-from-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxlath","download_url":"https://codeload.github.com/maxlath/ipfs-add-from-url/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239132559,"owners_count":19587106,"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":["cli","ipfs"],"created_at":"2024-08-02T13:01:38.644Z","updated_at":"2025-11-01T00:30:32.579Z","avatar_url":"https://github.com/maxlath.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","工具"],"sub_categories":[],"readme":"# ipfs-add-from-url\nA command line executable to add a file to [IPFS](http://ipfs.io) from a URL instead of a file path\n\n## Dependency\nMake sure IPFS is [installed](https://ipfs.io/docs/install/) and the daemon running\n```sh\nipfs daemon\n```\n\n## Install\n**Globally**\n```sh\nnpm install -g ipfs-add-from-url\n# Use anywhere\nipfs-add-from-url https://inventaire.io/public/icon/120.png\n```\n\n**In a project**\n```sh\nnpm install ipfs-add-from-url --save\n# Use directly from npm scripts\nipfs-add-from-url https://inventaire.io/public/icon/120.png\n# Or using the relative path from the command line\n./node_modules/.bin/ipfs-add-from-url https://inventaire.io/public/icon/120.png\n```\n\n## Alternative\nAs [suggested by ftnd33](https://www.reddit.com/r/ipfs/comments/5quy34/ipfsaddfromurl_a_command_line_executable_to_add_a/dd2xo4s/), you can do pretty much the same with\n```sh\nwget -q -O - http://url.tld | ipfs add -q\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlath%2Fipfs-add-from-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxlath%2Fipfs-add-from-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlath%2Fipfs-add-from-url/lists"}