{"id":239416,"name":"tempered","ecosystem":"hackage","description":"\n\n[Index]\n\nPackage maintainers\n\nFor package maintainers and hackage trustees\n\nCandidates\n\n\n\n\n\nA dead-simple templating utility for simple shell interpolation.\nUse at your own risk and only on trusted templates.\n\nHere's a simple use-case:\n\nThen we can render the template with tempered ./post.md to get:\n\nIf you want you can add a shebang to the top of your template and just run it\nas an executable, tempered will strip the shebang for you automagically:\n\ntest.txt\n\nExamples Here\n\nMac and Linux binaries are provided HERE;\n\nIf you're familiar with Haskell Stack:\n\nThere's really not much to it; parses the file and runs anything\ninside {{  }} as a shell expression and pipes stdout into its spot.\nIf you're clever you can do pretty much anything you want with this.\n\nSure; It's bash.\n\nYou can set up environment overrides in env.yaml, tempered looks up through\nthe file-system to find an env.yaml from the cwd NOT the template location.\n\nHere's an example env.yaml; we can do simple strings or commands here; just make\nsure to quote any entries that start with {{ or the YAML parser gets mad.\n\nenv.yaml\n\nThen you can use them just like normal variables.\n\nIt's bash; go for it:\n\noutput:\n\nChances are you're forgetting to echo an env-var;\n{{ $TITLE }} will try to run the contents of $TITLE as a command, you want\n{{ echo \"$TITLE\" }}.\n\nProbably.","homepage":"https://github.com/ChrisPenner/tempered#readme","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/ChrisPenner/tempered","keywords_array":["bsd3","library","program","templating","Propose Tags"],"namespace":null,"versions_count":2,"first_release_published_at":"2017-04-22T22:59:41.000Z","latest_release_published_at":"2017-04-29T22:26:29.000Z","latest_release_number":"0.2.0","last_synced_at":"2026-05-25T16:04:49.475Z","created_at":"2022-04-06T02:32:56.696Z","updated_at":"2026-05-25T16:27:50.077Z","registry_url":"https://hackage.haskell.org/package/tempered","install_command":"cabal install tempered","documentation_url":null,"metadata":{},"repo_metadata":{"id":56880036,"uuid":"89103895","full_name":"ChrisPenner/tempered","owner":"ChrisPenner","description":"Templating engine based on shell interpolation","archived":false,"fork":false,"pushed_at":"2017-04-29T22:53:04.000Z","size":35,"stargazers_count":32,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-08T15:36:56.324Z","etag":null,"topics":["shell","templating","tools","utility"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChrisPenner.png","metadata":{},"created_at":"2017-04-22T22:52:58.000Z","updated_at":"2025-10-09T17:42:09.000Z","dependencies_parsed_at":"2022-08-20T11:40:44.735Z","dependency_job_id":null,"html_url":"https://github.com/ChrisPenner/tempered","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ChrisPenner/tempered","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPenner%2Ftempered","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPenner%2Ftempered/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPenner%2Ftempered/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPenner%2Ftempered/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChrisPenner","download_url":"https://codeload.github.com/ChrisPenner/tempered/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPenner%2Ftempered/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29844845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"ssl_error","status_checked_at":"2026-02-25T22:37:25.960Z","response_time":61,"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"},"owner_record":{"login":"ChrisPenner","name":"Chris Penner","uuid":"6439644","kind":"user","description":"he/him\r\nWriting software to improve the experience of writing software.\r\nAuthor of Optics By Example","email":"","website":"http://www.chrispenner.ca/","location":"Saskatoon, SK, CA","twitter":"chrislpenner","company":null,"icon_url":"https://avatars.githubusercontent.com/u/6439644?u=29780c5eafee7155475bf84fdb98426b6623afb7\u0026v=4","repositories_count":177,"last_synced_at":"2023-08-10T13:58:45.855Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/ChrisPenner","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-06T23:49:42.431Z","updated_at":"2023-08-10T13:59:04.920Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChrisPenner","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChrisPenner/repositories"},"tags":[{"name":"v0.2.0","sha":"da0630dfb11be673fc967fbda04ead0a0210e7a4","kind":"commit","published_at":"2017-04-29T22:25:51.000Z","download_url":"https://codeload.github.com/ChrisPenner/tempered/tar.gz/v0.2.0","html_url":"https://github.com/ChrisPenner/tempered/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ChrisPenner/tempered@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPenner%2Ftempered/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPenner%2Ftempered/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"8b285ad02b78c26d13fddfd4e50aeac0612ddcc0","kind":"commit","published_at":"2017-04-24T22:24:14.000Z","download_url":"https://codeload.github.com/ChrisPenner/tempered/tar.gz/v0.1.0","html_url":"https://github.com/ChrisPenner/tempered/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ChrisPenner/tempered@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPenner%2Ftempered/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPenner%2Ftempered/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-05-25T16:27:50.055Z","dependent_packages_count":0,"downloads":1720,"downloads_period":"total","dependent_repos_count":1,"rankings":{"downloads":63.37779297765618,"dependent_repos_count":36.76470588235294,"dependent_packages_count":19.151846785225718,"stargazers_count":13.936388508891929,"forks_count":37.055403556771545,"docker_downloads_count":null,"average":34.05722754217966},"purl":"pkg:hackage/tempered","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/hackage/tempered","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/hackage/tempered","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/hackage/tempered/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T01:27:44.501Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPenner%2Ftempered/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tempered/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tempered/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tempered/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tempered/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tempered/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tempered/codemeta","maintainers":[{"uuid":"ChrisPenner","login":"ChrisPenner","name":null,"email":null,"url":null,"packages_count":41,"html_url":"https://hackage.haskell.org/user/ChrisPenner","role":null,"created_at":"2022-11-14T20:03:17.107Z","updated_at":"2022-11-14T20:03:17.107Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/ChrisPenner/packages"}]}