# Custom UE4 Marketplace Frontend (Full Source Available)

**URL:** <https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425>\
**Category:** UE Marketplace\
**Tags:** unreal-engine\
**Created:** [December 7, 2015, 8:16pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425 "2015-12-07T20:16:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Allar](https://forums.unrealengine.com/u/Allar)\
**Post date:** [December 7, 2015, 8:16pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/1 "2015-12-07T20:16:03Z")

</div>

Have you ever thought to yourself ‘I bet I can make a better marketplace frontend that works like the launcher but has search?’ If so, I have something for you!

I took this challenge this weekend because I wanted to learn more about how the Marketplace internally works, and I ended up with a neat standalone desktop app that works just like the marketplace does in the Epic Launcher, but with some added features!

I want to stress that I wrote the majority of this on a Sunday night. I’m not skilled in web dev in any sense. Most of the code is super hacky and filled with bad practices. It does seem performant and smooth though. If you want to submit a pull request and tear me a new one, please do. I’m curious what I could have done better, as I don’t really know much about javascript best practices at all.

Update:

Epic put out a massive update to the marketplace launcher. Pretty sweet. I’d recommend it over my version any day. I do wish they include some form of sticky header though, as it does take a considerable amount of effort to scroll using the mouse wheel. Using the scroll bar and “middle click scrolling” is alright though I suppose.

Downloads:

You can download a binary version to try it yourself here: [Releases · Allar/custom-ue4-marketplace-frontend · GitHub](https://github.com/Allar/custom-ue4-marketplace-frontend/releases)  
You can also get the source code here: [GitHub - Allar/custom-ue4-marketplace-frontend: http://allarsblog.com/2015/12/07/Custom-UE4-Marketplac](https://github.com/Allar/custom-ue4-marketplace-frontend)

Linux releases coming soon.

More Information:

For a full detailed list of what this is, check out: [http://allarsblog.com/2015/12/07/Custom-UE4-Marketplace-Frontend/](http://allarsblog.com/2015/12/07/Custom-UE4-Marketplace-Frontend/)  
To know how I went about creating this, check out: [http://allarsblog.com/2015/12/07/Creating-Custom-Marketplace-Frontend/](http://allarsblog.com/2015/12/07/Creating-Custom-Marketplace-Frontend/)

What It Doesn’t Do:

Allow you to buy assets. Clicking buy will redirect you to Epic’s asset page. This could be implemented with a lot of effort though.

Allow you to download assets, this is much more secure and probably not feasible.

Serve as an example of good, clean code. The code is terrible.

Features:

[SIZE=2]More information about these features and why I justified them available on above linked blog posts.

Price and Rating Overlays

[/SIZE]

[http://allarsblog.com/images/blog/creating-marketplace/AssetThumbnails.png](http://allarsblog.com/images/blog/creating-marketplace/AssetThumbnails.png)

Asset Sorting

[http://allarsblog.com/images/blog/creating-marketplace/sorting.gif](http://allarsblog.com/images/blog/creating-marketplace/sorting.gif)

Ownership Filtering

[http://allarsblog.com/images/blog/creating-marketplace/ownership.gif](http://allarsblog.com/images/blog/creating-marketplace/ownership.gif)

Searching

[http://allarsblog.com/images/blog/creating-marketplace/searching.gif](http://allarsblog.com/images/blog/creating-marketplace/searching.gif)

Sticky Header

[http://allarsblog.com/images/blog/creating-marketplace/stickyheader.gif](http://allarsblog.com/images/blog/creating-marketplace/stickyheader.gif)

On Sale Category

[http://allarsblog.com/images/blog/creating-marketplace/OnSale.png](http://allarsblog.com/images/blog/creating-marketplace/OnSale.png)

Seller YouTube Embedding

[http://allarsblog.com/images/blog/creating-marketplace/youtube.gif](http://allarsblog.com/images/blog/creating-marketplace/youtube.gif)

Instant Seller Searching

[http://allarsblog.com/images/blog/creating-marketplace/sellersearch.gif](http://allarsblog.com/images/blog/creating-marketplace/sellersearch.gif)

Asset Ratings In Detailed View

[http://allarsblog.com/images/blog/creating-marketplace/RatingInDetails.png](http://allarsblog.com/images/blog/creating-marketplace/RatingInDetails.png)

I based these features off of common feedback regarding the launcher marketplace, I hope this illustrates with better clarity what we as a community would like in the launcher. Please leave feedback if you think any of these features should be changed, or if you think Epic should integrate them into the launcher :D. Unfortunately the launcher is off-limits in terms of code and pull requests, so what I made here is something completely from scratch that can’t just be copy-pasted into the launcher, but I hope it gets a few conversations started.

Personal Feedback to Epic regarding Marketplace Backend

[SIZE=2]I go into more boring details that no one cares about on my blog linked above, but doing this, I learned quite a lot. I also learned of some things I wish were changed in the backend…

1. Asset descriptions have malformed HTML. Closing tags should be \<a href="…"\>Text\</a\> not \<a href="…"\>Text\</\>.
2. The ‘categories’ property of some assets is outdated, for example, check assets in the Characters and Animations category. The official category path is assets/characters-animations but assets themselves have assets/characters as the category path, making reverse category lookups impossible without hardcoded corrections.
3. Contact and Support not treated as proper data, but instead hacked onto Technical Details. This results in errors made from the marketplace team having to hack this in manually. Check out the bottom of the technical details of Crumbling Ruins [/SIZE][Crumbling Ruins in Environments - UE Marketplace](https://www.unrealengine.com/marketplace/crumbling-ruins) for example. Note how someone accidentally entered it twice. Emails are already listed in the ‘seller’ property of assets as well.
4. Seller videos as proper data. I’d love to see a proper ‘videos’ property for assets so that one doesn’t have to search asset descriptions for them.

tldr; I spent a Sunday learning far more about the marketplace internals than anyone outside Epic should have. This was a fun project and I hope yall find it interesting.

---

<div class="post-metadata">

**Author:** ![Almighty\_gir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Almighty\_gir](https://forums.unrealengine.com/u/Almighty_gir)\
**Post date:** [December 7, 2015, 8:19pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/2 "2015-12-07T20:19:56Z")

</div>

Needs a sellers tab, where you can see the asset packs your account has for sale, along with relevant info.

i mean… i can dream, right?

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [December 7, 2015, 8:27pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/3 "2015-12-07T20:27:19Z")

</div>

so much win Allar!  
here, have one of my babies!

---

<div class="post-metadata">

**Author:** ![Ironbelly](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ironbelly/32/990679_2.png) [@Ironbelly](https://forums.unrealengine.com/u/Ironbelly)\
**Post date:** [December 7, 2015, 8:27pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/4 "2015-12-07T20:27:38Z")

</div>

This is incredible man, thank you so much for doing this

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2aa32ab8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2aa32ab8](https://forums.unrealengine.com/u/anonymous_user_2aa32ab8)\
**Post date:** [December 7, 2015, 8:30pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/5 "2015-12-07T20:30:23Z")

</div>

great work allar

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [December 7, 2015, 8:32pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/6 "2015-12-07T20:32:51Z")

</div>

Awesome;  
Tell us, u no work for Epic Games, y is dat? Tim bro Sweeney bro, y.

---

<div class="post-metadata">

**Author:** ![pfist](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pfist/32/1085459_2.png) [@pfist](https://forums.unrealengine.com/u/pfist)\
**Post date:** [December 7, 2015, 8:44pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/7 "2015-12-07T20:44:43Z")

</div>

This is awesome. That sticky header!

---

<div class="post-metadata">

**Author:** ![Kashaar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kashaar/32/551486_2.png) [@Kashaar](https://forums.unrealengine.com/u/Kashaar)\
**Post date:** [December 7, 2015, 8:46pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/8 "2015-12-07T20:46:09Z")

</div>

Love it Allar!

---

<div class="post-metadata">

**Author:** ![Zooch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zooch](https://forums.unrealengine.com/u/Zooch)\
**Post date:** [December 7, 2015, 8:48pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/9 "2015-12-07T20:48:24Z")

</div>

This is a great example of what the official marketplace should be. Makes you wonder what they’re actually doing (benefit of the doubt, I assume backend technical junk takes much more time to manage, especially if you’re responsible for financial transactions)

---

<div class="post-metadata">

**Author:** ![Tim\_Sweeney](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Sweeney](https://forums.unrealengine.com/u/Tim_Sweeney)\
**Post date:** [December 7, 2015, 9:02pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/10 "2015-12-07T21:02:01Z")

</div>

This is awesome! Thanks Allar!

---

<div class="post-metadata">

**Author:** ![Allar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Allar](https://forums.unrealengine.com/u/Allar)\
**Post date:** [December 7, 2015, 9:12pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/11 "2015-12-07T21:12:24Z")

</div>

Thanks everyone! Really appreciate it.

> [@Tim Sweeney;433273](#):
>
> This is awesome! Thanks Allar!

… oh snap! Well, I already got what I wanted from this endeavor, but I’ll savor this post right here and have it for dessert. Thank you for everything.

Also, please don’t look at the source code, I’ll save you the trouble right now. My javascript skills are weak.

---

<div class="post-metadata">

**Author:** ![stuartmarsden](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stuartmarsden](https://forums.unrealengine.com/u/stuartmarsden)\
**Post date:** [December 7, 2015, 9:28pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/12 "2015-12-07T21:28:56Z")

</div>

That is great. I wonder how easy it is to get working on Linux. Should be possible and may be able to make up for the lack of the launcher in Linux. Might give it a go when I get some time.

Can you actually download the assets with this or do you still need the launcher?

---

<div class="post-metadata">

**Author:** ![Allar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Allar](https://forums.unrealengine.com/u/Allar)\
**Post date:** [December 7, 2015, 9:35pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/13 "2015-12-07T21:35:50Z")

</div>

> [@stuartmarsden;433288](#):
>
> That is great. I wonder how easy it is to get working on Linux. Should be possible and may be able to make up for the lack of the launcher in Linux. Might give it a go when I get some time.
> 
> Can you actually download the assets with this or do you still need the launcher?

You can’t download or buy. Downloading won’t ever be possible. Buying could be if someone digs into the javascript process a bit more.

This could totally work on Linux right now. When I get my linux box up again tomorrow, I’ll try to do a Linux build. Or you can do one yourself if you feel like venturing into the nw.js docs.

In case I wasn’t clear before though, my code is hella bad. I quickly hacked this together as a fun experiment.

---

<div class="post-metadata">

**Author:** ![Filly\_The\_Owl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Filly\_The\_Owl](https://forums.unrealengine.com/u/Filly_The_Owl)\
**Post date:** [December 7, 2015, 9:37pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/14 "2015-12-07T21:37:26Z")

</div>

Its funny how you just typed “\*\*\*” there 😃 what happens if you search for booty?

[http://allarsblog.com/images/blog/creating-marketplace/searching.gif](http://allarsblog.com/images/blog/creating-marketplace/searching.gif)

---

<div class="post-metadata">

**Author:** ![Allar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Allar](https://forums.unrealengine.com/u/Allar)\
**Post date:** [December 7, 2015, 9:45pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/15 "2015-12-07T21:45:18Z")

</div>

> [@Kanizitas;433293](#):
>
> Its funny how you just typed “\*\*\*” there 😃 what happens if you search for booty?

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/d/a4d09443b249dfc9e855aba1e9609eeaf18c0817.gif)  
Hmm, a ‘No search results found’ would probably be nice.

---

<div class="post-metadata">

**Author:** ![Devero](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Devero](https://forums.unrealengine.com/u/Devero)\
**Post date:** [December 7, 2015, 10:23pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/16 "2015-12-07T22:23:31Z")

</div>

Awesome work Allar, #Allar2016 =)

---

<div class="post-metadata">

**Author:** ![Monokkel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/monokkel/32/1194496_2.png) [@Monokkel](https://forums.unrealengine.com/u/Monokkel)\
**Post date:** [December 7, 2015, 10:30pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/17 "2015-12-07T22:30:38Z")

</div>

Incredible work Allar! Exactly the sort of thing I would appreciate to have in the launcher. Very generous of you to spend time on this 🙂

---

<div class="post-metadata">

**Author:** ![StrangerGwenn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/strangergwenn/32/983202_2.png) [@StrangerGwenn](https://forums.unrealengine.com/u/StrangerGwenn)\
**Post date:** [December 7, 2015, 10:33pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/18 "2015-12-07T22:33:34Z")

</div>

Any chance of a Linux release ?

---

<div class="post-metadata">

**Author:** ![Allar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Allar](https://forums.unrealengine.com/u/Allar)\
**Post date:** [December 7, 2015, 10:53pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/19 "2015-12-07T22:53:52Z")

</div>

> [@Gwenn;433336](#):
>
> Any chance of a Linux release ?

Sure, will do one tonight/tomorrow. It doesn’t download/buy assets. Downloading won’t ever happen, buying will take some effort to call the right APIs but should be doable, but I don’t think I’ll have time to do it myself.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_55f6c96a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_55f6c96a](https://forums.unrealengine.com/u/anonymous_user_55f6c96a)\
**Post date:** [December 7, 2015, 10:57pm UTC](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425/20 "2015-12-07T22:57:49Z")

</div>

Hi Allar,  
Thank you for your great work. This is definitely awesome stuffs.

I am working on the Marketplace backend, and thought I would respond to your feedbacks.  
#1 - We have both native client (Epic Games Launcher) and web marketplace ([unrealengine.com](http://unrealengine.com)) - there’s limitation on the native client that causes us have to configure with malformed HTML. We are in the process of doing major changes to our native client’s marketplace. Hopefully after that, we can remove/fix some of the malformed HTML.  
#2 - Great point. We’ll take a look at this and fix it.  
#3 - We launched self served portal for marketplace seller a while back. We will comb the data to remove the support/contact information from the technical details.  
#4 - Again, great feedbacks. We’ll take a look and add this to our backlog to be fixed.

Please keep your feedbacks coming.  
If you like, we can setup a call sometime. Just PM me so that we can exchange contact information.

Cheers,  
Jun

[Next page](https://forums.unrealengine.com/t/custom-ue4-marketplace-frontend-full-source-available/49425.md?page=2)
