_________.__ .__ .__ ________
/ _____/| |__ |__| _____ _____ |__| ____ \_____ \
\_____ \ | | \ | | / \ / \ | |_/ __ \ / ____/
/ \| Y \| || Y Y \| Y Y \| |\ ___/ / \ + changes
/_______ /|___| /|__||__|_| /|__|_| /|__| \___ >\_______ \
\/ \/ \/ \/ \/ \/
Accept Terms and Conditions
extension (inspired by r34)docker-compose.yml
for handy development (and deployment I suppose)db
container (PostgreSQL)networklogger
optional container (pointlog_net
to it atnetworklogger:35353
and run with docker-compose argument--profile networklogger
)
- custom theme
r34custom
(you could use it as a more "whitelabel" rule34 theme)- removed a bunch of the juicyADS stuff, tracking etc...
- removed links that go outside the booru itself (hard-coded links to paheal.net)
- attempt to make most of the core extensions work OOTB with PostgreSQL (ambitious never ending task?)
- many extensions seem to be either MySQL specific
- "fixes" (pending review... more like "hacks" until then!)
ext/transcode_video
- should now be able to convert from GIF (they take up so much space...) to mp4 on upload
/scripts
directory for even more handy dev stuff
- You might want to ensure your
data/shimmie/config/shimmie.conf.php
looks something like this (definesDEBUG
andCLI_LOG_LEVEL
)
<?php
define('DATABASE_DSN', 'pgsql:user=shimmie;password=shimmie;host=db;dbname=shimmie');
define('DEBUG', true);
define("CLI_LOG_LEVEL", 0);
-
Enable the
log_console
extension in the manager GUI. This is by far the better way to log. -
If you want to use the
log_net
extension in the extension manager- make sure that the
log_net
extension sends data tonetworklogger:35353
- start docker-compose with
--profile networklogger
- enable the extension in the manager GUI.
- make sure that the
-
You might also want to unsuppress the PHP output from the PHP command itself (started by the docker container) by removing
-q
from it, it is however quite noisy.
inside tests/docker-init.sh
:
# ...other code...
exec /usr/local/bin/su-exec shimmie:shimmie \
/usr/bin/php \
-d upload_max_filesize=50M \
-d post_max_size=50M \
-S 0.0.0.0:8000 \
tests/router.php
(note the above has no '-q' in it)
- I will update my main branch to the upstream repo (upstream/master) as often as I remember to.
- I will REBASE the history on my
main
branch to re-play all my changes to be ontop of the latestshimmie2/master
(this makes the changes look linear and "simple")- to see all current code changes between this repository's
main
branch and theupstream
repository click here. - this means that if you clone this repo you should expect history to change on the
main
branch over time. I consider the "real" source of truth to be shish/shimmie2.
- to see all current code changes between this repository's
- If I make any code submissions or PR's back to the original, that code will eventually disappear from my
main
branch and should show up in the mainline repo.
please see the original docs
"core bugs" tracker: https://github.com/shish/shimmie2/issues
changes / extensions in this repo tracker: https://github.com/tegaki-tegaki/shimmie2-tegaki/issues
All code is released under the GNU GPL Version 2 unless mentioned otherwise.
If you give shimmie to someone else, you have to give them the source (which should be easy, as PHP is an interpreted language...). If you want to add customisations to your own site, then those customisations belong to you, and you can do what you want with them.