This project was started in the late 2000s out of my desire to have a means of previewing old website projects stored on a development server. Consider it a "static content management system" — not a file manager.
Clone it into your HTTP server document root, or any directory where you want to preview your files without leaving your web browser.
git clone https://github.com/ajaxStardust/AnnieDeBrowsa.gitIf you prefer using a single command for quick installation, you can run:
curl -o- https://gist.githubusercontent.com/ajaxStardust/674b5d86f1f4386e72937a607e263608/raw/install.sh > ~/install_adb_by_ajaxStardust.sh
chmod 755 ~/install_adb_by_ajaxStardust.sh
nano ~/install_adb_by_ajaxStardust.sh
cd /var/www/html
~/install_adb_by_ajaxStardust.sh
The files and folders will be deployed as if it were set by the dude who wanted you to try this project and make it ready for you to use, as shown: The crux of it is the file that processes system URL paths, and then the part that lets you browse your http server content.
Try it out! I feel like it's pretty basic, and potentially useful to your production flow tool chain. I've done my best to make it pretty from 2009.
NOTE: You must edit approx line 40 to set correct paths for variables used. Otherewise, you may discover it has created this "one-one-zero-one...one-one-zero-one!"
Check lines 37-40 of the install.sh shell script. ... or is it the transform.sh script? Hmm...
To use Annie DeBrowsa, simply run the following command:
bash transform.sh <directory_name>
The idea is actually to copy the .sh script to /usr/local/bin/transform.sh
e.g. in .bashrc add a line like
alias 2url=/usr/local/bin/transform.sh
so you can just type 2url ./index.html to get https://localhost/adb-logic-to-transform-something-whatever/
this will print the URL that you can use to view your files in a browser.
Note If you want to open the URL automatically in your browser, you can uncomment the xdg-open line in the transform.sh script.
For more details, refer to the transform.sh script.
View a live demo here.
For questions or issues, please open an issue on this repository or contact me directly @ajaxStardust.
I am in the process of rebuilding this project in Laravel, as I like to use personal projects as templates for experimenting with ideas.
Feel free to contribute! If you have ideas or improvements, feel free to fork the repository, submit pull requests, or open issues.
Created by Jeff Sabarese, also available via @ajaxStardust.
This project is licensed under the GPL.
In development. Consider this an "alpha" version for now.
