Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitignore
.npmignore
LICENSE
README.md
cli.js
colors.js
index.js
package.json
template.html
utils.js

README.md

📝 generate-newsletter

Generate newsletter template via google sheets API from a base HTML file.

This project is specifically for pwa.tips newsletter.

TODO

  • - Remove unwanted doctype, html tags while generating.
  • - Add newsletter issue & date via command line.
  • - May be publish it as npm module ? 🤔 (Let me know guys, no sure how useful it will be for you!!)

🎉 Install

Step 1:

  • Steps to create google sheet credentials.json file.
  • Get Google Spread Sheet Key which is a long random string in your google sheet url.

Step 2:

yarn or npm i

Step 3:

npm start

Step 4:

  • Answer few questions like issue no, month etc.
  • Done, now newletter template is ready in template.html file.
  • Ta Da 😱

Contributions

  • If you wish to contribute to this repository, fork it and send a PR 😬.
  • And, if you like the repo, 🌟 it.
MIT Licensed
You can’t perform that action at this time.