{"id":37101533,"url":"https://github.com/devimteam/jet","last_synced_at":"2026-01-14T12:19:41.921Z","repository":{"id":57498185,"uuid":"144118691","full_name":"devimteam/jet","owner":"devimteam","description":"Jet  template engine","archived":false,"fork":true,"pushed_at":"2018-08-13T07:42:40.000Z","size":286,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T03:43:24.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"CloudyKit/jet","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devimteam.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":"2018-08-09T07:48:51.000Z","updated_at":"2024-06-20T03:43:24.640Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/devimteam/jet","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/devimteam/jet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devimteam%2Fjet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devimteam%2Fjet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devimteam%2Fjet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devimteam%2Fjet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devimteam","download_url":"https://codeload.github.com/devimteam/jet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devimteam%2Fjet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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"}},"keywords":[],"created_at":"2026-01-14T12:19:41.197Z","updated_at":"2026-01-14T12:19:41.904Z","avatar_url":"https://github.com/devimteam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jet Template Engine for Go [![Build Status](https://travis-ci.org/CloudyKit/jet.svg?branch=master)](https://travis-ci.org/CloudyKit/jet) [![Build status](https://ci.appveyor.com/api/projects/status/5g4whw3c6518vvku?svg=true)](https://ci.appveyor.com/project/CloudyKit/jet)\n\n[![Join the chat at https://gitter.im/CloudyKit/jet](https://badges.gitter.im/CloudyKit/jet.svg)](https://gitter.im/CloudyKit/jet)\n\nJet is a template engine developed to be easy to use, powerful, dynamic, yet secure and very fast.\n\n* supports template inheritance with `extends`, `import` and `include` statements\n* descriptive error messages with filename and line number\n* auto-escape\n* simple C-like expressions\n* very fast execution – Jet can execute templates faster than some pre-compiled template engines\n* very light in terms of allocations and memory footprint\n* simple and familiar syntax\n* easy to use\n\nYou can find the documentation in the [wiki](https://github.com/CloudyKit/jet/wiki).\n\n#### Upgrade to v2\n\nThe last release of v1 was v1.2 which is available at https://github.com/CloudyKit/jet/releases/tag/v1.2 and the tag v1.2.\n\nTo upgrade to v2 a few updates to your templates are necessary – these are explained in the [upgrade guide](https://github.com/CloudyKit/jet/wiki/Upgrade-to-v2).\n\n#### IntelliJ Plugin\n\nIf you use IntelliJ there is a plugin available at https://github.com/jhsx/GoJetPlugin.\nThere is also a very good Go plugin for IntelliJ – see https://github.com/go-lang-plugin-org/go-lang-idea-plugin.\nGoJetPlugin + Go-lang-idea-plugin = happiness!\n\n### Examples\n\nYou can find examples in the [wiki](https://github.com/CloudyKit/jet/wiki/Jet-template-syntax).\n\n### Running the example application\n\nAn example application is available in the repository. Use `go get -u github.com/CloudyKit/jet` or clone the repository into `$GOPATH/github.com/CloudyKit/jet`, then do:\n```\n  $ cd examples/todos; go run main.go\n```\n\n#### Faster than some pre-compiled template engines\n\nThe benchmark consists of a range over a slice of data printing the values, the benchmark is based on https://github.com/SlinSo/goTemplateBenchmark, Jet performs better than all template engines without pre-compilation,\nand performs better than gorazor, Ftmpl and Egon, all of which are pre-compiled to Go.\n\n###### Benchmarks\n\ngo 1.6.2\n```\nPASS\nBenchmarkEgonSlinso-4      \t 2000000\t       989 ns/op\t     517 B/op\t       0 allocs/op\nBenchmarkQuicktemplate-4   \t 1000000\t      1004 ns/op\t     999 B/op\t       0 allocs/op\nBenchmarkEgo-4             \t 1000000\t      2137 ns/op\t     603 B/op\t       8 allocs/op\n\nBenchmarkJet-4             \t  500000\t      2798 ns/op\t     536 B/op\t       0 allocs/op\nBenchmarkJetHTML-4         \t  500000\t      2822 ns/op\t     536 B/op\t       0 allocs/op\n\nBenchmarkGorazor-4         \t  500000\t      3028 ns/op\t     613 B/op\t      11 allocs/op\nBenchmarkFtmpl-4           \t  500000\t      3192 ns/op\t    1152 B/op\t      12 allocs/op\nBenchmarkEgon-4            \t  300000\t      4673 ns/op\t    1172 B/op\t      22 allocs/op\nBenchmarkKasia-4           \t  200000\t      6902 ns/op\t    1789 B/op\t      26 allocs/op\nBenchmarkSoy-4             \t  200000\t      7144 ns/op\t    1684 B/op\t      26 allocs/op\nBenchmarkMustache-4        \t  200000\t      8213 ns/op\t    1568 B/op\t      28 allocs/op\nBenchmarkPongo2-4          \t  200000\t      9989 ns/op\t    2949 B/op\t      46 allocs/op\nBenchmarkGolang-4          \t  100000\t     16284 ns/op\t    2039 B/op\t      38 allocs/op\nBenchmarkAmber-4           \t  100000\t     17208 ns/op\t    2050 B/op\t      39 allocs/op\nBenchmarkHandlebars-4      \t   50000\t     29864 ns/op\t    4258 B/op\t      90 allocs/op\nBenchmarkAce-4             \t   30000\t     40771 ns/op\t    5710 B/op\t      77 allocs/op\nBenchmarkDamsel-4          \t   20000\t     95947 ns/op\t   11160 B/op\t     165 allocs/op\nok  \tgithub.com/SlinSo/goTemplateBenchmark\t34.384s\n```\n\ngo tip\n```\nBenchmarkQuicktemplate-4      \t 2000000\t       916 ns/op\t     999 B/op\t       0 allocs/op\nBenchmarkEgonSlinso-4         \t 2000000\t      1074 ns/op\t     517 B/op\t       0 allocs/op\nBenchmarkEgo-4                \t 1000000\t      1822 ns/op\t     603 B/op\t       8 allocs/op\n\nBenchmarkJetHTML-4            \t  500000\t      2627 ns/op\t     536 B/op\t       0 allocs/op\nBenchmarkJet-4                \t  500000\t      2652 ns/op\t     536 B/op\t       0 allocs/op\n\nBenchmarkFtmpl-4              \t  500000\t      2700 ns/op\t    1152 B/op\t      12 allocs/op\nBenchmarkGorazor-4            \t  500000\t      2858 ns/op\t     613 B/op\t      11 allocs/op\nBenchmarkEgon-4               \t  500000\t      4023 ns/op\t     827 B/op\t      22 allocs/op\nBenchmarkSoy-4                \t  300000\t      5590 ns/op\t    1784 B/op\t      26 allocs/op\nBenchmarkKasia-4              \t  200000\t      6487 ns/op\t    1789 B/op\t      26 allocs/op\nBenchmarkMustache-4           \t  200000\t      6515 ns/op\t    1568 B/op\t      28 allocs/op\nBenchmarkPongo2-4             \t  200000\t      7602 ns/op\t    2949 B/op\t      46 allocs/op\nBenchmarkAmber-4              \t  100000\t     13942 ns/op\t    2050 B/op\t      39 allocs/op\nBenchmarkGolang-4             \t  100000\t     16945 ns/op\t    2039 B/op\t      38 allocs/op\nBenchmarkHandlebars-4         \t  100000\t     20152 ns/op\t    4258 B/op\t      90 allocs/op\nBenchmarkAce-4                \t   50000\t     33091 ns/op\t    5509 B/op\t      77 allocs/op\nBenchmarkDamsel-4             \t   20000\t     86340 ns/op\t   11159 B/op\t     165 allocs/op\nPASS\nok  \tgithub.com/SlinSo/goTemplateBenchmark\t36.200s\n```\n\n#### Contributing\n\nAll contributions are welcome – if you find a bug please report it.\n\n#### Thanks\n\n- @golang developers for the awesome language and the standard library\n- @SlinSo for the benchmarks that I used as a base to show the results above\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevimteam%2Fjet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevimteam%2Fjet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevimteam%2Fjet/lists"}