How mattias-wiberg/albionflipper works
AlbionFlipper is a browser-based Albion Online Black Market trading tool. Players select item filters, cities, and freshness/profit limits; the app requests market data, compares city sell orders with Black Market buy orders, calculates profitable combinations, and presents trades to sort and collect in a cart. The README also documents item-data updates through Albion Data Client and newer private-database and upgrade-flip capabilities, whose implementation is not shown in the sampled source. Internal call paths beyond the excerpts are represented only where directly supported.
Main entry points: main.js Flip workflow · index.php Flipper page · items.js Item catalog · bootstrap-sortable.js Table sorting
Components 16
Trading interface
- Flipper page
index.php - Trade results
js/main.js - Trade cart
index.php
Market analysis
- Flip workflow
js/main.js - Market API
- City grouping
js/main.js - Profit analysis
js/main.js - Quality combinations
js/main.js - Caerleon warning
js/main.js - Private database
Item catalog
- Item catalog
js/items.js - Item mappings
js/items_formatter.js
Table utilities
- Table sorting
js/bootstrap/bootstrap-sortable.js - Date utilities
js/moment.js
Other components
- Player
- Albion Data Client
Connections 17
- Player → Flipper page: uses
README.md - Flipper page → Flip workflow: starts
- Flip workflow → Item catalog: parses catalog
js/main.js - Flip workflow → Market API: fetches prices
js/main.js - Market API → Flip workflow: returns data
js/main.js - Flip workflow → City grouping: groups cities
js/main.js - Flip workflow → Profit analysis: compares prices
js/main.js - Profit analysis → Quality combinations: checks combinations
js/main.js - Profit analysis → Caerleon warning: adds warning
js/main.js - Flip workflow → Trade results: adds rows
js/main.js - Player → Trade results: sorts trades
README.md - Trade results → Table sorting: sorts by column
- Player → Trade cart: selects trades
README.md - Albion Data Client → Market API: updates market data
README.md - Flipper page → Private database: uses private storage
README.md - Item mappings → Item catalog: maps item names
- Date utilities → Table sorting: supports date sorting