{"id":13603021,"url":"https://github.com/tnychn/tapgen","last_synced_at":"2026-03-12T19:03:30.210Z","repository":{"id":214914380,"uuid":"737152787","full_name":"tnychn/tapgen","owner":"tnychn","description":"🛠️ Tony's Almighty Project Generator","archived":false,"fork":false,"pushed_at":"2024-03-28T13:42:45.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T13:53:13.745Z","etag":null,"topics":["bootstrap","cli","generator","rust","scaffold","template"],"latest_commit_sha":null,"homepage":"","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/tnychn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-12-30T01:55:16.000Z","updated_at":"2024-02-20T21:36:34.000Z","dependencies_parsed_at":"2024-01-03T06:24:07.281Z","dependency_job_id":"765fb764-ca51-4974-8aa1-7db7e92c607e","html_url":"https://github.com/tnychn/tapgen","commit_stats":null,"previous_names":["tnychn/tapgen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tnychn/tapgen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnychn%2Ftapgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnychn%2Ftapgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnychn%2Ftapgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnychn%2Ftapgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tnychn","download_url":"https://codeload.github.com/tnychn/tapgen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnychn%2Ftapgen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30439342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"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":["bootstrap","cli","generator","rust","scaffold","template"],"created_at":"2024-08-01T18:01:46.732Z","updated_at":"2026-03-12T19:03:30.194Z","avatar_url":"https://github.com/tnychn.png","language":"Rust","funding_links":[],"categories":["cli"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003etapgen\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003csmall\u003e\u003cstrong\u003eTony's Almighty Project Generator\u003c/strong\u003e\u003c/small\u003e\u003c/p\u003e\n\nA general-purpose, language-agnostic, yet simple and fast (i.e. *almighty*)\nproject generator to bootstrap and scaffold your projects easily.\n\nWanna start developing your new project real quick?\nRun a single command and you can start coding right away.\n\nProductivity++: No more wasting your time copy-and-pasting boilerplate starter code.\n\n## Features\n\n- Just run the binary: No intepreters or environment setup needed.\n\n- Bloat-free command line tool: No more overwhelmed by tons of flags and options, i.e. it just simply works.\n\n- Full power of the [`MiniJinja`](https://github.com/mitsuhiko/minijinja/) template engine.\n  - fast and lightweight\n  - familiar syntax of Jinja2\n  - extensible filters and functions etc.\n\n- Customizable prompts and template variables.\n  - conditional prompts\n  - range for integers\n  - regex pattern validation for strings\n  - single choice or multiple choices prompts\n\n- Scripts as hooks that are run before and after generation.\n\n- Like [Cookiecutter](https://github.com/cookiecutter/cookiecutter), but *faaaster* (written in Rust).\n\n## Usage\n\n```console\n$ tapgen \u003cSRC\u003e [DST]\n```\n\nCurrently, `SRC` can be one of the following:\n- shorthand for git source\u003csup\u003e[1](#git-source)\u003c/sup\u003e:\n  - `github:\u003cowner\u003e/\u003crepo\u003e`\n  - `gitlab:\u003cowner\u003e/\u003crepo\u003e`\n  - `bitbucket:\u003cowner\u003e/\u003crepo\u003e`\n\n- shorthand for prefix source\u003csup\u003e[2](#prefix-source)\u003c/sup\u003e: `@:\u003cpath/to/template/under/prefix\u003e`\n\n- path to local `tapgen.toml` file or directory that contains a `tapgen.toml` file\n\n\u003ca name=\"git-source\"\u003e1\u003c/a\u003e: You can specify additional path in case when\nthe repository contains multiple templates, or when the template is several levels deep inside the repository,\ne.g. `github:tnychn/templates/subdir1/subdir2`.\n\n\u003ca name=\"prefix-source\"\u003e2\u003c/a\u003e: Relative to the prefix path, e.g. if the prefix path is `/Users/tony/.tapgen`,\nthen `@:foo/bar` becomes `/Users/tony/.tapgen/foo/bar`.\n\n## TODO\n\n- [ ] Override variable values in CLI.\n\n- [ ] Replay previous generation.\n\n- [ ] Support templated defaults.\n\n- [ ] Extend template filters/functions/tests via scripting.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003csub\u003e\u003cstrong\u003e~ crafted with ♥︎ by tnychn ~\u003c/strong\u003e\u003c/sub\u003e\n  \u003cbr\u003e\n  \u003csub\u003e\u003cstrong\u003eMIT © 2024 Tony Chan\u003c/strong\u003e\u003c/sub\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnychn%2Ftapgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftnychn%2Ftapgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnychn%2Ftapgen/lists"}