Program to track package status on:
- Fedex
- USPS
- Cainiao (Alibaba)
- Not much
- Gotify notifications
Compile with:
go build .
Create a config file:
cp config.json.sample config.json
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
USPS requires headless chrome|chromium:
google-chrome --headless --remote-debugging-port=9222
chromium-browser --headless --remote-debugging-port=9222