{"id":13433731,"url":"https://github.com/pondorasti/nextjs-chrome-extension","last_synced_at":"2026-01-17T20:58:41.569Z","repository":{"id":38442360,"uuid":"443407967","full_name":"pondorasti/nextjs-chrome-extension","owner":"pondorasti","description":"Template for making chrome extensions with NextJS","archived":false,"fork":false,"pushed_at":"2024-01-27T11:33:51.000Z","size":350,"stargazers_count":74,"open_issues_count":1,"forks_count":21,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-28T16:13:28.412Z","etag":null,"topics":["chrome-extension","nextjs","nextjs-template"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/pondorasti.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":"2021-12-31T18:47:56.000Z","updated_at":"2024-10-28T00:45:56.000Z","dependencies_parsed_at":"2022-07-11T19:29:18.099Z","dependency_job_id":null,"html_url":"https://github.com/pondorasti/nextjs-chrome-extension","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pondorasti%2Fnextjs-chrome-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pondorasti%2Fnextjs-chrome-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pondorasti%2Fnextjs-chrome-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pondorasti%2Fnextjs-chrome-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pondorasti","download_url":"https://codeload.github.com/pondorasti/nextjs-chrome-extension/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244041372,"owners_count":20388226,"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":["chrome-extension","nextjs","nextjs-template"],"created_at":"2024-07-31T02:01:34.628Z","updated_at":"2026-01-17T20:58:41.539Z","avatar_url":"https://github.com/pondorasti.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# nextjs-chrome-extension\n\nAn unopiniated starter for developing Chrome extensions using Next.js\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./images/nextjs-chrome-extension.png\" alt=\"Screenshot of nextjs-chrome-extension\" width=\"616\"\u003e\n\u003c/p\u003e\n  \n## Getting Started\n\nFirst, install dependencies and build the project:\n```bash\nnpm install \u0026\u0026 npm run build\n```\nThis will create an `/out` directory that can you can add to Chrome as an extension. The `manifest.json` links `pages/index.js` to the generated `index.html`. On top of that, the `/public/inject.js` script is configured to run on any host url.\n\nSecond, start developing:\n```bash\nnpm run dev\n```\nYou can start editing the extension by modifying `pages/index.js` or any file in `/public`. The extension will automatically re-build as you make changes.\n\n**🚩 Note**: [`gsed`](https://formulae.brew.sh/formula/gnu-sed#default) is used during `build` and `development` steps to bundle the project in a Chrome extension. Therefore, you will need to have this CLI installed on your development machine.\n```bash\nbrew install gsed // homebrew installation\n```\n\n## Add extension to chrome\n\nOpen the Extension Management page by navigating to `chrome://extensions`. Enable Developer Mode by clicking the toggle switch next to Developer mode. Click the Load unpacked button and select the `/out` directory.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"/images/add-extension-to-chrome.png\" alt=\"Screenshot of chrome://extensions page\" width=\"616\"\u003e\n\u003c/p\u003e\n\n## Learn More\n\nTo learn more about Next.js or extensions, take a look at the following resources:\n\n- [Chrome Extensions Documentation](https://developer.chrome.com/docs/extensions/)\n- [Next.js Documentation](https://nextjs.org/docs)\n\nThis template was originally inspired by the following article, [Creating a Chrome Extension with NextJS](https://aaronscherer.me/blog/post/creating-a-chrome-extension-with-nextjs).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpondorasti%2Fnextjs-chrome-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpondorasti%2Fnextjs-chrome-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpondorasti%2Fnextjs-chrome-extension/lists"}