bags v0.7
Export products to paginated JSON
I added an ExportProductsCommand that generates paginated JSON files from the product database. This enables building a static website that can display all the tweeted products without needing a backend server.
The export uses a linked-list pagination approach where each page contains a reference to the next page’s filename, derived from the posting timestamp. The index page contains the most recent products, with subsequent pages containing older entries. There’s an option to export just the first couple of pages for testing, or all pages for a full export.
I also made some tweaks to the backfill command and image processing, including fixing the Twitter image sizing to work correctly across different product categories.
More bags
What started as a script to monitor Coach bag sales turned into a number of twitter feeds announcing sales across various women's fashion retailers · source · devlog · bagsonsale · dressfwrd · dressiconic