+0
日增长
+6
周增长
601
stars
111
forks
15
watchers
2,332
prs
506
issues
98
releases
README
E621
Installation (Easy mode - For development environments)
Prerequisites
Latest version of Docker (download).
Latest version of Docker Compose (download)
Git (download)
If you are on Windows Docker Compose is already included, you do not need to install it yourself.
If you are on Linux/MacOS you can probably use your package manager.
Installation
1. Download and install the prerequisites.
1. Clone the repo with git clone https://github.com/e621ng/e621ng.git.
1. cd into the repo.
1. Copy the sample environment file with cp .env.sample .env.
1. WSL Only: Run the following commands:
git config core.fileMode false
cp -ru hooks/ .git
This will resolve permission issues, and set up a hook that will reset file permissions to what they are supposed to be in the future.
If you are not using WSL, this is likely not a problem for you.
1. Run the following commands:
docker compose run --rm e621 /app/bin/setup
docker compose up
After running the commands once only docker compose up is needed to bring up the containers.
1. To confirm the installation worked, open the web browser of your choice and enter http://localhost:3000 into the address bar and see if the website loads correctly. An admin account has been created automatically, the username and password are admin and hexerade respectively.
1. By default, the site will lack any content. For testing purposes, you can generate some using the following command:
docker exec -it e621ng-e621-1 /app/bin/populate
The command can be run multiple times to generate more content.
\
For realistic data, download the site's database exports into db/exports/ and import from them:
docker exec -it e621ng-e621-1 /app/bin/populate exports:load tags wiki artists burs
docker exec -it e621ng-e621-1 /app/bin/populate posts COUNT=10000
db/populate/README.md lists every task and option, including how to get real images instead of placeholders.
Note: When gems or js packages are updated you need to execute docker compose build to reflect them in the container.
Local DText gem
You may want to test changes made to the DText gem on a local instance.
You are recommended to reconsider and rethink your life choices.
If you are sure that you want to do this, follow these steps.
1. Clone the repo into a vendor directory. Example: ~/e621ng/vendor/dtext/.
1. cd ~/e621ng
2. mkdir vendor && cd vendor
3. git clone https://github.com/e621ng/dtext.git (substitute your local fork as needed)
2. Rebuild the container
1. cd ~/e621ng
2. docker compose build --no-cache
3. Reset the Gemfile.lock: git checkout HEAD -- Gemfile.lock
This is not required, but it will prevent you from accidentally committing bad changes.
4. Set LOCAL_DTEXT=true in the .env file.
At this point, the DText repository is set up.
It will be automatically compiled wTop issues
#1288Pagination uses, but hides, post and returnes not full page4 comments · 2025-09-08#1061[Feature Request] Add the ability to mark tags and searches as favourite4 comments · 2025-04-18#359JSON Search Response Consistency4 comments · 2021-12-17#159Deleting forum categories hides all related topics4 comments · 2019-09-15#1770[Users] Onboarding process3 comments · 2026-04-06#1762[Hotkeys] Link to relevant user setting on keyboard shortcut page3 comments · 2026-04-04#1159[Bug] Searching Artists with no tag who are linked errors out3 comments · 2025-06-24#686Missing favicons3 comments · 2024-07-27
Latest release
26.11.18 26.11.18 2026-11-18Changed [Ads] Inject the Revive loader only after the window load event. 2750 [API] Make the new posts API format the default. 2759 [Artists] Unify artist pages under /a/. 2782 [Bans] Strip privilege flags on ban and protect BD staff. 2797 [Config] Add Mailgun API post setting. 2787 [ @DRLaDRLa ] [DText] Clean up and modernize the formatter UI. 2767 [Mascots] Hide the "swap mascot" button if only one mascot is available. 2739 [Media] Drop the partial first line from truncated command output. 2784 [OAuth] Nonce the OIDC form_post auto-submit script. 2761 [Posts] Show "subscr