Closed viriatusX closed 4 months ago
Hi @viriatusX, I haven't decided a flow for this yet. Its not really very hard but requires a bit of time and will also create breaking changes.
This is indeed on my roadmap for Ghosler, just not at the moment.
I'll keep this issue open though.
Update: I've internally started working on this. No ETAs though.
GREAT! 😍🙌
Update: The linked branch i.e. multiple-newsletters contains this feature request.
Update: The linked branch i.e. multiple-newsletters contains this feature request.
Great!!! is there any way to install this branch in second instance without damaging the main app installed by ghosler cli? I have the service running and I don't want to mess it up.
Thanks!
@viriatusX You can install ghosler
from the mentioned branch in a different directory.
However it will require a manual setup as ghosler-cli
doesn't currently support managing multiple instances.
Here's a basic flow to test the branch -
npm ci --omit-dev && pm2 start app.js --name ghosler-dev
in the directory.I'll be verifying this branch too before merging the linked PR but no timeline on it as I'm travelling for a while.
Thanks!
@ItzNotABug It's work perfectly! I just test it!
Two things:
Thanks for all!
@viriatusX Thanks for testing! About the suggestion, I don't think we should allow sending to 'all' newsletter or 'multiple newsletters'.
The reason being, a user may be subscribed to multiple newsletters & hence would receive multiple emails for the same blog post.
However, we could add an option to send the email to 'all' subscribed users, irrespective of a newsletter which makes sure that every user receives only one email.
@viriatusX Here's what I meant - https://github.com/ItzNotABug/ghosler/pull/32#issuecomment-1936959053.
Perfect 🙌👏
Hi! Is it possible to finally have multiple newsletters? Or is it going to be difficult? Thanks for your work.