Help: Source Code
e6AI's source code is a heavily modified fork of the Danbooru code. It is a Ruby on Rails application. It has been made officially Open Source on March 5th 2020.
You can find the newest version of e6AI at Github. https://github.com/e6ai/e6ai.
You can also get the original/latest Danbooru source code from GitHub. https://github.com/danbooru/danbooru