Code Monkey home page Code Monkey logo

primoprod's Introduction

primoprod

A Genshin Impact-inspired wish simulator written with Vue and Typescript to push a to-do list with gacha as motivation.

Usage

Visit https://primoprod.vercel.app for a live demo!

Alternatively, to use primoprod offline or with a slow internet connection or while the demo is down, download the latest desktop or Android version in the Releases tab.

Disclaimer

All code is licensed under the AGPL in LICENSE.md.

This project is for practice and for fun and is not intended for monetary gain. Most assets are owned by MiHoYo, Co., Ltd.

Some implementation details were inspired by https://genshin.thekima.com, https://github.com/uzair-ashraf/genshin-impact-wish-simulator, and https://github.com/AguzzTN54/Genshin-Impact-Wish-Simulator.

Project setup

yarn install

For Electron (desktop) builds, Node 16+ and Electron 13+ is required.

For Capacitor (Android) builds, Node 16+, Java 11+, and the Android SDK with platform API 21-31 is required.

Compiles and hot-reloads for development

Web:

yarn serve

Electron:

yarn electron:serve

Capacitor:

yarn cap:serve

Compiles and minifies for production

Web (output folder /dist):

yarn build

Electron (output folder /dist_electron):

yarn electron:build

Capacitor (output folder /android as an Android Studio project):

cap add android
yarn build
yarn cap:build

To directly build the Android app from the command line afterward:

cd android && ./gradlew build
jarsigner -sigalg SHA1withRSA -digestalg SHA1 -keystore ~/.android/debug.keystore ./app/build/outputs/apk/release/app-release-unsigned.apk

The self-signed APK is available in $REPO_ROOT/android/app/build/outputs/apk/release/app-release-unsigned.apk.

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.