Ponyhub is the world’s leading free pony site. Choose from millions of funny videos that stream quickly and in high quality. The largest pony site on the Internet just keeps getting better. It’s fast, it’s free, it’s Ponyhub!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Romain J 0f4ce7b195 fix(display|header|menu|dropdowns): refer to 9596584e12, same kind of fix 2 years ago
.idea commit/push only in the order to keep a save of actual project, upload's section is actualy not working 2 years ago
PonyHub commit/push only in the order to keep a save of actual project, upload's section is actualy not working 2 years ago
applications commit/push only in the order to keep a save of actual project, upload's section is actualy not working 2 years ago
static fix(display|header|menu|dropdowns): refer to 9596584e12, same kind of fix 2 years ago
templates commit/push only in the order to keep a save of actual project, upload's section is actualy not working 2 years ago
.gitignore - feat(video|tags): add tags for videos. 2 years ago
README.md fix(doc|readme): remove nswf word/title 2 years ago
manage.py tldr... 2 years ago
ponyhub.conf.sample README + config samples 2 years ago
ponyhub.ini.sample README + config samples 2 years ago
requirements.txt update(python|pip|requirements): update requirements.txt file 2 years ago

README.md

https://git.gnous.eu/gnouseu/Ponyhub/raw/branch/master/static/assets/images/ponyhub_logo_straight.png

PonyHub

Travis Travis 2 Travis 3 Maintenance Ask Me Anything ! made-with-python

Ponyhub is a funny project based on a very known website front-end elements without NSFW but with a lot of ponies.

This software is written in Python using Django Framework.

Currently, this project is in beta and a lot of features are missing so it's can't be in production for now.

Deployment

Requirements :

To deploy PonyHub you need :

  1. Python3.7 or higher with pip
  2. A GNU/Linux machine (Ubuntu 18.04 recommended)
  3. An internet connection
  4. At least 20 GB free on your hard drive to stock a lot of ponies
  5. A MySQL server (MariaDB recommended)

Installation :

  • Clone the Git repository : git clone https://git.gnous.eu/gnouseu/Ponyhub/

  • Install fmpeg : sudo apt install ffmpeg

  • Install required Python dependencies : python3.7 -m pip install -r requirements.txt

  • Edit PonyHub/settings.py DATABASE variable.

Running :

python manage.py runserver 127.0.0.1:8000

(8000 => web port)

Production :

UWSGI :

In production, you should use UWSGI to run PonyHub.

Nginx Reverse Proxy :

We recommend you to use a reverse proxy in production. NGINX is the best Reverse Proxy so you should use it :^).

  • Install NGINX : sudo apt install nginx

  • Copy and edit ponyhub.conf.sample to /etc/nginx/sites-available/

  • Make a symbolic link to enable it : sudo ln -s /etc/nginx/sites-available/ponyhub.conf /etc/nginx/sites-enabled/ponyhub.conf

  • Check NGINX configuration : sudo nginx -t

  • Reload NGINX : sudo service nginx reload