rawgithack
rawgithack copied to clipboard
No instructions for self-hosting
We need the functionality of rawgithack, but hosted on our private network and pointed to our private repositories.
I tried to make this happen by attempting to run rawgithack locally, changing the URLs and fixing issues one by one. But eventually I hit a wall and faced problems which went above my understanding.
It would be fantastic to have instructions for modifying rawgithack for running our own copy.
Not really sure if its meant to be replicated and self hosted, it just says that this repo is the source code behind it
I made a fork and deployed locally. It needs to be deployed on cloudflare for it to work as per design.
Here are the changes made https://github.com/phanirithvij/rawgithack - url changes - removal of patreon functionality (for purge-cache page) - changed js endpoints for some hardcoded js files (required as domain is changing)
I have no plan to host a private version for myself just tinkered with it.
Commands I ran
rg githack%.com -l | xargs -n 1 sed -i 's/githack%.com/armyofrats%.in/g'
rg githack.com -l | xargs -n 1 sed -i 's/githack.com/armyofrats.in/g'
# manually replaced githack\.com in rawgithack.conf file
docker-compose --file .docker/docker-compose.yml down && docker-compose --file .docker/docker-compose.yml build && docker-compose --file .docker/docker-compose.yml up