This small project builds and encrypts the text of the SCP Foundation wiki entry, SCP-3125.
The text of the wiki entry is kept in plain old, unencrypted HTML at src/html/scp-3125/en.html
. When
npm run encrypt
is run, the HTML is partially encrypted, JavaScript is added for the keypad-based decryption, CSS is also added, and the whole shebang is stuck inside a [[html]]
block, which is output to dist/en.txt
. I then take that text file and put it into the wiki.
- Take the English HTML at
src/html/scp-3125/en.html
and copy it to e.g.src/html/scp-3125/fr.html
. - Translate the new HTML file into your target language. You will see some special instructions for translating keypad text.
- Run
npm run encrypt
. This will create a new file, in this casedist/fr.txt
, whose contents you can use in your wiki. - (Optional) Submit a pull request to have your new translation pulled in to this repository.
As with (most of) the rest of the SCP Foundation wiki, this repository is released under CC BY-SA 3.0.