Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tedivm committed May 23, 2016
1 parent 36299d2 commit 57c5681
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

```
<font color="#999999" severity="2">Message goes here!</font>
```

The severity can be anywhere from 0 to 5, with five beign the most extreme.

0 comments on commit 57c5681

Please sign in to comment.