{"id":23692477,"url":"https://github.com/yext/closure_playground","last_synced_at":"2025-09-21T00:03:16.158Z","repository":{"id":32327572,"uuid":"35902895","full_name":"yext/closure_playground","owner":"yext","description":"Simple closure template playground.","archived":false,"fork":false,"pushed_at":"2023-07-17T15:45:13.000Z","size":12862,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":36,"default_branch":"master","last_synced_at":"2024-12-30T03:28:00.934Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yext.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}},"created_at":"2015-05-19T19:13:21.000Z","updated_at":"2023-07-17T15:45:18.000Z","dependencies_parsed_at":"2022-09-12T21:51:12.581Z","dependency_job_id":null,"html_url":"https://github.com/yext/closure_playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yext%2Fclosure_playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yext%2Fclosure_playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yext%2Fclosure_playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yext%2Fclosure_playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yext","download_url":"https://codeload.github.com/yext/closure_playground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239758828,"owners_count":19692033,"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":[],"created_at":"2024-12-30T03:28:16.301Z","updated_at":"2025-09-21T00:03:11.111Z","avatar_url":"https://github.com/yext.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Closure Template Builder\n\nThis project is meant to be used for writing simple closure templates, compiling them, and viewing them on your local machine.\n\n## Requirements\n\n* Java - JDK and JRE\n* Python\n\n## Quickstart\n\n1. Open two terminals to the root directory of the repository\n1. In one of the terminals, run `./compile.sh sample`\n1. In the other terminal, run `./serve.sh sample`\n\n## Create a New Project\n\n1. Run `./create.sh [PROJECT_NAME]` using a project name with alphanumeric characters and underscores **only**\n1. Open two terminals to the root directory of the repository\n1. In one of the terminals, run `./compile.sh [PROJECT_NAME]`\n1. In the other terminal, run `./serve.sh [PROJECT_NAME]`\n\n## Structure\n\n| Path | Notes |\n|------|-------|\n| bin/ | Binaries and dependencies for compiling closure to JS functions, and web page JS dependencies |\n| templates/ | The root directory for the template projects are stored. |\n| templates/[PROJECT_NAME] | A project directory. This contains .soy files and a data.json file. |\n| out/ | The location where the compiled JS and HTML file are output. Not tracked by Git. |\n| create.sh | The script file that creates a new template project. |\n| compile.sh | The script file to run that monitors a particular project and recompiles when changes are made. |\n| serve.sh | The script file to run to start a web server in the root directory. It also will attempt to open a browser to the URL for the compiled HTML file. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyext%2Fclosure_playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyext%2Fclosure_playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyext%2Fclosure_playground/lists"}