{"id":21004647,"url":"https://github.com/flaque/thaum","last_synced_at":"2026-03-03T01:37:43.521Z","repository":{"id":16751909,"uuid":"80326055","full_name":"Flaque/thaum","owner":"Flaque","description":"Thaum is a simple boilerplate and scaffolding command line utility.","archived":false,"fork":false,"pushed_at":"2017-08-19T19:52:10.000Z","size":56,"stargazers_count":23,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-06-19T02:03:23.620Z","etag":null,"topics":["boilerplate","cli","go","mustache","tool"],"latest_commit_sha":null,"homepage":"https://flaque.github.io/thaum/","language":"Go","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/Flaque.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}},"created_at":"2017-01-29T03:07:44.000Z","updated_at":"2024-06-19T02:03:23.621Z","dependencies_parsed_at":"2022-09-10T21:51:31.558Z","dependency_job_id":null,"html_url":"https://github.com/Flaque/thaum","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaque%2Fthaum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaque%2Fthaum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaque%2Fthaum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaque%2Fthaum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flaque","download_url":"https://codeload.github.com/Flaque/thaum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225320978,"owners_count":17456112,"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":["boilerplate","cli","go","mustache","tool"],"created_at":"2024-11-19T08:37:20.304Z","updated_at":"2026-03-03T01:37:43.478Z","avatar_url":"https://github.com/Flaque.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thaum 🔮\nThaum is a boilerplate and scaffolding command line utility. It purposely requires little to no configuration and does not require you to have anything more than a [mustache](http://mustache.github.io/) template to make a boilerplate. (Read: No script.)\n\n![screencapture](http://evanconrad.com/thaum.gif)\n\n# Features\n- No configuration.\n- Global templates and git included project templates.\n- Compiles mustache in paths for files like `{{name}}.spec.js`.\n\n# Install\n\nIf you have [go](https://golang.org/), you can run:\n\n```\n$ go get github.com/flaque/thaum\n```\n\nor, you can run this long (but effective!) command: \n\n```\n$ wget \"https://github.com/Flaque/thaum/releases/download/v0.6.0-beta/thaum\" -O \"/usr/local/bin/thaum\" \u0026\u0026 sudo chmod +x /usr/local/bin/thaum\n```\n\nto install the binary into your path.\n\n**Note**: It is much easier to run that long and scary command than to install go. Seriously, if you don't have go, just copy paste that bad boy into your terminal. \n\n# Usage\n\nYour templates go in a folder called `thaum_files`. Thaum will look up the file\ntree for the nearest `thaum_files` folder and use that one for your command.\n\n## Creating a Template\nCreate your thaum_files in your root project.\n\n```\n$ mkdir thaum_files\n```\n\nThen create your first template! This is just a folder in your `thaum_files`.\n\n```\n$ mkdir thaum_files/myTemplate\n```\n\nThen, we can create a file or a whole folder system if you want inside.\n\n```\n$ touch thaum_files/myTemplate/myWidget.js\n```\n\nIn that file, you can put something like this:\n\n```\nimport {{package}};\n\nexport class {{name}} {\n  constructor(foo, bar) {\n    //do something\n  }\n}\n```\n\n## Running Thaum\n\nOnce you have a template, you can run `thaum` like so:\n\n```\n$ thaum myTemplate\n```\n\nand thaum will ask you to fill in the details:\n\n```\n🔍  Using thaum_files at: \"/Users/Flaque/thaum-test/thaum_files\"\n\n     package: foo\n        name: bang\n\n✍️  Created file: myWidget.js\n```\n\nYou can also list all templates that exist by typing `thaum`.\n\n```\n$ thaum\nTemplates Available:\n  component\n  growler\n  test\n```\n\nIf you need help, you can type `thaum -h` to see the help screen.\n\n```\n$ thaum -h\n```\n\n## Other helpful things.\n\nIf you would not like your templates to named `.somethingOrAnother` so that test runners or other tools don't pick them up, you can use the extension `.thaum` at the end of your template and thaum will remove it for you when the file is created.\n\nFor example, if I have a template file with the name:\n```\nfoo_test.go.thaum\n```\n\nand I run `thaum foo`, thaum will create the file:\n```\nfoo_test.go\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaque%2Fthaum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflaque%2Fthaum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaque%2Fthaum/lists"}