Stars: 128
Forks: 34
Pull Requests: 7
Issues: 11
Watchers: 10
Last Updated: 2023-04-19 00:36:07
A php script for generating Rubik's Cube visualisations
License: GNU Lesser General Public License v3.0
Languages: PHP, CSS, Shell, Dockerfile
Generate custom Rubik's cube visualisations from your browser address bar.
These instructions are for installing the script on your own web server. If you do not have access to your own server, or would just like to try out the software, please visit: http://cube.rider.biz/visualcube.php
docker build -t visualcube .
docker run -p 80:80 --rm visualcube
Add a .htaccess file to the same folder as visualcube.php with something like the following:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.example\.com)$
RewriteRule ^visualcube\.(gif|png|jpg|jpeg|tiff|ico)$ http://www.example.com/visualcube.php?%{QUERY_STRING}&fmt=$1 [L]