gore
This serves as a API for goreforum, I will be adding more to this over time. You can see a hosted instance of this at gore.yserv.
Why?
So, this data can be used else where if one wishes to, this purely educational purposes and for study.
User profiles?
- I'll try to find workarounds for this but for now, this is not happening sadly.
To do:
- Get posts from threads. (threads/man-decapited/) (WIP)
- Random thread (threads/random/)
- Account login system to access anything that's not accessible if you're not logged in.
- Have a input option for the Spanish sister site forogore.
hosting:
handle the virtualenv
cd /var/www/gore/ python3 -m venv env
source env/bin/activate
pip3 install flask gunicorn requests beautifulsoup4
sudo chown -R www-data:www-data /var/www/gore
make a systemctl file vim /etc/systemd/system/gore.service
[Unit]
Description=gunicorn daemon
After=network.target
[Service]
User=www-data
Group=www-data
WorkingDirectory=/var/www/gore/
ExecStart= /var/www/gore/env/bin/gunicorn --workers 3 --bind unix:/var/www/gore/gore.sock -m 777 wsgi:app
[Install]
WantedBy=multi-user.target
make the nginx file vim /etc/nginx/sites-available/gore
server {
listen 80;
listen [::]:80:
server_name example.com ;
location / {
include proxy_params;
proxy_pass http://unix:/var/www/gore/gore.sock;
}
}
GitHub
GitHub - notsys/gore: funnier than most discord meme channels.
funnier than most discord meme channels. Contribute to notsys/gore development by creating an account on GitHub.