{"id":15506188,"url":"https://github.com/sooniter/soon-cli","last_synced_at":"2026-01-20T04:01:53.637Z","repository":{"id":46040697,"uuid":"514143127","full_name":"SoonIter/soon-cli","owner":"SoonIter","description":"My cli to manage templates of my project.","archived":false,"fork":false,"pushed_at":"2024-03-10T14:03:52.000Z","size":427,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T10:57:34.958Z","etag":null,"topics":["cli","typescript","utility"],"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/SoonIter.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}},"created_at":"2022-07-15T05:17:20.000Z","updated_at":"2024-01-12T18:33:19.000Z","dependencies_parsed_at":"2024-03-10T15:25:25.161Z","dependency_job_id":"8f1b5f17-6852-4a94-8abd-b47d2757d29a","html_url":"https://github.com/SoonIter/soon-cli","commit_stats":{"total_commits":53,"total_committers":2,"mean_commits":26.5,"dds":"0.24528301886792447","last_synced_commit":"cea35dbc592bf2fdd804858e0a0b5c18032cc532"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/SoonIter/soon-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoonIter%2Fsoon-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoonIter%2Fsoon-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoonIter%2Fsoon-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoonIter%2Fsoon-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoonIter","download_url":"https://codeload.github.com/SoonIter/soon-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoonIter%2Fsoon-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28595318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"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":["cli","typescript","utility"],"created_at":"2024-10-02T09:26:10.686Z","updated_at":"2026-01-20T04:01:53.622Z","avatar_url":"https://github.com/SoonIter.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# soon-cli\n\nA small cli to record my commonly used scripts.\n\n## start\n\n```shell\n\u003e ni -g soon-cli\n  or pnpm i -g soon-cli\n\u003e soon init \u003cproject-name\u003e\n```\n\n`npx soon init \u003cproject-name\u003e`.\n\n## commands\n\n### init\n\n`npx soon init \u003cproject-name\u003e`.\nreplace the `[name]` to `\u003cproject-name\u003e`\n\n![init preview](https://raw.githubusercontent.com/SoonIter/soon-cli/master/docs/init.png)\n\n### template\n\n`npx soon template \u003cdir-name\u003e`\n\ncopy './template' to './\\\u003cdir-name\\\u003e', and replace the `[name]` to `\u003cdir-name\u003e`\n\n![template preview](https://raw.githubusercontent.com/SoonIter/soon-cli/master/docs/template.png)\n\n\n### glob\n\n`npx soon glob \u003cpath\u003e`\n\ngenerate 'export \\* from \\\u003cpath\\\u003e' to index.ts\n\ne.g: When build your hooks  `soon glob ./use*/index.{ts,tsx} ./create*/index.{ts,tsx}`\n\n```typescript\nexport * from './useBoolean/index';\nexport * from './useCounter/index';\nexport * from './useEventListener/index';\nexport * from './useLocalStorage/index';\nexport * from './useModelValue/index';\nexport * from './useMouse/index';\nexport * from './useTitle/index';\nexport * from './useToggle/index';\nexport * from './createMotionTransform/index';\n```\n\n### githook\n\nconfig the githook in one click\n\n- `pnpm install -D simple-git-hooks lint-staged @commitlint/cli @commitlint/config-conventional`\n- generate `.commitlintrc`\n- add `prepare` script and \"simple-git-hooks\" and \"lint-staged\" to `package.json`\n\n### My Awesome Templates\n\n- [sooniter-lib-template-monorepo](https://github.com/SoonIter/sooniter-lib-template-monorepo) - my template of monorepo project with pnpm and vitest\n- [sooniter-lib-template](https://github.com/SoonIter/sooniter-lib-template) - my template to create npm libraries with vitest\n- [tampermonkey-svelte-template](https://github.com/SoonIter/tampermonkey-svelte-template) - A template with Svelte + TS + Unocss + Vite to build UI within shadow-root.\n- [sooniter-react-template](https://github.com/SoonIter/sooniter-react-template) - My react template with semi-design,vite,unocss,unplugin-auto-import and vitest.\n- [solid-vite-unocss-template](https://github.com/SoonIter/solid-vite-unocss-template) - A template of solid + vite + unocss.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsooniter%2Fsoon-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsooniter%2Fsoon-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsooniter%2Fsoon-cli/lists"}