Maintenance mode. No new features expected. Centralized file hosting services will be replaced with decentralized, DAO, and crypto Web 3.0 soon, resistant to censorship with better privacy. There is no need to make a software like this file hosting anymore.
This is the source code of the free file hosting nullupload.com feel free to use to start your own file hosting. This file hosting is developed with security and privacy in mind.
We will be using a Apache 2.4 MPM Event + >= PHP-FPM 7.3 + Mysql 8.0 stack.
We will be using Docker containers.
- Setup the database importing the setup.sql file.
- Change src/settings.php settings. 2.1. Admin user is in plaintext, admin password should be bcrypt.
- Change uploads/.htaccess file to reflect your directory.
- Change classes/SessionHelper.php to set the admin username and password. (Username: cleartext, Password: hash sha512)
- User Let's Encrypt and Strict HSTS to keep your site safe.
- Setup a cron on your server to execute cron.sh (as web user like www-data) every hour.
_tcache
contains the Twig cache files.
classes
contains our custom helpers classes.
logs
contains our app log.
public
is our public server folder. index and UI.
templates
our UI/Twig templates.
uploads
our uploaded files.
Monero address:
4BCveGZaPM7FejGkhFyHgtjVXZw52RrYxKs7znZdmnWLfB3xDKAW6SkYZPpNhqBvJA8crE8Tug8y7hx8U9KAmq83PwLtVLe