{"id":19092985,"url":"https://github.com/foxt/templey","last_synced_at":"2025-08-17T21:39:33.612Z","repository":{"id":85788973,"uuid":"148838009","full_name":"foxt/Templey","owner":"foxt","description":"Simple templating engine for all files.","archived":false,"fork":false,"pushed_at":"2018-09-15T17:20:17.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-21T17:23:05.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foxt.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,"publiccode":null,"codemeta":null}},"created_at":"2018-09-14T20:22:26.000Z","updated_at":"2018-09-15T17:20:18.000Z","dependencies_parsed_at":"2023-03-04T14:00:33.966Z","dependency_job_id":null,"html_url":"https://github.com/foxt/Templey","commit_stats":null,"previous_names":["thelmgn/templey"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/foxt/Templey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxt%2FTempley","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxt%2FTempley/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxt%2FTempley/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxt%2FTempley/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foxt","download_url":"https://codeload.github.com/foxt/Templey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxt%2FTempley/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270912541,"owners_count":24666746,"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-08-17T02:00:09.016Z","response_time":129,"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":[],"created_at":"2024-11-09T03:22:59.101Z","updated_at":"2025-08-17T21:39:33.573Z","avatar_url":"https://github.com/foxt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Templey\n\n## [on npm for some reason](https://www.npmjs.com/package/templey)\n\n### Using as a standalone script\n\n```node templey.js file```\ncreates file.templeybuild.txt\n\n### Using as a module\n\n```require(\"templey\")(\"input text\")```\n\nreturns processed string\n\n## Syntax\n\n|file:name| -- Import from a file\n\n|http:address| and |https:address| -- response from http request\n\n|procarg:all| and |procarg:number| -- process arguments, all is space joined\n\n|command:command| -- run a process and return output\n\n|filename:| -- files filename\n\n### Example \n\n```\nhello, this is a test of |file:name.txt|, you can escape things too, watch \\|file:name.txt|!\n\nthe ip address that built this is |http:api.ipify.org|\n\nthe arguments when building this were |procarg:all| and the nodejs executable is stored at |procarg:0|\n\nthe nodejs version is |command:node -v|\nthis files name on disk is |filename:|\n\n|file:layers.txt|\n```\n\nwould produce\n\n```\nhello, this is a test of templey, you can escape things too, watch |file:name.txt|!\n\nthe ip address that built this is 0.0.0.0\n\nthe arguments when building this were /usr/local/bin/node /Users/thelmgn/Documents/pinghost2/Templey/index.js hello.txt and the nodejs executable is stored at /usr/local/bin/node\n\nthe nodejs version is v10.9.0\n\nthis files name on disk is hello.txt\n\nyou can put tags in other templey scripts like this, we're running from layers.txt and we've got things!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxt%2Ftempley","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxt%2Ftempley","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxt%2Ftempley/lists"}