create account

Introducing a Tool to Show Gods Unchained Cards More Easily by kephler

View this thread on: hive.blogpeakd.comecency.com
· @kephler · (edited)
$90.79
Introducing a Tool to Show Gods Unchained Cards More Easily
**Update: The site is now hosted at https://gu-list-creator.vercel.app/ and updates will be published whenever ready. Check the changelog for non-major updates!**

TL;DR: I created a tool for showing cards more easily here: [https://gu-list-creator.vercel.app/](https://gu-list-creator.surge.sh/)

This community has been brimming with activity with many people sharing their decks. Most use [GUDecks](https://gudecks.com/) to showcase their decks, which is a fantastic tool to do so.

![Screen Capture of a GUDecks Deck Overview](https://files.peakd.com/file/peakd-hive/kephler/23tkmzKmN59YpUJrkTz2ZS83yh6yQPL6xTEXqapDTR7qFELQzQaKhFdPwrsFNNBuvnTMp.jpg)

However, when trying to showcase why certain cards are included and others aren't, it is common to show the card in its entirety since not everyone knows the effects of every single card. Like so:

![2021-12-24 15_27_14-Gods Unchained Card List Creator.jpg](https://files.peakd.com/file/peakd-hive/kephler/24246PpHKUuoZt5UGUWeoqBMnZopffBPFZCxsVUTH59BeoRNGnqtqY11o5sKfBvGZvvJm.jpg)

There are a few ways to grab these card images, but I always end up going to the [official Gods Unchained Composited Card](https://immutable.github.io/gu-composited-card/) site to download the cards for the best quality. However, as the Composited Card site only accepts card IDs, I would usually go to GUDecks to find the card ID, key in the card ID to this site, and finally download the image. All that for just 1 card image. Kinda tedious, isn't it?

While I was using the Composited Card site, I noticed that it was also a library that could be used. That got me thinking - could I create a better tool for showcasing individual cards?

# Gods Unchained Card List Creator

![image.png](https://files.peakd.com/file/peakd-hive/kephler/48SrK1eaWKTphpB5VdxVQ8oCu5x8pzobu6atQxPBnCFzGow1v3UC8NyQWbZc4yjZv1.png)

And so, I created it - a tool that allowed you to search for cards by their name, and showed them in a nice grid-like fashion. You can give it a try here: [gu-list-creator.surge.sh](https://gu-list-creator.surge.sh).

As it was rushed in a couple hours the interface might not be very intuitive, but I hope it's sufficient for basic usage. You can:
- Reorder cards
- Delete cards by double-clicking on them

One catch is that you can't include multiples of a specific card. It's also not optimized for mobile, but I expect most people who use this tool to be on their computers anyway.

# Step-by-step usage

For example, let's say I want to showcase my awesome combo of *Expectant Egg* and *Out of Its Misery*. I'll first search for Expectant Egg on the sidebar.

![image.png](https://files.peakd.com/file/peakd-hive/kephler/Eo8a1tyq3XGH22dBR1ZdRJQSavb5Jt4xMsJPrYuhWCd7SMvjnw7X8K8MicRsavLtsWG.png)

Then, I'll do the same for each other card. Not only can you search for cards that are collectible, but you can also search for cards that are created by other cards like the *Chicken Egg* and *Brash Chicken*, as well as god powers.

![image.png](https://files.peakd.com/file/peakd-hive/kephler/23tw7oNjSTQyFkJw4VkW9S1wP42cKVPEzdehSqMmaC5QfVEJThZD3bLfetQt2D2uAGfe3.png)

The last thing to do is to use a screenshotting tool to screengrab the cards! I wanted to have a download button that would help you do that, but it doesn't seem to be doable without a lot more effort. For an initial prototype, I reckon that this is enough for basic usage.

![Final Result](https://files.peakd.com/file/peakd-hive/kephler/EpA6RGXUZgHooCJumbNWjjNkHcVT79r8U9AvvpVopW7dESYSs3Hu7CzoWc8EpusawbE.png)

And we're done! Simple, wasn't it?

# Technical Details

For the people who want some technical details, I'll briefly explain how I did this.

- Card data was sourced from one of GUDecks APIs that they use when displaying the decks on their page - they had already formatted the data nicely, so it was easy to work with. I downloaded the data so I wouldn't require a server (or constant pinging to GUDeck's servers). This also means that I will have to manually update the card data if cards are changed.
- Displaying the cards was done by using [Immutable's Composited Card library](https://github.com/immutable/gu-composited-card). This is the same one that powers their card preview site.
- I used a couple of Javascript and React libraries to help me achieve the user interface.
- No outgoing API requests other than those required to grab the card images, since they are encapsulated within the library that Immutable provided.

# Final Thoughts

I hope this tool helps people who are sharing their decks and strategies on Hive have an easier time grabbing card information. I would have loved to do something like importing deck codes, but the Gods Unchained team hasn't documented how they encode and decode deck strings. If you do use this tool, let me know what your thoughts are on it. I might make some improvements to it if there is demand for it. Thanks for reading!
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 96 others
properties (23)
authorkephler
permlinkintroducing-a-tool-to-showing-gods-unchained-cards-more-easily
categoryhive-173286
json_metadata"{"app":"peakd/2021.09.1","format":"markdown","description":"I created a tool to showcase Gods Unchained cards easily - look inside if you like to share your decks!","tags":["godsunchained","play2earn","development","gaming"],"users":[],"image":["https://files.peakd.com/file/peakd-hive/kephler/23tkmzKmN59YpUJrkTz2ZS83yh6yQPL6xTEXqapDTR7qFELQzQaKhFdPwrsFNNBuvnTMp.jpg","https://files.peakd.com/file/peakd-hive/kephler/24246PpHKUuoZt5UGUWeoqBMnZopffBPFZCxsVUTH59BeoRNGnqtqY11o5sKfBvGZvvJm.jpg","https://files.peakd.com/file/peakd-hive/kephler/48SrK1eaWKTphpB5VdxVQ8oCu5x8pzobu6atQxPBnCFzGow1v3UC8NyQWbZc4yjZv1.png","https://files.peakd.com/file/peakd-hive/kephler/Eo8a1tyq3XGH22dBR1ZdRJQSavb5Jt4xMsJPrYuhWCd7SMvjnw7X8K8MicRsavLtsWG.png","https://files.peakd.com/file/peakd-hive/kephler/23tw7oNjSTQyFkJw4VkW9S1wP42cKVPEzdehSqMmaC5QfVEJThZD3bLfetQt2D2uAGfe3.png","https://files.peakd.com/file/peakd-hive/kephler/EpA6RGXUZgHooCJumbNWjjNkHcVT79r8U9AvvpVopW7dESYSs3Hu7CzoWc8EpusawbE.png"]}"
created2021-12-24 08:05:03
last_update2021-12-25 15:37:09
depth0
children21
last_payout2021-12-31 08:05:03
cashout_time1969-12-31 23:59:59
total_payout_value45.459 HBD
curator_payout_value45.330 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,912
author_reputation43,988,433,049,909
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,819,388
net_rshares44,955,463,141,420
author_curate_reward""
vote details (160)
@copperpitch · (edited)
Can you make it export the card as a png? This would be AMAZING. Edit: I know you said it would be difficult, but I have to manually edit everything constantly. This would be a massive time saver!
properties (22)
authorcopperpitch
permlinkre-kephler-r4n4ab
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-24 22:11:00
last_update2021-12-24 22:12:18
depth1
children9
last_payout2021-12-31 22:11:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length196
author_reputation189,363,427,374,690
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,835,452
net_rshares0
@jungleboy1 ·
Use canva it supports webp files. I downloads the webps from immutable and drop them in canva, you can export it in PNG, JPEG or PDF.
properties (22)
authorjungleboy1
permlinkre-copperpitch-20211225t64810755z
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"ecency/3.0.23-mobile","format":"markdown+html"}
created2021-12-25 01:18:15
last_update2021-12-25 01:18:15
depth2
children4
last_payout2022-01-01 01:18:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length133
author_reputation18,871,717,041,322
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,838,448
net_rshares0
@entrepidus ·
$0.38
If you're using Photoshop, I'll save you a step ;)

https://helpx.adobe.com/photoshop/kb/support-webp-image-format.html

Just make sure to put it in the plug-ins folder for the version you're using. If you have CS5/CS6 and put it in CC, for example, the plug-in doesn't work. 

@copperpitch — Since you mentioned the wand tool, these two things should make your life *considerably* easier.
👍  
properties (23)
authorentrepidus
permlinkre-jungleboy1-r4nvup
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-25 08:06:12
last_update2021-12-25 08:06:12
depth3
children3
last_payout2022-01-01 08:06:12
cashout_time1969-12-31 23:59:59
total_payout_value0.190 HBD
curator_payout_value0.190 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length389
author_reputation25,517,038,518,446
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,843,065
net_rshares190,396,322,008
author_curate_reward""
vote details (1)
@kephler ·
$0.74
That's something I was thinking about, let me try and see what methods are there and I'll update it if possible. Thanks for checking it out!
👍  
properties (23)
authorkephler
permlinkre-copperpitch-r4ndko
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-25 01:31:36
last_update2021-12-25 01:31:36
depth2
children0
last_payout2022-01-01 01:31:36
cashout_time1969-12-31 23:59:59
total_payout_value0.370 HBD
curator_payout_value0.369 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length140
author_reputation43,988,433,049,909
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,838,622
net_rshares362,949,583,214
author_curate_reward""
vote details (1)
@meltysquid ·
Curious how do you pull card images? Through cards . unchained . com?
properties (22)
authormeltysquid
permlinkre-copperpitch-r4naf2
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-25 00:23:27
last_update2021-12-25 00:23:27
depth2
children2
last_payout2022-01-01 00:23:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length69
author_reputation53,391,841,842,627
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,837,669
net_rshares0
@copperpitch ·
I screenshot them on GUdecks and then use a wand tool to select the background and delete it. It's insane.
properties (22)
authorcopperpitch
permlinkre-meltysquid-r4nrqg
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-25 06:37:30
last_update2021-12-25 06:37:30
depth3
children1
last_payout2022-01-01 06:37:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length106
author_reputation189,363,427,374,690
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,842,021
net_rshares0
@entrepidus ·
I've saved this in a tab for thoroughly testing over the weekend, and I'll be sure to give ya some feedback on how that goes.

Looks incredibly promising, and I'll always in favor of having more useful tools :)
properties (22)
authorentrepidus
permlinkre-kephler-r4mrl5
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-24 17:36:27
last_update2021-12-24 17:36:27
depth1
children3
last_payout2021-12-31 17:36:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length210
author_reputation25,517,038,518,446
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,830,447
net_rshares0
@kephler ·
Thanks! Appreciate any feedback 😄
properties (22)
authorkephler
permlinkre-entrepidus-r4ndmk
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-25 01:32:45
last_update2021-12-25 01:32:45
depth2
children2
last_payout2022-01-01 01:32:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length33
author_reputation43,988,433,049,909
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,838,635
net_rshares0
@entrepidus ·
My thoughts after testing its limits:
- Image width becomes problematic after ~265px, as the edges of the creature frames (bottom-left Strength "spoke") begin to overlap (first boundary-wise, then literal overlap). Relics start having issues at ~270px. Easily fixable by applying margins.
- Given the interest in pulling a webp image, right now only the rarity gems are being saved. To see what I mean, right-click the center of the card art and select "Open image in new tab". Compare that to doing the same on immutable. Figure out a way to compress the layers into a single, pullable image and this will become my go-to source for quick card images.
- Do you have any plans to add quality filters? While not crucial, I suspect it'll be useful enough to include as a feature.

Otherwise, outstanding work! Very easy to use, although a "night-mode" would certainly spare my eyes during extensive use of it ;P
properties (22)
authorentrepidus
permlinkre-kephler-r4nwl3
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-25 08:22:00
last_update2021-12-25 08:22:00
depth3
children1
last_payout2022-01-01 08:22:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length909
author_reputation25,517,038,518,446
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,843,241
net_rshares0
@hivebuzz ·
Congratulations @kephler! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@kephler/upvoted.png?202112241238"></td><td>You received more than 1500 upvotes.<br>Your next target is to reach 1750 upvotes.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@kephler) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out the last post from @hivebuzz:**
<table><tr><td><a href="/hivebuzz/@hivebuzz/christmas-2021-feedback"><img src="https://images.hive.blog/64x128/https://i.imgur.com/c2tsS09.png"></a></td><td><a href="/hivebuzz/@hivebuzz/christmas-2021-feedback">Merry Christmas - Challenge Feedback - Win a 1000 HP delegation</a></td></tr><tr><td><a href="/hivebuzz/@hivebuzz/christmas-2021"><img src="https://images.hive.blog/64x128/https://i.imgur.com/GNHxPEI.png"></a></td><td><a href="/hivebuzz/@hivebuzz/christmas-2021">Christmas Challenge - Offer a gift to to your friends</a></td></tr></table>

###### Support the HiveBuzz project. [Vote](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22199%22%5D&approve=true) for [our proposal](https://peakd.com/me/proposals/199)!
properties (22)
authorhivebuzz
permlinknotify-kephler-20211224t125158
categoryhive-173286
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2021-12-24 12:51:57
last_update2021-12-24 12:51:57
depth1
children0
last_payout2021-12-31 12:51:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,414
author_reputation369,442,862,991,840
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,824,332
net_rshares0
@meltysquid · (edited)
Tried it today, since it uses the Gods Unchained API, it is likely to be down on the weekend when everyone is playing the weekend ranked and the GU API dies, so plan accordingly when you're making a post.
Edit: Feature suggestions:
Is there anyway to remove a card or do I have to refresh and start from scratch?
Change the size of individual cards
Have more than 4 cards in a row, and how different number of cards each row so you can have like groups of similar cards.
properties (22)
authormeltysquid
permlinkre-kephler-r4naco
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-25 00:22:00
last_update2021-12-25 00:36:39
depth1
children1
last_payout2022-01-01 00:22:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length471
author_reputation53,391,841,842,627
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,837,653
net_rshares0
@kephler ·
It's just a stopgap measure for now but you can remove cards by double-clicking on a card. I couldn't decide on how the deletion interface should look just yet. Thanks for the feedback, I'll look into it soon!
properties (22)
authorkephler
permlinkre-meltysquid-r4ndpj
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-25 01:34:33
last_update2021-12-25 01:34:33
depth2
children0
last_payout2022-01-01 01:34:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length209
author_reputation43,988,433,049,909
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,838,652
net_rshares0
@squirrelacus ·
$0.86
Man each post you drop is more detailed then the last. I feel like you really found your place here. If I may ask do you have a background in making things like this tool or is it just a side hobby you dabble in. Glad that you found your way into the GU community and also onto Hive. I think you are going to really enjoy Hive and what you will be able to accomplish here.
👍  ,
properties (23)
authorsquirrelacus
permlinkre-kephler-r4m6ys
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-24 10:11:15
last_update2021-12-24 10:11:15
depth1
children3
last_payout2021-12-31 10:11:15
cashout_time1969-12-31 23:59:59
total_payout_value0.430 HBD
curator_payout_value0.427 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length372
author_reputation14,139,592,820,602
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,821,457
net_rshares423,607,160,553
author_curate_reward""
vote details (2)
@kephler ·
$0.35
Thanks! I'm a frontend developer at my day job so I have development experience - not so much in terms of content creation / writing although I try to dabble in it a little here and there. Hive has been a great place to be and I'm enjoying the experience. Cheers!
👍  , ,
properties (23)
authorkephler
permlinkre-squirrelacus-r4m7i7
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-24 10:22:54
last_update2021-12-24 10:22:54
depth2
children2
last_payout2021-12-31 10:22:54
cashout_time1969-12-31 23:59:59
total_payout_value0.176 HBD
curator_payout_value0.175 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length263
author_reputation43,988,433,049,909
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,821,708
net_rshares174,932,502,102
author_curate_reward""
vote details (3)
@squirrelacus ·
I am glad that you are enjoying your experience. If you have any suggestions things you would like to see in the community let me know and I will bring it up for suggestion. This is still a new community on Hive but we are trying to make it the best community out there. Can I ask what sort of projects you typically develop for?
👍  ,
properties (23)
authorsquirrelacus
permlinkre-kephler-r4m8df
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2021.09.1"}
created2021-12-24 10:41:39
last_update2021-12-24 10:41:39
depth3
children1
last_payout2021-12-31 10:41:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length329
author_reputation14,139,592,820,602
root_title"Introducing a Tool to Show Gods Unchained Cards More Easily"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,822,014
net_rshares873,860,971
author_curate_reward""
vote details (2)