Skip to content
A web service that exposes RESTful endpoints for generating emojipastas, as well as a simple frontend for generating and tweeting emojipasta sentences.
Branch: master
Clone or download
Latest commit 8db2636 Apr 13, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pages removed unused fonts May 17, 2016
.gitignore added gitignore May 15, 2016
LICENSE.md add license May 17, 2016
README.md remove dead link Apr 13, 2017
corpus.txt updated corpus May 16, 2016
emoji.py coutner increments column instead of adds row May 18, 2016
webserv.py coutner increments column instead of adds row May 18, 2016

README.md

emojipasta.club

emojipasta.club is a web service that exposes RESTful endpoints for generating emojipastas, as well as a simple frontend for generating and tweeting emojipasta sentences. (The domain emojipasta.club is no longer active as of 3/20/17)

How it works

emojipasta.club uses Markovify to generate a text model from a corpus of text scraped from /r/emojipasta.

API

emojipasta.club exposes two RESTful API endpoints, at emojipasta.club/gen/ and emojipasta.club/gen/s/ respectively.

/gen/

/gen/<int: length> produces a block of text of the specified sentence length. If no length is provided, the default length of 2 is used.

Due to the grammatical nature of emojipasta, the sentence length is not always reliable. However, it works as a rough estimate of block size.

/gen/s/

/gen/s/<int: length> produces a sententence of the specified maximum character length. If no length is provided, the default length of 140 is used.

You can’t perform that action at this time.