1
0
mirror of https://github.com/AlexKrunch/AnonIB-3D.git synced 2024-11-14 00:46:50 -05:00
AnonIB-3D/README.md
2019-08-17 10:21:07 +02:00

2.5 KiB

AnonIB 3D by Alex Krunch

Screenshot This project is a prototype for a 3D anonymous imageboard. The goal is to use the video game structure an abstraction layer to minimize censorship. Full project running here: https://3dchan.net

Software

The project use Angular >6 and PHP > 5. It also use the libraries BabylonJS for the 3D and LazerDB for JSON database. BabylonJS LazerDB

Installation

1/ Drag and drop the content at the /ready2use/ at the root of your server. If you want to add AnonIB 3D to a subfolder, you will need to recompile the Angular project using this build command:

ng build --prod --base-href=/path-to-subfolder/

Add this .htaccess, modify path-to-sub-folder, and place it at the root of your sub-folder.

    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^(srv|user)($|/) - [L]
    RewriteRule ^(.*) /path-to-sub-folder/index.html [NC,L]

Don't forget to add the content of /src_php/ in /path-to-sub-folder/srv/

2/ Add you own custom map list Go to /php/MapController.php and add and suppress a new line. Use only characters allowed in Url for the board name.

array_push($levelToPlace, new Level("newmap", 15, 13, true, true) );

3/Initialize the admin password + the DB Go to /srv/php/admin.php Type the you password in the field Click on Set password To re-init the password go to /php/password/password.txt and erase the file After this erase database + posts and maps if they already exist and click Init the database + Init Map and Posts

4/Access to the admin Go to /admin , type your password and click on New user or Existing user. You know have access to the admin. Click on the Launch the Admin. Posts is to review , delete or ban user. Map is to change map. At the top you got a selector to choose the chan of the map, and at the bottom you got a selector for the type of tile you want to use.

Project status

I paused the project due to my personal situation. There all you need in the code to activate the image upload, but security flows in it are highly probable.

Support

For any question or problem contact me by mail (monsieur.krunch@gmail.com) or on Twitter (https://twitter.com/alexkrunch)

License

MIT