{"id":17323934,"url":"https://github.com/strugee/gh-pages-bootstrap","last_synced_at":"2025-04-14T16:42:09.894Z","repository":{"id":33664016,"uuid":"37316613","full_name":"strugee/gh-pages-bootstrap","owner":"strugee","description":"Tool to aid migration away from GitHub Pages by automatically recreating GitHub's directory structure","archived":false,"fork":false,"pushed_at":"2024-09-06T07:06:29.000Z","size":58,"stargazers_count":2,"open_issues_count":9,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T05:56:09.539Z","etag":null,"topics":["hacktoberfest","javascript","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strugee.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-06-12T10:41:54.000Z","updated_at":"2021-10-07T17:16:50.000Z","dependencies_parsed_at":"2022-08-24T16:52:08.452Z","dependency_job_id":null,"html_url":"https://github.com/strugee/gh-pages-bootstrap","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strugee%2Fgh-pages-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strugee%2Fgh-pages-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strugee%2Fgh-pages-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strugee%2Fgh-pages-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strugee","download_url":"https://codeload.github.com/strugee/gh-pages-bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248918340,"owners_count":21183170,"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":["hacktoberfest","javascript","nodejs"],"created_at":"2024-10-15T14:09:37.648Z","updated_at":"2025-04-14T16:42:09.866Z","avatar_url":"https://github.com/strugee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-pages-bootstrap\n\n[![NPM](https://nodei.co/npm/gh-pages-bootstrap.png)](https://npmjs.org/package/gh-pages-bootstrap)\n\n## About\n\n### The problem\n\nYour website is currently hosted on GitHub Pages, but you're moving away. Maybe you want to deploy TLS (good on you!), or maybe GitHub's URL construction is too inflexible for you.\n\nHowever, when you move your site to a different server, suddenly all your links break. You find yourself manually `git clone`ing all of your repositories just to get a usable website!\n\n### The solution\n\n`gh-pages-bootstrap` is a small utility to automate this for you. It queries the GitHub API and then reconstructs exactly what you'd see on GitHub Pages on your local disk. Presto!\n\n## Installation\n\n    npm install gh-pages-bootstrap\n\nOr as a CLI tool:\n\n    npm install -g gh-pages-bootstrap\n\n## Usage\n\nAs a module:\n\n``` js\nvar bootstrap = require('gh-pages-bootstrap');\n\nvar user = 'someone'; // GitHub user\nvar token = 'a1b2c3d4e5f6g7h8i9j0'; // GitHub OAuth2 token\n\nghpages(user, token, function(err) {\n\tthrow err;\n});\n```\n\nOn the commandline:\n\n    $ gh-pages-bootstrap\n\nThis will prompt you for your GitHub username and password. If you run it a second time, it will use the cached OAuth2 token.\n\n## Author\n\nAJ Jordan (@strugee on GitHub)\n\n## License\n\nLGPL3+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrugee%2Fgh-pages-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrugee%2Fgh-pages-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrugee%2Fgh-pages-bootstrap/lists"}