Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

dailyc - A Batch Multimedia Message Service

dailyc is a service for sending multimedia messages and emails at regular intervals. You provide dailyc with a folder full of jpgs and a list of messages; it will determine which image and message hasn't been sent in a while (if ever) and fire it off to a list of subscribers.

The service works really well for sending baby pictures to adoring (petulant?) relatives. It is well suited to this task because, well, that's why I implemented it.


You'll need to pull dailyc down:

git clone

You must edit two files to get dailyc up and running. First is, which you can find here in


Set each value as appropriate. As [noted in this blog post], you'll need to sign up for both a Mogreet account and have SMTP access to a mail server. Optionally, you can configure dailyc to persist state into a database. The default is to use the in-memory only database h2

The other file to edit is config.json. You can move this file wherever you like, so long as points to it correctly, e.g.


This file can be changed at runtime without recompiling/restarting/etc. The batch process picks this file up off disk just in time for processing.

	"imageDirectory": "../img",
	"subscribers": [
	"emailSubscribers": [
	"messages": [
		"Hello world!",

Finally, you'll need to fill a (flat) directory with .jpg files. This directory should be pointed to by config.json (as above). At runtime, dailyc will scoop all the images out of this directory, compare their hashes with what it's persisisted in the database, and commit any new ones--so you can add images as you like without having to restart the service (same with messages, which you type directly into config.json).


Gradle manages the entire build process, to include dependencies. You can use the gradle wrapper and start the service:

gradlew bootRun

That should do it!

Version history

  • v0.2.0 Provides for email service in addition to multimedia messages

  • v0.1.0 Initial release, provides multimedia message subscription, gorm-backed persistence, Spring Batch integration, and a standalone Mogreet API wrapper


A simple, batch multimedia messaging and email service




No releases published


No packages published