{"id":20205971,"url":"https://github.com/sticksnleaves/bamboo_eex","last_synced_at":"2025-04-10T12:14:37.977Z","repository":{"id":57479269,"uuid":"105697793","full_name":"sticksnleaves/bamboo_eex","owner":"sticksnleaves","description":"EEx template support for Bamboo","archived":false,"fork":false,"pushed_at":"2018-06-29T16:49:36.000Z","size":13,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T11:07:38.218Z","etag":null,"topics":["bamboo","eex","elixir","email"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/sticksnleaves.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":"2017-10-03T20:08:57.000Z","updated_at":"2019-08-18T21:26:05.000Z","dependencies_parsed_at":"2022-09-18T05:45:41.585Z","dependency_job_id":null,"html_url":"https://github.com/sticksnleaves/bamboo_eex","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sticksnleaves%2Fbamboo_eex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sticksnleaves%2Fbamboo_eex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sticksnleaves%2Fbamboo_eex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sticksnleaves%2Fbamboo_eex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sticksnleaves","download_url":"https://codeload.github.com/sticksnleaves/bamboo_eex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055250,"owners_count":21040157,"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":["bamboo","eex","elixir","email"],"created_at":"2024-11-14T05:20:22.912Z","updated_at":"2025-04-10T12:14:37.925Z","avatar_url":"https://github.com/sticksnleaves.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bamboo.EEx\n\n[![Build Status](https://travis-ci.org/sticksnleaves/bamboo_eex.svg?branch=master)](https://travis-ci.org/sticksnleaves/bamboo_eex)\n\nNo Phoenix? No problem!\n\nUse `Bamboo.EEx` to add EEx template support to Bamboo.\n\n## Installation\n\n```elixir\ndef deps do\n  [\n    {:bamboo_eex, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n## Examples\n\n```elixir\ndefmodule MyApp.Email do\n  use Bamboo.EEx, path: \"lib/my_app/views\"\n\n  def text_and_html_email() do\n    new_email()\n    |\u003e render_to_html(\"email.html.eex\")\n    |\u003e render_to_text(\"email.text.eex\")\n  end\n\n  def email_with_assigns(user) do\n    new_email()\n    |\u003e render_to_html(\"email.html.eex\", user: user)\n  end\n\n  def email_with_already_assigned_user(user) do\n    new_email()\n    |\u003e assign(:user, user)\n    |\u003e render_to_html(\"email.html.eex\")\n  end\nend\n```\n\n## Options\n\nWhen declaring `use Bamboo.EEx` you can pass in any option that EEx supports.\n\nConsult the [EEx documentation](https://hexdocs.pm/eex/EEx.html#module-options)\nfor additional details on available options.\n\n### Additional Options\n\n`:path` - the root directory used to find EEx templates\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsticksnleaves%2Fbamboo_eex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsticksnleaves%2Fbamboo_eex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsticksnleaves%2Fbamboo_eex/lists"}