lib | ||
src | ||
web | ||
.gitignore | ||
build.py | ||
LICENSE.md | ||
README.md | ||
reserve.txt |
Usage
Visit the official website to add Discord History Tracker (beta) to your bookmarks and download the viewer.
Building
The build script requires Python 3. For automatic build, run python build.py
, and a bld
folder with the track script and viewer will be created.
The track.js
script is ready to be added as a bookmark in a browser, or ran in a browser console. The track.html
contains a bookmarkable link you can easily include on a website.
Minification
The build process automatically minifies the generated files. YUI Compressor is used for CSS and UglifyJS is used for JavaScript. To disable minification, use the --nominify
flag.
YUI requires Java 7+ on the PATH. If Java is not available, CSS compression will be skipped.
UglifyJS is executed using the included Node runner with all required packages already installed in the repository. The runner requires 64-bit Windows; to run builds with JS minification on a different system, either add uglify-es
into the global namespace via npm install uglify-es -g
, or download the appropriate Node binaries and modify the build script.