Skip to content

A web application that generates Homestuck pages using Markov chains

License

Notifications You must be signed in to change notification settings

Matoking/Markovstuck

Repository files navigation

Markovstuck

Markovstuck is a web application that generates Homestuck pages using Markov chains. It is inspired by /r/subredditsimulator subreddit on Reddit and Headline Smasher.

You can use a live copy of this site at markovstuck.matoking.com.

Installation

The Python dependencies for this project are in the file requirements.txt and they can be installed by running the following command:

pip install -r requirements.txt

In addition to usual requirements for a Django application, Markovstuck also requires a Redis server acting as a persistent storage (check the 'persistent' cache in settings.py).

Before any pages can be generated, you'll need to run a command to download images from MSPAdventures.com the web application uses to populate the generated pages:

python manage.py update_images

Pre-generated Markov chains are included in the chains directory. update_data command was used to create the Markov chains on demand, but since Homestuck's migration to a new site, the search page used for this was removed.

To ensure that pages can be generated fast, you need to run the provided chain_server.py script, which loads every existing Markov chain into memory at once. At the time of writing, the server consumes about ~500 MB of RAM on a 32-bit system or ~1 GB on a 64-bit system once loaded.

python chain_server.py

Donations

BTC: 1DL3LxGZ5ratGSmkL8VD2Tp9vd8aD1Argu

Disclaimer

Homestuck is owned by MSPAdventures.com. This web application is neither affiliated with or endorsed by MSPAdventures.com.

License

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to http://unlicense.org/

About

A web application that generates Homestuck pages using Markov chains

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published