A tool to send bulk postcards from local images + random dog facts using https://mailform.io
I used this to mail 125 postcards to a friend of mine that included a bunch of embarrassing pictures of me and some random dog facts for the messages (cause she ❤️ 's 🐕's). The order ended up costing $217. Hilarious.
Simply drop a bunch of images in the ./images
directory or update imageDirectory
key in the config.
# requires local ./config.yaml
make run
Here's a sample config:
config:
apiToken: '' # MAILFORM_API_TOKEN environment variable takes precedence if set
count: 10
dryrun: false
imageDirectory: ./images
outputDirectory: ./output
mail:
to:
name: redacted
address: redacted
city: Seattle
state: WA
postalCode: 00000
country: US
from:
name: redacted
address: redacted
city: Seattle
state: WA
postalCode: 00000
country: US
service: USPS_POSTCARD