Skip to content

dm94/stiletto-web

Repository files navigation

GitHub package.json version Discord Crowdin Website


Stiletto Web

Web with different utilities for the game Last Oasis, but is not affiliated with Donkey Crew It is created with JS (react), HTML, CSS (bootstrap) and Fastify API You can see this website in operation here: https://stiletto.deeme.dev

Working

  • Crafting Calculator: See the list of objects and calculate what it costs to do it in different amounts and share it
  • Linking the web with discord
  • Create clans, edit clans and link them to a discord server
  • See the list of walkers of that clan, collected by the discord bot
  • Managing clan people
  • Sharing maps
  • Trading system
  • Auction Timers
  • Section where to create a list of allies, enemies or NAP
  • System to make the web multi-language
  • PWA: Now you can have the website as an application on your mobile phone.
  • Light and dark design: Two different designs for you to choose the one you like best

JSONs

The website uses several json files to read the game data so that it is always up to date. These files can also be used for other projects.

items_min.json : Here are all the recipes and items in the game including some information such as the cost of learning some recipes or the damage done by some ammunition. Over time I will add more information

maps.min.json : List of current game maps

colors.min.json : Cost of colours

markers.min.json : All markers allowed on the interactive map

Environmental variables

  • REACT_APP_PUBLIC_URL=https://stiletto.deeme.dev
  • REACT_APP_RESOURCES_URL= URL API ADDRESS FOR ICONS AND MAPS
  • REACT_APP_API_URL= URL API
  • REACT_APP_DISCORD_CLIENT_ID= DISCORD CLIENT ID
  • REACT_APP_PLAUSIBLE_URL=PLAUSIBLE URL

Generate maps

Library: gdal2tiles-leaflet

Command to generate it: python gdal2tiles.py -l -p raster -z 0-5 -w none <image> <folder>

API

stiletto-node-api

Old API version: Stiletto-PHP-API

More Info in this youtube video

Stiletto | All the information about what this project is and how it was made