{"id":13682679,"url":"https://github.com/callensm/wksp","last_synced_at":"2025-10-13T12:36:05.066Z","repository":{"id":35445899,"uuid":"167104454","full_name":"callensm/wksp","owner":"callensm","description":"CLI to create templated workspaces using user-configured JSON files","archived":false,"fork":false,"pushed_at":"2022-06-06T18:34:49.000Z","size":22,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-24T18:13:57.426Z","etag":null,"topics":["cli","templates","workflow","workspaces"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/callensm.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":"CODEOWNERS","security":null,"support":null}},"created_at":"2019-01-23T02:41:41.000Z","updated_at":"2019-10-26T18:25:08.000Z","dependencies_parsed_at":"2022-07-24T20:32:14.289Z","dependency_job_id":null,"html_url":"https://github.com/callensm/wksp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/callensm/wksp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callensm%2Fwksp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callensm%2Fwksp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callensm%2Fwksp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callensm%2Fwksp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/callensm","download_url":"https://codeload.github.com/callensm/wksp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callensm%2Fwksp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015056,"owners_count":26085643,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":["cli","templates","workflow","workspaces"],"created_at":"2024-08-02T13:01:51.057Z","updated_at":"2025-10-13T12:36:05.052Z","avatar_url":"https://github.com/callensm.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# wksp\n\n## Usage\n\nCreate the configuration directory for `wksp` to look for template files in:\n\n```sh\n# Windows -\u003e C:\\Users\\{USER}\\.wksp\n# Linux -\u003e /home/{USER}/.wksp\n# MacOS -\u003e ~/.wksp OR /Users/{USER}/.wksp\n```\n\nInside of the `wksp` configuration directory, each template is a JSON file using the following schema:\n\n```json\n{\n  \"folders\": [\n    {\n      \"name\": \"myfolder\",\n      \"template\": {\n        \"folders\": [\"...\"],\n        \"files\": [\"...\"]\n      }\n    }\n  ],\n  \"files\": [\"file1.rs\", \"file2.js\", \"file3.go\"]\n}\n```\n\n\u003e `folder` and `files` fields do not need to be defined if they will be empty\n\n## Example\n\nRunning the command:\n\n```sh\nwksp --name new_workspace --template example\n```\n\nWill look for a template file `$HOME/.wksp/example.json` and build the template in the current directory named whatever you passed to the `-n/--name` argument.\n\nGiven a template defined as:\n\n```json\n# javascript_git.json\n{\n  \"folders\": [\n    {\n      \"name\": \"src\",\n      \"template\": {\n        \"folders\": [{ \"name\": \"lib\" }],\n        \"files\": [\"index.js\"]\n      }\n    },\n    {\n      \"name\": \"tests\",\n      \"template\": {\n        \"files\": [\"index.test.js\"]\n      }\n    }\n  ],\n  \"files\": [\".gitignore\", \"README.md\", \"LICENSE\"]\n}\n```\n\nRunning the command `wksp -n js-project -t javascript_git` will produce the following file tree:\n\n```\njs-project\n├── .gitignore\n├── LICENSE\n├── README.md\n├── src\n│   ├── index.js\n│   └── lib\n└── tests\n    └── index.test.js\n\n3 directories, 5 files\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallensm%2Fwksp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcallensm%2Fwksp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallensm%2Fwksp/lists"}