1
0
mirror of https://github.com/chylex/Discord-History-Tracker.git synced 2025-01-06 22:42:49 +01:00
Desktop app & browser script that saves Discord chat history into a file, and an offline viewer that displays the file. https://dht.chylex.com
Go to file
2017-05-31 16:40:27 +02:00
lib Remove google closure compiler 2017-05-20 15:19:48 +02:00
src Close enough 2017-05-31 16:40:27 +02:00
web Rename renderer to viewer in website and bump the version 2017-05-31 16:20:49 +02:00
.gitignore Add a build script 2016-10-22 17:26:07 +02:00
build.py Add the website source code 2017-05-31 16:13:05 +02:00
LICENSE.md Rename LICENSE to LICENSE.md 2016-10-27 18:10:40 +02:00
README.md Change 'render.html' to 'viewer.html' 2017-05-31 15:39:29 +02:00
reserve.txt Implement some tweaks and fixes for minification 2017-05-20 22:23:13 +02:00

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.