Anonymous 3D Imageboard http://cyberia.digital/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.5KB

4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # AnonIB 3D by Alex Krunch
  2. ![Screenshot](https://pbs.twimg.com/media/D9Hjo53W4AUguEy.jpg)
  3. 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
  4. ## Software
  5. The project use Angular >6 and PHP > 5. It also use the libraries BabylonJS for the 3D and LazerDB for JSON database.
  6. [BabylonJS](https://github.com/BabylonJS/Babylon.js/tree/master/dist)
  7. [LazerDB](https://github.com/Greg0/Lazer-Database)
  8. ## Installation
  9. **1/ Drag and drop the content at the _/ready2use/_ at the root of your server.**
  10. If you want to add AnonIB 3D to a subfolder, you will need to recompile the Angular project using this build command:
  11. ```bash
  12. ng build --prod --base-href=/path-to-subfolder/
  13. ```
  14. Add this .htaccess, modify _path-to-sub-folder_, and place it at the root of your sub-folder.
  15. ```bash
  16. RewriteEngine on
  17. RewriteCond %{REQUEST_FILENAME} -s [OR]
  18. RewriteCond %{REQUEST_FILENAME} -l [OR]
  19. RewriteCond %{REQUEST_FILENAME} -d
  20. RewriteRule ^.*$ - [NC,L]
  21. RewriteRule ^(srv|user)($|/) - [L]
  22. RewriteRule ^(.*) /path-to-sub-folder/index.html [NC,L]
  23. ```
  24. Don't forget to add the content of _/src_php/_ in _/path-to-sub-folder/srv/_
  25. **2/ Add you own custom map list**
  26. Go to _/php/MapController.php_ and add and suppress a new line. Use only characters allowed in Url for the board name.
  27. ```bash
  28. array_push($levelToPlace, new Level("newmap", 15, 13, true, true) );
  29. ```
  30. **3/Initialize the admin password + the DB**
  31. Go to _/srv/php/admin.php_
  32. Type the you password in the field
  33. Click on Set password
  34. To re-init the password go to _/php/password/password.txt_ and erase the file
  35. After this erase database + posts and maps if they already exist and click Init the database + Init Map and Posts
  36. **4/Access to the admin**
  37. Go to _/admin_ , type your password and click on New user or Existing user.
  38. You know have access to the admin. Click on the Launch the Admin.
  39. Posts is to review , delete or ban user.
  40. 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.
  41. ## Project status
  42. 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.
  43. ## Support
  44. For any question or problem contact me by mail (monsieur.krunch@gmail.com) or on Twitter (https://twitter.com/alexkrunch)
  45. ## License
  46. [MIT](https://choosealicense.com/licenses/mit/)