Experimental Development
===

This directory is for experimental code

---

To create a protobuf to JSON converter:

```
browserify pb2json.js --s pb2json > pb2jsonlib.js
```

---

### Quick Test Setup

To get a rudimentary real time bus map, execute the following:

```
cd ../html/
while [ true ] ; do wget -q 'https://realtimetcatbus.availtec.com/InfoPoint/GTFS-Realtime.ashx?&Type=VehiclePosition&serverid=0' -O VehiclePosition.pb ; echo '...' ; sleep 10 ; done
```

```
cd ../html/
python3 -m http.server
```

And then point your web browser to `http://localhost:8000`

---

### Requirements

```
pip3 isntall gtfs-realtime-bindings
sudo apt-get install -y python3-protobuf libprotoc-dev libprotobuf-dev protobuf-compiler python-protobuf
```
