EOL - This project is no longer maintained.
This repository has been archived on 2021-05-03. You can view files and clone it, but cannot push or open issues/pull-requests.
Go to file
ljoonal fb93a97808
Small progress
2018-09-11 00:21:54 +03:00
dist Small progress 2018-09-11 00:21:54 +03:00
src making things really work 2018-07-16 20:32:30 +03:00
.gitignore broke things but made progress 2018-06-24 04:28:26 +03:00
.htaccess Working again 2018-06-25 02:24:32 +03:00
build-css.js Working again 2018-06-25 02:24:32 +03:00
license broke things but made progress 2018-06-24 04:28:26 +03:00
package-lock.json broke things but made progress 2018-06-24 04:28:26 +03:00
package.json broke things but made progress 2018-06-24 04:28:26 +03:00
readme.md Intial commit 2018-06-18 23:40:58 +03:00
setup.md broke things but made progress 2018-06-24 04:28:26 +03:00
todo.md Added a task to do 2018-09-07 09:29:11 +03:00


What is this?

FiBr - File Browser. It allows you to customize your file names and the date's of the files. Or even folders for that matter. It uses mySQL databases to store all of the file information, so it doesn't need to rely on the actual date modified attributes of the files, or the actual names.


These are what it's tested on, might work on other setups as well:

  • Apache2.4
  • MySql 5.5 (Tested on MariaDB 5.5.60)
  • Knowledge on how to point index file to index.php
  • Knowledge to change some variables in index.php file

How do I use it?

Right now you don't. This doesn't work yet.

How would I use it when it's ready?

You'd download this project folder, move index.php to some location, point your htacces to use that file as the index file, change some variables in the index.php to tell it where sorttable.js and the css files are along with the file icons. Then you'd set up the enviroment variables in apache vhosts config

<VirtualHost *:80>
  ServerName yourserverhere.com
  DocumentRoot /your/document/root
  SetEnv MYSQLNAME yourmysqluser
  SetEnv MYSQLPASS yourmysqluserpasswordhere

and then you'd just open the folder you want to access and it'd just work.


  • This is still in very early developement. Please make your code easy to read. If I cannot understand it in 5 seconds or less, and there's no comment about it, it's not going to pass.
  • Make sure that it works with php7.2 and Apache2.4.
  • Indent with 2 spaces
  • Declare configuration variabes at the top
  • Do not use short tags <? ... ?> (<?= ... ?> is fine along with the normal <?php ... ?>)

General usage idea: you can move all of the files to wherever you want, index.php will contain variables for all the needed file's paths that you'll change. Then it'll read the url, and get the current location from there, not from where index.php is located. That way, you can use .htaccess to point from other folders to that file, or include it in the index file.