771b1558b729bcb06b106d8ad5702920f4b557f3
Random user
Online preview: http://theenoro.the-co.de/random-user/
Download
Build yourself
NodeJS: https://nodejs.org/en/
git clone https://gitlab.thee.moe/theenoro/random-user.git
cd random-user
npm install
npm install -g less
npm run build --prod
cp public/index.html public/404.html
mv public _public
mv build public
lessc src_less/main.less build/main.css
mv public build
Latest Artifact
witout building - just download and put into webfolder. https://gitlab.thee.moe/theenoro/random-user/-/jobs/artifacts/master/download?job=pages
Usage
Get it running
Just use a simple webserver, if you want to use the rescan.php then you need php-cli or something like apache/nginx with the php module.
Create new Classes / Usergroups w/o rescan.php
- create in
public/data/classa new folder for a new group of users - modify the
classes.jsoninpublic/data/classand add in the array your ne folder name - create in your new folder a file with the name 'user.json' and a structure like
{"user":[
["<file_name(w/o filetype)>","<filetype>"],
["test","jpg"]
]
}
Create new Classes / Usergroups w/ rescan.php
- (for the web rescan)go to public/ and run
chown -R www-data:www-data classthat the user www-data owns the folder and can write files. - create in
public/data/classa new folder for a new group of users - run in the public folder
php ./rescan.php, it will generate theclasses.jsonand alluser.jsonfiles for you. Or get on your website https://yourdoma.in/rescan.php
Description
Languages
JavaScript
61.4%
Less
13.1%
PHP
8.3%
HTML
6.8%
CSS
6.6%
Other
3.8%