Skip to content

Preview and display your Swoosh mailers to everyone

License

Notifications You must be signed in to change notification settings

curiosum-dev/swoosh_gallery

This branch is 1 commit ahead of, 11 commits behind remoteoss/swoosh_gallery:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4080b98 · Sep 5, 2022

History

27 Commits
May 2, 2022
May 2, 2022
May 2, 2022
Sep 5, 2022
Sep 5, 2022
May 17, 2022
May 2, 2022
Sep 5, 2022
May 2, 2022
May 2, 2022
Aug 9, 2022
Sep 5, 2022
Sep 5, 2022

Repository files navigation

Swoosh Gallery

Preview and display your Swoosh mailers to everyone.

Installation

The package can be installed by adding swoosh_gallery to your list of dependencies in mix.exs:

def deps do
  [
    {:swoosh_gallery, "~> 0.1.0"}
  ]
end

The docs can be found at https://hexdocs.pm/swoosh_gallery.

Sample application

You can see Swoosh.Gallery in action with the Phoenix app included in ./sample:

  1. Run mix do deps.get, phx.server
  2. Go to http://localhost:4000/dev/emails

Static gallery

You can also generate static HTML files for your Gallery. This is useful when you want to view the gallery without needing to run a server.

mix swoosh.gallery.html --gallery Sample.Gallery --path="./_build/gallery"

open _build/gallery/index.html_

Contributing

  1. Download the project.
  2. Run mix do deps.get, tailwind.install
  3. Make some changes.
  4. If you need to add new tailwind styles, run mix tailwind.default.

About

Preview and display your Swoosh mailers to everyone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 76.9%
  • HTML 22.4%
  • Other 0.7%