{"id":13509138,"url":"https://github.com/rstacruz/expug","last_synced_at":"2025-09-10T15:40:38.231Z","repository":{"id":50617414,"uuid":"60931338","full_name":"rstacruz/expug","owner":"rstacruz","description":"Pug templates for Elixir","archived":false,"fork":false,"pushed_at":"2017-10-26T10:51:59.000Z","size":741,"stargazers_count":83,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-17T07:00:03.678Z","etag":null,"topics":["elixir","haml","jade","phoenix","pug"],"latest_commit_sha":null,"homepage":"http://hexdocs.pm/expug","language":"Elixir","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/rstacruz.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-11T22:54:58.000Z","updated_at":"2025-03-08T10:34:03.000Z","dependencies_parsed_at":"2022-09-24T16:00:50.851Z","dependency_job_id":null,"html_url":"https://github.com/rstacruz/expug","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/rstacruz/expug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstacruz%2Fexpug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstacruz%2Fexpug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstacruz%2Fexpug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstacruz%2Fexpug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rstacruz","download_url":"https://codeload.github.com/rstacruz/expug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstacruz%2Fexpug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271484490,"owners_count":24767763,"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-21T02:00:08.990Z","response_time":74,"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":["elixir","haml","jade","phoenix","pug"],"created_at":"2024-08-01T02:01:03.470Z","updated_at":"2025-08-21T12:46:14.986Z","avatar_url":"https://github.com/rstacruz.png","language":"Elixir","funding_links":[],"categories":["Templating"],"sub_categories":[],"readme":"\u003cimg src=\"https://cdn.rawgit.com/pugjs/pug-logo/eec436cee8fd9d1726d7839cbe99d1f694692c0c/SVG/pug-final-logo-_-colour-128.svg\" align=\"right\" height=\"175\" width=\"218\"\u003e\n\n# Expug\n\n\u003e Indented shorthand HTML templates for Elixir\n\n[![](https://img.shields.io/github/stars/rstacruz/expug.svg?style=social)](https://github.com/rstacruz/expug)\n[![](https://img.shields.io/travis/rstacruz/expug.svg?branch=master)](https://travis-ci.org/rstacruz/expug \"See test builds\")\n\nExpug is a template language based on [Pug][] (formerly known as [Jade][]).\nIt lets you write HTML as indented shorthand, inspired by Haml, Slim, Pug/Jade, and so on.\n\n\u003ciframe src='https://try-expug.herokuapp.com/try?code=doctype%20html%0Ahtml%0A%20%20head%0A%20%20%20%20meta(charset%3D%22utf-8%22)%0A%20%20%20%20title%20Hello%0A%20%20body%0A%20%20%20%20a.button(href%3D%40link)%0A%20%20%20%20%20%20%7C%20This%20is%20a%20link' height='400' width='100%' style='border: 0'\u003e\u003c/iframe\u003e\n\n```jade\ndoctype html\nhtml\n  meta(charset=\"utf-8\")\n  title Hello, world!\nbody\n  a(href=@link)\n    | This is a link\n```\n\n[Pug]: http://pugjs.org/\n[Jade]: http://jade-lang.com/\n\n## Installation\n\nAdd expug to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:expug, \"~\u003e 0.9\"}]\nend\n```\n\nAlso see [phoenix_expug](https://github.com/rstacruz/phoenix_expug) for Phoenix integration.\n\n## Syntax\n\nUse CSS-like selectors for elements, and express your nesting through indentations.\n\n```jade\nul.links\n  li\n    a(href=\"/\") This is a link\n```\n\nRead more: [Syntax](https://hexdocs.pm/expug/syntax.html)\n\n## Why should I use it?\n\nRead on [this comparison](https://hexdocs.pm/expug/prior_art.html) to see how Expug compares to other similar libraries.\n\n## Thanks\n\n**expug** © 2016-2017, Rico Sta. Cruz. Released under the [MIT] License.\u003cbr\u003e\nAuthored and maintained by Rico Sta. Cruz with help from contributors ([list][contributors]).\n\n\u003e [ricostacruz.com](http://ricostacruz.com) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e GitHub [@rstacruz](https://github.com/rstacruz) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Twitter [@rstacruz](https://twitter.com/rstacruz)\n\n[MIT]: http://mit-license.org/\n[contributors]: http://github.com/rstacruz/expug/contributors\n\n[![](https://img.shields.io/github/followers/rstacruz.svg?style=social\u0026label=@rstacruz)](https://github.com/rstacruz) \u0026nbsp;\n[![](https://img.shields.io/twitter/follow/rstacruz.svg?style=social\u0026label=@rstacruz)](https://twitter.com/rstacruz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstacruz%2Fexpug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frstacruz%2Fexpug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstacruz%2Fexpug/lists"}