afterglow is open source, that means you can download the raw sources and do with it whatever you want to. Here's a short step by step introduction how to do so.
You'll find the repo on github. Go ahead and download the entire repo.
There are lot's of files contained, most of them will be included in every build. The raw development versions are located in the
src folder. You'll easily find afterglow's main file
afterglow.js there, the rest of the folder structure should be self explaining.
If you want to test the raw version of afterglow for development purposes, there is a sandbox folder holding some files. The
index.html puts the whole thing together using the raw files while the
releasetest.html uses the compiled version (which is placed in the
When npm is running on you system, you will have to install the dependencies that are needed for the building process.
To do so, navigate to the repo folder and run this command in your terminal/command line:
This will install some dependencies and allow you to compile afterglow.
After having made your changes you probably want to compile the whole thing. With the dependencies installed, thats rather easy.
Navigate to your repo folder and run this command in your terminal/command line:
This will compile afterglow's final file named
afterglow.min.js and place it in the
If you get stuck or need help on something, just ask for it in the forums. :-)
Updated less than a minute ago