{"id":26121509,"url":"https://github.com/kpverse/deploy-nextjs","last_synced_at":"2026-03-09T07:33:15.200Z","repository":{"id":192054217,"uuid":"683626084","full_name":"kpverse/deploy-nextjs","owner":"kpverse","description":"Next JS Deployment Utility from KPVERSE","archived":false,"fork":false,"pushed_at":"2024-01-14T08:57:41.000Z","size":466,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-28T00:05:07.424Z","etag":null,"topics":["automation","deployment","kpverse","next-deploy","nextjs","npm","npm-package","typescript"],"latest_commit_sha":null,"homepage":"https://kpverse.in/deploy-nextjs","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/kpverse.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-27T07:13:34.000Z","updated_at":"2023-10-02T09:35:48.000Z","dependencies_parsed_at":"2023-09-07T16:41:04.088Z","dependency_job_id":"d79784be-25e2-44c0-9a13-e15e7c1a441a","html_url":"https://github.com/kpverse/deploy-nextjs","commit_stats":null,"previous_names":["kpverse/deploy-next-app","kpverse/next-deploy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kpverse/deploy-nextjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpverse%2Fdeploy-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpverse%2Fdeploy-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpverse%2Fdeploy-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpverse%2Fdeploy-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kpverse","download_url":"https://codeload.github.com/kpverse/deploy-nextjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpverse%2Fdeploy-nextjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30287426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["automation","deployment","kpverse","next-deploy","nextjs","npm","npm-package","typescript"],"created_at":"2025-03-10T14:23:29.501Z","updated_at":"2026-03-09T07:33:15.159Z","avatar_url":"https://github.com/kpverse.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://cdn.jsdelivr.net/gh/kpverse/deploy-nextjs/kpverse-deploy-nextjs.jpg)](https://kpverse.in/deploy-nextjs/ \"Next JS Deployment Automation Tool from KPVERSE\")\n\n\u003ch1 align=\"center\"\u003e\u003ca href=\"https://kpverse.in/deploy-nextjs\"\u003e@kpverse/deploy-nextjs\u003c/a\u003e\u003cbr/\u003eAn invaluable tool that simplifies the deployment process of static sites generated by Next JS\u003c/h1\u003e\n\n## What is this for?\n\n[@kpverse/deploy-nextjs](https://kpverse.in/deploy-nextjs) is an npm package to simplify the process of deploying Next JS project on GitHub Pages.\n\n## How can this benefit developers?\n\n1.  No need to make Next JS project repository public. Only the deployment repository will b public.\n1.  No need to create an account on Vercel or Netlify to host Next JS.\n1.  You can use free and open-source CDNs for content delivery. (For more information read [recommended Next JS configuration](#recommended-next-js-configuration).)\n\n## Is this suitable for beginners?\n\nYes, it is beginner-friendly and streamlines the deployment process for developers of all skill levels.\n\n## Prerequisites\n\nTo use [@kpverse/deploy-nextjs](https://kpverse.in/deploy-nextjs), your deployment repository must be hosted on GitHub, and GitHub Pages must be enabled.\n\n## Installation\n\nYou can install this package using pnpm or npm or yarn:\n\n```sh\nnpm i @kpverse/deploy-nextjs -D\n\n# or\n\npnpm i @kpverse/deploy-nextjs -D\n\n# or\n\nyarn add @kpverse/deploy-nextjs --dev\n```\n\n## Quick Start Guide\n\nAfter installation, simply run the following command to get started:\n\n```bash\nnpx deploy-nextjs\n```\n\n## Configuration Options for [@kpverse/deploy-nextjs](https://kpverse.in/deploy-nextjs)\n\nThe package generates a `deploy-nextjs.config.js` file upon first use, allowing you to customize your deployment configurations.\n\n## Recommended Next JS Configuration\n\n```js\n// Recommended Next JS Configuration (next.config.js)\n\nlet GITHUB_USERNAME = \"\u003cYOUR_GITHUB_USERNAME\u003e\",\n    DEPLOYMENT_REPOSITORY_NAME = \"\u003cDEPLOYMENT_REPOSITORY_NAME\u003e\",\n    BASE_PATH = \"\u003cBASE_PATH\u003e\";\n\n/** @type {import('next').NextConfig} */\nconst nextConfig = {\n    // Read official docs from Next JS: https://nextjs.org/docs/app/api-reference/next-config-js/basePath\n    // NOTE: It is optional.\n    basePath: `/${BASE_PATH}`,\n\n    // Read official docs from Next JS: https://nextjs.org/docs/app/api-reference/next-config-js/assetPrefix\n    // NOTE: It is optional.\n    assetPrefix: `https://cdn.jsdelivr.net/gh/${GITHUB_USERNAME}/${DEPLOYMENT_REPOSITORY_NAME}@latest/${BASE_PATH}`,\n\n    // Read official docs from Next JS: https://nextjs.org/docs/app/api-reference/next-config-js/output\n    output: \"export\",\n\n    // Read official docs from Next JS: https://nextjs.org/docs/app/api-reference/next-config-js/trailingSlash\n    trailingSlash: true,\n};\n\nmodule.exports = nextConfig;\n```\n\n## Support and Issue Reporting\n\nIf you need assistance or want to report any issues, please visit [issues tab](https://github.com/kpverse/deploy-nextjs/issues) of our GitHub repository.\n\n## Contributing\n\nThis package is open-source, and we welcome contributions from the community. You can contribute to it on [GitHub](https://github.com/kpverse/deploy-nextjs).\n\n## Commercial Use\n\n[@kpverse/deploy-nextjs](https://kpverse.in/deploy-nextjs) is licensed under [the MIT License](./LICENSE). Refer to the [license](./LICENSE) for usage and permissions.\n\n## Additional Resources\n\nRead [Medium blog](https://medium.com/@kpverse/783b31924fc6) about this package.\n\nAlso check out [YouTube video](https://youtu.be/_PQtajOaq_Y) explaining this package.\n\n[![](https://cdn.jsdelivr.net/gh/kpverse/deploy-nextjs/yt-thumbnail.png)](https://youtu.be/_PQtajOaq_Y)\n\n\u003cdiv align=\"center\"\u003e\u003ca href=\"https://kpverse.in/\"\u003e\u003cimg src=\"https://cdn.jsdelivr.net/gh/kpverse/deploy-nextjs/copyright.svg\"/\u003e\u003c/a\u003e\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpverse%2Fdeploy-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkpverse%2Fdeploy-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpverse%2Fdeploy-nextjs/lists"}