Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/VottonDev/pomfe.co-file-hosting

Pomfe.co File Hosting Site Source Code
https://github.com/VottonDev/pomfe.co-file-hosting

apache2 file-sharing file-upload javascript javascript-free mysql-database nginx php pomf

Last synced: about 1 month ago
JSON representation

Pomfe.co File Hosting Site Source Code

Awesome Lists containing this project

README

        

# Pomfe.co V1

- Discontinued project

![pomfe.co](https://user-images.githubusercontent.com/5682352/36320287-92139be8-133d-11e8-880b-8dfcdc05225a.png)

# Requirements

- A web server (Nginx or Apache)
- PHP (>=5.5)
- MySQL Server

# Installation

- Drag all the files to the "root directory" of your website.
- Run sudo chown -R www-data:www-data /var/www/domain.com/html/files
- Import "schema.sql" and "update.sql" into your MySQL Database.
- Modify "settings.inc.php" inside /includes/.
- Run "composer install" to install the required dependencies. (Optional if use ClamAV)
- Try uploading a file: see if it adds a row into your MySQL database and try to open the file.

# Add-ons

Moe Panel: https://github.com/Pomfe/Moe-Panel

- The main panel works but reports are broken, and I don’t believe the current pomfe.co source has support for the dynamic upload limits. Also I need to upload some code to support it on this version of pomfe.co.
- We discontinued support for Moe Panel quickly as the code is horrible and it ended up working out better for us to build our own panel.

# Credits

- Pomf done by [Nekunekus](https://github.com/nokonoko/Pomf)
- Modifications done by Bohrmeista & Votton.

# Tips

- Remember to block the execution of PHP code on your web server.
- You can make cron jobs to remove logs [automatically](https://www.digitalocean.com/community/tutorials/how-to-use-cron-to-automate-tasks-on-a-vps).
- You can get a free SSL using Let's Encrypt's [Certbot](https://certbot.eff.org/#ubuntutyakkety-nginx) or CloudFlare's SSL Solution.

# Helpful resources:

- [phpMyAdmin](https://www.phpmyadmin.net/) - Easier to manage MySQL

# Extra Info

We will most likely leave this in a working condition so, if you want to use it feel free (it works with our version of moe panel).