Intro. Rainbow Factory" primarily refers to a famous dark fanfiction and song within the My Little Pony: Friendship is Magic community. It is a cornerstone of the "grimdark" genre of fan content.
Origins and Media (2011–2012)
Song (August 13, 2011): The concept began with a song of the same name by musician WoodenToaster (also known as Glaze). It was created for a "Toast Beard" competition where participants had to write music about rainbow creation within a week.
Fanfiction (August 2011): Inspired by the song, author Aurora Dawn wrote the original Rainbow Factory story in just two days while ill with a fever. It was published on August 20, 2011.
Sequel: A direct sequel titled Pegasus Device was later written by Aurora Dawn, further expanding the "Factoryverse" lore.
Core Story and Lore
The story subverts the cheerful world of Equestria by introducing a dark secret behind Cloudsdale's weather production:
The Factory: A hidden, high-security facility in Cloudsdale where rainbows are produce