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.

License

Notifications You must be signed in to change notification settings

ntratcliff/emojipasta.club

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A web service that exposes RESTful endpoints for generating emojipastas, as well as a simple frontend for generating and tweeting emojipasta sentences.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published