MCPcopy
hub / github.com/download-directory/download-directory.github.io

github.com/download-directory/download-directory.github.io @main sqlite

repository ↗ · DeepWiki ↗
21 symbols 58 edges 7 files 0 documented · 0%
README

download-directory.github.io

Download just a sub directory from a GitHub repo

GitHub doesn’t let you download a single folder from a repo, which might be necessary when you just need a few files from a large repository.

This tool will handle the download of all the files in a directory, in a single click, after you entered your token.

The download starts automatically when you visit pass the link to the GitHub directory as url parameter, like:

download-directory.github.io?url=https://github.com/mrdoob/three.js/tree/dev/build

You can also specify download filename by adding filename parameter, like:

download-directory.github.io?url=https://github.com/mrdoob/three.js/tree/dev/build&filename=three-js-build to save the file as three-js-build.zip.

This is an alternative to the existing GitZip and DownGit but without the cruft.

Related

License

MIT © Federico Brigante

Core symbols most depended-on inside this repo

updateStatus
called by 26
index.ts
getRepositoryPreview
called by 12
repository-info.ts
getRepositoryInfo
called by 9
repository-info.ts
authenticatedFetch
called by 8
authenticated-fetch.ts
downloadFile
called by 3
download.ts
escapeFilepath
called by 2
download.ts
cleanUrl
called by 1
repository-info.ts
parsePath
called by 1
repository-info.ts

Shape

Function 21

Languages

TypeScript100%

Modules by API surface

download.ts7 symbols
index.ts6 symbols
repository-info.ts5 symbols
authenticated-fetch.ts2 symbols
authenticated-fetch.test.ts1 symbols

Dependencies from manifests, versioned

@sindresorhus/tsconfig6.0.0 · 1×
buffer6.0.3 · 1×
jszip3.10.1 · 1×
list-github-dir-content4.0.4 · 1×
npm-run-all4.1.5 · 1×
p-map7.0.2 · 1×
p-retry6.2.0 · 1×
parcel2.12.0 · 1×
parcel-reporter-static-files-copy1.5.3 · 1×
parcel-resolver-ignore2.2.0 · 1×
process0.11.10 · 1×
typed-query-selector2.11.2 · 1×

For agents

$ claude mcp add download-directory.github.io \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact