Glorious Leader's Quote Generator
The purpose of this application is satire and it is not my intention to promote North Korea regime. If anything, the point is to show how easy is to automatically generate slogans that kind-of make sense and to ridicule such unsophisticated propaganda.
Also, it was is cool project to play around with some new technologies.
A couple years back, me and my friend read the following article about North Korean Goverment releasing a bunch of weird propaganda slogans. After some poking around the internet, we managed to find a text file containg them. So we came up with an idea of using them as an input for automatic text generator that would generate new slogans based on existing ones.
Slogans are generated by Markov Chain fed with data from
data/training-data.txt file and
then persisted to a database.
The Web application is an Express app that reads existing slogans from the database and displayes them with a soup of social-media tags for nicer sharing.
Currently, the application is hosted as a free-tier Heroku app with Postgres and RabbitMQ plugins. Generation worker is disabled so it does not consume resources while idling. Database contains around 10 000 pre-generated quotes.