Tracking Tracker

Program to track package status on:

  • Fedex
  • USPS
  • Cainiao (Alibaba)

Features

  • Not much
  • Gotify notifications

Installation

Compile with:

go build .

Create a config file:

cp config.json.sample config.json

Usage

Usage help:

./trackingtracker

Register a new tracking code:

./trackingtracker register [fedex|cainiao|usps] [tracking code]

Remove a tracking code:

./trackingtracker remove [tracking code]

Crawl all registered tracking codes:

./trackingtracker crawl

Notes

USPS requires headless chrome|chromium:

google-chrome --headless --remote-debugging-port=9222
chromium-browser --headless --remote-debugging-port=9222