Coder Social home page Coder Social logo

notle0n / modstats Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 5.24 MB

A website which shows statistics about tmodloader mods

Home Page: https://modstats.le0n.dev/

License: MIT License

CSS 22.81% Go 75.79% JavaScript 1.15% Makefile 0.25%
terraria tmodloader tmodloader-api statistics mod

modstats's Introduction

ModStats

This is a website which displays information about tModloader mods. image

The site can be found under https://modstats.le0n.dev/

Features

  • Mod Search (internal- and display name)
  • Author Search (through steamid64 and steam name)
  • Mod List
  • Random Mod
  • 1.3 and 1.4 support

How to run locally

Requirements:

  • Go
  1. Clone the repo git clone https://github.com/NotLe0n/ModStats.git
  2. Navigate to it cd ModStats
  3. create config.json, for the default config write: {}
  4. Run go run ./server
  5. Browse http://localhost:8080

Configuration

This is how the default config looks like:

{
	"API-URL": "https://tmlapis.le0n.dev",
	"port": 8080,
	"useHTTPS": false,
	"certPath": "",
	"keyPath": ""
}

modstats's People

Contributors

bafto avatar notle0n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

modstats's Issues

Fix graph x-axis label

It should be seven_days_ago - six_days_ago - five_days_ago - four_days_ago - three_days_ago - yesterday - today
Instead of a linear time scale.

Add download tracking over time

Since the repl stays online at all times, we can implement a download tracking feature using timed events. Every day the API would call /api/getModlist and save the result to a json file.
Do this for 7 days and you get the download count of every mod tracked over a week.

add mod list

url would be something like: modstats.repl.co/list.html

It would display a list of all mods with their Diplayname (link to /stats?mod=<name>), author, download count and version

add author search

search: author:TheLonelySheep and get what and how many mods that author has created.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.