{"id":22898273,"url":"https://github.com/hexaredecimal/jtempl","last_synced_at":"2025-04-01T01:51:39.441Z","repository":{"id":267974696,"uuid":"902935976","full_name":"hexaredecimal/JTempl","owner":"hexaredecimal","description":"A templating engine for Java, inspired by JSP","archived":false,"fork":false,"pushed_at":"2025-03-26T20:51:29.000Z","size":202,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T21:35:05.392Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/hexaredecimal.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":"2024-12-13T15:19:16.000Z","updated_at":"2025-03-26T20:51:33.000Z","dependencies_parsed_at":"2024-12-13T17:15:17.958Z","dependency_job_id":"698c9b01-5410-422e-8101-aa699967f9ad","html_url":"https://github.com/hexaredecimal/JTempl","commit_stats":null,"previous_names":["hexaredecimal/jtempl"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexaredecimal%2FJTempl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexaredecimal%2FJTempl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexaredecimal%2FJTempl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexaredecimal%2FJTempl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexaredecimal","download_url":"https://codeload.github.com/hexaredecimal/JTempl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246569007,"owners_count":20798341,"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-14T00:30:19.294Z","updated_at":"2025-04-01T01:51:39.432Z","avatar_url":"https://github.com/hexaredecimal.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# JTempl \n\u003e\u003e A html/Template to java class translation tool\n\n## Why?\nHard to find standalone tools that do this which are not intergrated with some system\n\n## Features\n- Simple Syntax (Uses %% instead of context based tags unlike jsp (\u003c= vs \u003c% etc))\n- Translates to readable java code\n- Repl support\n\n\n## Usage\n```sh\n$ jtmpl -p com.your.webapp -d src/com/your/web/app index.xhtml\n```\nThis will create a file called Index.java with the template code inside a static method called generate. \n\nYou can use the template like this in your code, especially when using BlazingwebX. \n\n```java\n\n@Get(\"/\")\npublic static home(BlazingResponse response) {\n    var page = IndexTemplate.generate();\n    response.setHeader(\"Content-Type\", \"text/html\");\n    response.sendResponse(page);\n}\n```\n\n## Examples\nJTempl has a syntax similar to JSP and uses `%%` to start and end template insertions. Examples are available in the \u003ca href=\"./examples\"\u003eexamples\u003c/a\u003e directory. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexaredecimal%2Fjtempl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexaredecimal%2Fjtempl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexaredecimal%2Fjtempl/lists"}