diff --git a/README.md b/README.md new file mode 100644 index 0000000..a3b39d8 --- /dev/null +++ b/README.md @@ -0,0 +1,45 @@ +# screeps_console + +This project streams the Screeps console output to the terminal. It strips out +any html tags and adds colors. + +## Settings + +The settings file is a yaml file. Begin by copying the settings.dist file to +.settings.yaml in the directory you will be calling `notify.py` from. + +``` +cp .settings.dist.yaml .settings.yaml +``` + +The settings file is in yaml and takes various authentication tokens. + +```yaml +# Copy this to .settings.yaml and fill it out. + +# Screeps account info +screeps_username: +screeps_password: +screeps_ptr: false +``` + + +## Running + +To run the program simply call console.py from the directory your local settings +are in. + +```bash +$ ./screeps_console/console.py +``` + +## Colors + +Console output can have colors, in both the website version and teh shell. To get +the best of both worlds use font tags that also have a severity attribute. + +``` +Message goes here! +``` + +The severity can be anywhere from 0 to 5, with five beign the most extreme.