Skip to content

vsong/markethunt

Repository files navigation

Markethunt

Markethunt is a web service that collects data from Mousehunt's in-game marketplace. It comes with a web app and API to access the data.

Markethunt: https://markethunt.win/

Markethunt API: https://api.markethunt.win/

Markethunt userscript: https://greasyfork.org/en/scripts/441382-markethunt-plugin-for-mousehunt

Database dumps: https://cdn.markethunt.win/db_backups/

Updating MH events & releases

To add a missing event to the chart, create a pull request for the events.json file. Event end times should not include ramp-down periods. The same applies for new area releases, which can be found in the releases.json file. These include only area releases themselves to avoid overcowding the chart.

Installation

To set up your own development instance of Markethunt, run init.sh on a linux machine with docker installed and at least 1GB RAM. The web app will be hosted on http://localhost:9002 and the API will be hosted on http://localhost:9001 . The MariaDB container will contain data from the latest DB dump.

The web app uses webpack to compile javascript, so a node container has been setup to avoid you needing to install node. The helper script frontend/www-src/npm.sh lets your run npm commands inside the node container in a convenient way, e.g. ./npm.sh run build.

What's not included

Markethunt collects data by periodically scraping the Mousehunt API. Due to the potential for abuse, the source code for the scraper is not included in the project.

About

Markethunt backend api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors