Giter VIP home page Giter VIP logo

badgeserver's Introduction

Badge Server


This is a simple project made mostly for personal use and the main goal was for me to challenge myself and learn how to do it. The idea (still incomplete) was for me to have stylized badges for both minecraft mod providers, Modrinth and CurseForge, while using the (almost) same url.

Importante Notice: If anyone is thinking of or actively using the service freely hosted at badge.bernasss12.dev, be advised that the format of the url queries is still very much still subject to change.

Usage

[domain]/[provider]/[modid]/[data]

Currently only Modrinth data fetching is implemented but ideally this is how you'd generate the badge for both services:

![modrinth](https://badge.bernasss12.dev/modrinth/better-enchanted-books/downloads)
modrinth

Note: currently curseforge only works with the actual ID of the mods.
Also only downloads and names options are implemented, only versions and loaders might be implemented before a complete rework on the badges.

![curseforge](https://badge.bernasss12.dev/curseforge/369122/downloads)
curseforge

At the moment there is only one style with the provider logo on the left and text on the right, but the plan it to have more flexibility on that as well as the date displayed. The available preset data options are:

[none] or /download - displays a shortened version of the mod's download count.
/name - displays the title of the project
/versions - displays the latest 3 minecraft versions (supported by the project)
/loaders - displays the supported mod loaders by the project
/licence - displays the name of the project's licence, if available

Disclaimer

This service is currently hosted, but it's not quite ready for use, anything mentioned above is prone (and mostly already planned) to change.

Examples

example example example example curseforge example example curseforge example curseforge curseforge curseforge

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.