{"id":30743760,"url":"https://github.com/halvaradop/auth-cli","last_synced_at":"2026-03-17T08:39:14.409Z","repository":{"id":244860582,"uuid":"816489387","full_name":"halvaradop/auth-cli","owner":"halvaradop","description":"This initializer sets up projects with pre-configured templates and unified auth.js authentication across Next.js, SvelteKit, and Express!","archived":false,"fork":false,"pushed_at":"2025-05-01T22:52:13.000Z","size":114,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-03T12:13:33.182Z","etag":null,"topics":["authjs","cli","express","initializer","nextjs","npm-package","sveltekit","terminal"],"latest_commit_sha":null,"homepage":"","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/halvaradop.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"halvaradop"}},"created_at":"2024-06-17T21:33:27.000Z","updated_at":"2025-08-22T23:15:29.000Z","dependencies_parsed_at":"2024-09-12T07:49:14.553Z","dependency_job_id":"eeef2cdd-08c5-42ce-955b-b6130eb14c4c","html_url":"https://github.com/halvaradop/auth-cli","commit_stats":null,"previous_names":["halvaradop/auth-init","halvaradop/auth-cli"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/halvaradop/auth-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halvaradop%2Fauth-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halvaradop%2Fauth-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halvaradop%2Fauth-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halvaradop%2Fauth-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halvaradop","download_url":"https://codeload.github.com/halvaradop/auth-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halvaradop%2Fauth-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29992302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["authjs","cli","express","initializer","nextjs","npm-package","sveltekit","terminal"],"created_at":"2025-09-04T02:49:37.814Z","updated_at":"2026-03-02T04:31:16.779Z","avatar_url":"https://github.com/halvaradop.png","language":"TypeScript","funding_links":["https://github.com/sponsors/halvaradop"],"categories":[],"sub_categories":[],"readme":"# @halvaradop/auth-init\n\n`@halvaradop/auth-init` is an initializer that facilitates and accelerates the setup of projects with authentication using `Auth.js`. It supports the four main frameworks offered by `Auth.js`:\n\n- Next.js\n- Qwik\n- SvelteKit\n- Express\n\nIt simplifies the configuration to create a basic setup for using `Auth.js` with your favorite framework, helping you focus on incorporating custom authentication configurations provided by `Auth.js`.\n\n## Installation\n\nTo install the package, use npm or pnpm. For more information about [Auth.js](https://authjs.dev/), you can check their documentation. Run the following command to install the package:\n\n```bash\n# npm\nnpm install -g @halvaradop/auth-init\n\n# pnpm\npnpm add -g @halvaradop/auth-init\n```\n\n## Usage\n\nThe initializer provides simple commands:\n\n```sh\nauth-init [options] [command]\n```\n\n### Options\n\n- `-V, --version`: Output the version number\n- `-h, --help`: Display help for command\n\n### Commands\n\n- `init [options]`: Setup the project with the selected framework\n- `secret [options]`: Generate a secret key (required by Auth.js)\n- `provider [options]`: Initialize the configuration for the selected provider\n- `help [command]`: Display help for command\n\n### Examples\n\n```sh\n# Generate a secret key\nauth-init secret\n\n# Set up project with Next.js framework\nauth-init init -f next\nauth-init init --framework next\n\n# Set up `Google` provider\nauth-init provider -p google\nauth-init provider --provider google\n```\n\n## Contributing\n\nWe welcome contributions to `@halvaradop/auth-init`! If you have an idea for a new feature or find an improvement to an existing one, please feel free to open an issue or create a pull request. We offer a guide on how to contribute to the project and the necessary steps to do so. Read our [Contributing Guideline](https://github.com/halvaradop/.github/blob/master/.github/CONTRIBUTING.md).\n\n## Code of Conduct\n\nPlease be aware that this project has a code of conduct, and we expect all contributors to follow these guidelines in their interactions. For more information, please read our [Code of Conduct](https://github.com/halvaradop/.github/blob/master/.github/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalvaradop%2Fauth-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalvaradop%2Fauth-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalvaradop%2Fauth-cli/lists"}