twitter bot for looking up traffic & parking violations in dc
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
analysis
chrome
events
ocr
src
.babelrc
.gitignore
LICENSE
README.md
archive.db
docs
eng.traineddata
package-lock.json
package.json
screenshot.png
serverless.yml
yarn.lock

README.md

Hows My Driving DC Twitter Bot

Uses pupeteer(for interacting with the DMV form) and tesseract.js(for solving the captcha) on lambda.

This is the form used: https://prodpci.etimspayments.com/pbw/include/dc_parking/input.jsp

Deploy

npm i -g serverless
npm i
sls deploy

Bootstraped from https://github.com/sambaiz/puppeteer-lambda-starter-kit

Press

Archiver

There's a script for archiving the bot's history to a sqlite db. run it like this:

sls invoke local  -f archive

I've even checked in the sqlite db for other to peruse: https://github.com/dschep/hows-my-driving-dc/blob/master/archive.db

Screenshot

Backstory?

Curious how @howsmydrivingdc came to be? Here's a short story in the form of twitter screenshots.