This repository contains the source code of all presences that are available in PreMiD Store. If you would like to publish your presence, please feel free to open a pull request.
- You must have the latest TypeScript compiler version installed
- Basic knowlege of TypeScript
We made a documentation to make your development process a little bit better and faster. You can see it here.
presence
├── dist
│ └── metadata.json
├── presence.ts
└── tsconfig.json
For presences with iframe.ts
:
presence
├── dist
│ └── metadata.json
├── presence.ts
├── iframe.ts
└── tsconfig.json
- Clone the PreMiD repository to your system.
- Install repository modules with
yarn
ornpm install
.
- Open up a terminal and run
yarn translator
ornpm run translator
- When prompted, select the Language Code for the language you are
translated (e.g
ga_IE
for Irish) - Once selected. The script will first cache all presences metadata files, it will then go through each one and remove the files containing the language you inputted from the cache.
- You will then be prompted to select a mode, afterwards you might get asked some aditional information to finalize your filter.
- Then at last you will be asked to fill in you translations. (You can type "skip" to skip)
- To stop at any time, hit
ctrl+c
or typestop
.