Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

seanbreckenridge/proxy-jikan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxy-jikan

spooky self-signed token-authenticated proxy for Jikan

Setup

On a VPS/VM somewhere to use as a proxy:

Install: python, pipenv, npm, openssl

Set this up, use forever to daemonize processes.

git clone https://github.com/seanbreckenridge/docker-jikan ../docker-jikan  # and set that up
sudo npm install -g forever
./setup
export PROXY_PORT=8001
export PROXY_TOKEN=hello
pipenv install
./restart

Once the servers are running, I copy the cert.pem down to my machine, put it in the same folder as example.py, and test it with:

PROXY_IP=41.193.... PROXY_PORT=8001 PROXY_TOKEN=hello python3 example.py