humble-bundle-key-exporter
humble-bundle-key-exporter copied to clipboard
A bookmarklet to export a list of your unredeemed Humble Bundle keys into a downloaded formatted JSON file.
HumbleBundle Key Exporter
A bookmarklet to export your unredeemed HumbleBundle Keys that will download that data in a formatted JSON file. This is meant for personal use.
I've been a HumbleBundle supporter since it first started. As you might imagine, I have a large number of unredeemed game keys that I won't ever have the time for or am not interested in using. Since the data isn't exportable, this is a tool I created to get that data into an easy to use file so it can be modified and more easily shared with friends.
Usage
- Create a bookmark in your browser and name it what you like
- Edit the address field and paste the copied contents of dist/bookmarklet-loader.js
- Go to your HumbleBundle Keys page and click the bookmark
- Once parsing is complete, a file named
humble-bundle-keys.json
will be downloaded
Note: the bookmarklet code is in ES6 only. This will work in Safari 10.1+, Chrome 55+, Firefox 52+ and Edge 15+.
Development
- Clone the repository
- Run
yarn install
which will also lint and build - Make any code changes
- Run
npm run build
Notes
- create GitHub Page for project
- https://help.github.com/articles/user-organization-and-project-pages/
- add a searchable data table for my own keys (consider trying Vue.js)
- https://datatables.net
- https://bootstrap-vue.js.org/docs/components/table/#complete-example
- add integration tests with stubbed page content
- consider updates to JSON output
- display an indeterminate progress bar while parsing
Resources
- https://devhints.io/rollup (cheatsheet)
- https://github.com/KDuverge/bookmarklet/blob/master/index.js