Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

prevOpen Source→email-homeynext

email-homey

Generate homepage in the BrowserSync root with links/screenshots to all your email templates

Downloads per monthMIT Licenselibera manifesto
  • the top
  • USE IT
  • WHAT IT DOES

Use it

Once installed, call it in the root of your templates projects:

homey "dist"

What it does

email-homey helps to generate a homepage with a list of all your email templates.

It will expect that all your email templates will be located within a certain folder.

Specifically, email-homey will scan a all subfolder names of the path you give it (like dist in the example above) and will go inside that folder, look for seed.html, copy it into index.html (overwriting if such file already exists) and inside that file, replace word 'magicFoldersList' with a list of folder names (maintaining correct indentation).

This is all you need to be able to pull off a homepage driven by a Vue.jsopens in a new tab. An HTML file with Vue.js script can’t query your hard drive and find the subfolder names. For that you need Node. Once Vue.js has the list of folder names (in an array), it can generate a table of templates.

↑ back to top
prev next

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab