Skip to main content

Newsletter generator for MailChimp

Project description

NewsChimp
=========

Generator of monthly newsletter campaigns on MailChimp. Based od laziness and boredom.


Status
------

In heavy development. Please touch anything important for fun.


Usage
-----

.. code-block:: bash

$ chimpgen --help
Usage: chimpgen [OPTIONS] COMMAND [ARGS]...

Options:
--config PATH Custom config file
--help Show this message and exit.

Commands:
fb Facebook curator
gg Google Groups curator
lanyrd Meetup listing
renderer HTML and text email rendering
sender Campaign creation

If you want to use subcommand with config, do it in format

.. code-block:: bash

$ chimpgen --config PATH command


Config
------

Default config file is ``./config.yaml``. Here's minimalistic setting:

.. code-block:: yaml
month:
facebook:
group_id:
google:
group_name:
# Events for lanyrd to search
events:
-
# Input template
template:
context:
# Additional template context
header:
# Template outputs
output:
text:
html:
# MailChimp settings
mailchimp:
list:
subject:
reciever:
sender:
email:
name:

You also need to setup environment variables (for automatic campaign creation):

- ``FACEBOOK_TOKEN``
- ``MAILCHIMP_KEY``


Requirements
------------

Python 3 and stuff in ``requirements.txt``


License
-------

See LICENSE file


TODO
----

- Newsletter creation wizard
- Support of more social sources
- Better config structure

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

NewsChimp-0.1.4.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file NewsChimp-0.1.4.tar.gz.

File metadata

  • Download URL: NewsChimp-0.1.4.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for NewsChimp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 89c1be00166b288a7c610fcf7861b3a1bbb0af529d8aae8d0adac9e24f2927d1
MD5 79bfb027b5cceb9ef8a74612d76e8027
BLAKE2b-256 623cf6b4f03c964cddd34b581e8a51f23733aa946789e1f0d3a69005655c6639

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page