encoredecks.com is an open source database and deck building application for the popular TCG Weiss Schwarz, created by Bushiroad Inc. I created this project for the benefit of the Weiss Schwarz community, and not with the intent of monetary gain.
Join our Discord to contribute to site development, card translations, or to get updates. @ me @SpeedOfRound#9530
- Have Node >=16
npm i
Create src/server/config/mongo.js
with the following:
export default {
AUTH: true|false,
APP_USERNAME: 'yourdbusername',
APP_PASSWORD: 'yourdbpassword'
}
npm run dev
- Open your browser to
localhost:8080
Scripts are located in the ./scripts
directory. This is where you should run the following commands from.
English cards can be added by putting files from WeissSchwarz-ENG-DB into ./scripts/SetData/EN
and running the command FILE={filename.json} ENCardPatch
JP cards can be added by taking files from wsoffdata and putting them into ./scritps/Cards/NP
. Then run the following commnads in order:
SERIES={AOT} LOCALE=NP node ConvertWSSCards
(this one converts all cards from a series into single files)FILE={filename.json} LOCALE=NP node JPCardPatch
(filename being the single file that the previous command created into./scripts/SetData/NP
)
All JP files use NP as their locale as a byproduct of a time where the JP locale was actually english translated JP cards. NP = Nippon
Encore uses gmail for sending registration, password reset and logging emails
To setup with your own gmail account, keys must be set in a .env
file in the root directory
SERVICE=gmail
[email protected]
MAIL_PW=...
MAIL_CLIENTID=...
MAIL_OAUTHSECRET=...
MAIL_REFRESHTOKEN=...
You can't download PDFs if you're on windows due to lacking support from this library. The app will otherwise work.
If this isn't working for you on a supported platform, you might need to npm i pdf-fill-form
.
There is a Trello that is kept up to date with what things are planned and need to be worked on.
Since encoredecks is open source, that means any one can help, just open a pull request! You can work any things in the roadmap above, or something you think adds value (Talk to me first).
Non programmers can help with the following:
- Card translations (@BoatsDon'tSink for details)
- Site design or ideas