{"id":13446175,"url":"https://github.com/khrj/hcload","last_synced_at":"2026-05-15T08:03:31.935Z","repository":{"id":51169221,"uuid":"305483150","full_name":"khrj/hcload","owner":"khrj","description":"Upload files to Hackclub's CDN using your CLI","archived":false,"fork":false,"pushed_at":"2022-02-09T19:04:28.000Z","size":105,"stargazers_count":11,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T20:41:15.326Z","etag":null,"topics":["cdn","cli","deno","files","hackclub","mirror","storage","upload"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/khrj.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-10-19T18:49:42.000Z","updated_at":"2025-09-21T20:05:09.000Z","dependencies_parsed_at":"2022-08-29T21:52:26.640Z","dependency_job_id":null,"html_url":"https://github.com/khrj/hcload","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/khrj/hcload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khrj%2Fhcload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khrj%2Fhcload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khrj%2Fhcload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khrj%2Fhcload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khrj","download_url":"https://codeload.github.com/khrj/hcload/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khrj%2Fhcload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33058965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cdn","cli","deno","files","hackclub","mirror","storage","upload"],"created_at":"2024-07-31T05:00:47.652Z","updated_at":"2026-05-15T08:03:31.899Z","avatar_url":"https://github.com/khrj.png","language":"TypeScript","funding_links":[],"categories":["CLI Tools"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"assets/logo.svg\" width=\"350\" height=\"350\" alt=\"Hand with phone showing paper plane which is being tapped; Paper plane flying away out of phone\"\u003e\n    \u003ch1\u003ehcload\u003c/h1\u003e\n    \u003cp\u003e\n        \u003cb\u003eUpload files to the Hack club CDN via Deno and your CLI\u003c/b\u003e\n    \u003c/p\u003e\n    \u003cp\u003e\n        \u003cimg alt=\"build status\" src=\"https://img.shields.io/github/workflow/status/khrj/hcload/Deno?label=checks\" \u003e\n        \u003cimg alt=\"language\" src=\"https://img.shields.io/github/languages/top/khrj/hcload\" \u003e\n        \u003cimg alt=\"code size\" src=\"https://img.shields.io/github/languages/code-size/khrj/hcload\"\u003e\n        \u003cimg alt=\"issues\" src=\"https://img.shields.io/github/issues/khrj/hcload\" \u003e\n        \u003cimg alt=\"license\" src=\"https://img.shields.io/github/license/khrj/hcload\"\u003e\n        \u003cimg alt=\"version\" src=\"https://img.shields.io/github/v/release/khrj/hcload\"\u003e\n    \u003c/p\u003e\n    \u003cp\u003e\n        \u003cb\u003e\u003ca href=\"https://deno.land/x/hcload\"\u003eView on deno.land\u003c/a\u003e\u003c/b\u003e\n    \u003c/p\u003e\n    \u003cbr\u003e\n    \u003cbr\u003e\n    \u003cbr\u003e\n\u003c/div\u003e\n\nTable of contents:\n\n- [Module](#API)\n- [CLI](#CLI)\n- [Supporters](#Supporters)\n\n# API\n\nhcload offers a convenient deno API\n\n```ts\nimport hcload from \"https://deno.land/x/hcload@1.3.2/mod.ts\"\nconst urls: string[] = await hcload({\n    files: fullPaths,\n    urls: YourUrls,\n})\n```\n\nWhere\n\n- fullPaths is an array of complete filesystem paths to files\n- urls is an array of urls\n\nOnly one parameter is nessecary\n\n# CLI\n\nMake sure you have [deno](https://deno.land/)\n\n## Installation\n\n```bash\ndeno install -A https://deno.land/x/hcload/hcload.ts\n```\n\nthen run (see [usage](#Usage))\n\n```bash\nhcload -f filename.mp3\n```\n\n## Permissions\n\nNeeds the following\n\n- --allow-env\n- --allow-net\n- --allow-read=~/.ngrok-deno\n- --allow-write=~/.ngrok-deno\n- --allow-run\n\nOr just\n\n- -A\n\n## Usage\n\n```\nUsage: hcload -f [files...] -u [urls...]\n\nOptions:\n      --help     Show help                                             [boolean]\n      --version  Show version number                                   [boolean]\n  -f, --files    Path to file(s) to upload                               [array]\n  -u, --urls     URL(s) to host on CDN                                   [array]\n  -s, --silent   Do not print \"Working...\"                              [boolean]\n\nExamples:\n  hcload -f myPic.png                                      Upload one file\n  hcload -f myPic.png vid.mp4 song.mp3                     Upload multiple files\n  hcload -u https://b.me/foo.mp3                           Upload from one URL\n  hcload -u https://a.me/foo.mp3 https://a.me/foo.jpg      Upload from multiple URLs\n  hcload -u https://a.me/foo.mp3 -f myPic.png myMusic.mp3  Upload from file[s] and URL[s]\n```\n\n## Supporters\n\n[![Stargazers repo roster for @khrj/hcload](https://reporoster.com/stars/khrj/hcload)](https://github.com/khrj/hcload/stargazers)\n\n[![Forkers repo roster for @khrj/hcload](https://reporoster.com/forks/khrj/hcload)](https://github.com/khrj/hcload/network/members)\n\n## Related\n\n- [Deno modules](https://github.com/khrj/deno-modules)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhrj%2Fhcload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhrj%2Fhcload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhrj%2Fhcload/lists"}