GITHUB HTML LOCAL SHELL

Turn a visible GitHub repository into a local setup.sh.

Paste one browser script into DevTools. Repo2Script walks the current tree, captures supported text files, and builds a self-contained restore script.

No API token. No clone. No third-party service.

repo2script.paste.js v0.1.0
01open github.com/owner/repo
02open DevTools Console
03paste dist/repo2script.paste.js
scancurrent repository tree
readUTF-8 text files
writesetup.sh

01 / FLOW

One visible path from page to files.

  1. 01

    Open

    Start from a repository root that your browser can access.

  2. 02

    Paste

    Run the generated script in the GitHub DevTools Console.

  3. 03

    Restore

    Copy setup.sh and write the files into a local folder.

02 / BOUNDARY

Small surface. Clear limits.

Repo2Script handles the visible repository tree and supported UTF-8 text. Unsupported files are reported in the result overlay and in the generated shell comments.

Read the project notes
500
max files
2 MiB
per text file
10 MiB
total text