{"id":18235761,"url":"https://github.com/anindosarker/handlebarjs-live-editor","last_synced_at":"2026-05-07T13:07:40.685Z","repository":{"id":261131412,"uuid":"883363280","full_name":"anindosarker/handlebarjs-live-editor","owner":"anindosarker","description":"Edit Handlebars templates and see the changes live in the browser.","archived":false,"fork":false,"pushed_at":"2024-11-04T21:04:53.000Z","size":1118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T07:11:32.423Z","etag":null,"topics":["email-template","handlebars","handlebars-helpers","handlebars-js","handlebars-template","handlebarsjs","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anindosarker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-11-04T20:45:16.000Z","updated_at":"2024-11-04T21:04:57.000Z","dependencies_parsed_at":"2024-11-04T21:44:51.424Z","dependency_job_id":null,"html_url":"https://github.com/anindosarker/handlebarjs-live-editor","commit_stats":null,"previous_names":["anindosarker/handlebarjs-live-editor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anindosarker/handlebarjs-live-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anindosarker%2Fhandlebarjs-live-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anindosarker%2Fhandlebarjs-live-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anindosarker%2Fhandlebarjs-live-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anindosarker%2Fhandlebarjs-live-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anindosarker","download_url":"https://codeload.github.com/anindosarker/handlebarjs-live-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anindosarker%2Fhandlebarjs-live-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272833294,"owners_count":25000870,"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-30T02:00:09.474Z","response_time":77,"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":["email-template","handlebars","handlebars-helpers","handlebars-js","handlebars-template","handlebarsjs","vite"],"created_at":"2024-11-05T00:09:52.746Z","updated_at":"2026-05-07T13:07:40.654Z","avatar_url":"https://github.com/anindosarker.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Handlebars.js Live Editor\n\nThis project is a Handlebars.js live editor to test out compiled templates with hot reload. It allows you to edit Handlebars templates and see the changes live in the browser.\n\n![Live Demo](public/example.png)\n\n## Steps to Get Started\n\n1. **Install Dependencies**:\n   ```sh\n   npm install\n   ```\n\n2. **Run the Development Server**:\n   ```sh\n   npm run dev\n   ```\n\n3. **Open the Live Editor**:\n   Open your browser and navigate to [http://localhost:5173/](http://localhost:5173/).\n\n4. **Edit the Template**:\n   Edit the template live on `src/templates/template.hbs`. Any changes you make will be reflected in the browser immediately.\n\n5. **Style Modifications**:\n   - Modify the styles by editing `src/templates/template-style.css`.\n   - Alternatively, you can use inline CSS within the `template.hbs` file to modify the styles directly.\n\n## Example Template (`src/templates/template.hbs`)\n\n```handlebars\n\u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    \u003cmeta charset=\"UTF-8\" /\u003e\n    \u003clink rel=\"icon\" type=\"image/svg+xml\" href=\"/vite.svg\" /\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n    \u003ctitle\u003e{{title}}\u003c/title\u003e\n    \u003clink rel=\"stylesheet\" href=\"/src/templates/template-style.css\" /\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cdiv id=\"app\"\u003e\n      \u003ch1\u003e{{title}}\u003c/h1\u003e\n      \u003cp\u003e{{description}}\u003c/p\u003e\n    \u003c/div\u003e\n    \u003cul class=\"card\"\u003e\n      {{#each items}}\n        \u003cli\u003e{{this.name}}: ${{this.price}}\u003c/li\u003e\n      {{/each}}\n    \u003c/ul\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Example Styles (`src/templates/template-style.css`)\n\n```css\nbody {\n  font-family: Arial, sans-serif;\n  background-color: #f0f0f0;\n  margin: 0;\n  padding: 20px;\n}\nh1 {\n  color: #333;\n}\nul {\n  list-style-type: none;\n  padding: 0;\n}\nli {\n  background-color: #fff;\n  margin: 5px 0;\n  padding: 10px;\n  border: 1px solid #ddd;\n}\n```\n\nEnjoy editing your Handlebars templates with live reload!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanindosarker%2Fhandlebarjs-live-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanindosarker%2Fhandlebarjs-live-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanindosarker%2Fhandlebarjs-live-editor/lists"}