Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No instructions for self-hosting #71

Open
akaihola opened this issue Apr 27, 2022 · 2 comments
Open

No instructions for self-hosting #71

akaihola opened this issue Apr 27, 2022 · 2 comments

Comments

@akaihola
Copy link

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.

@proudparrot2
Copy link

Not really sure if its meant to be replicated and self hosted, it just says that this repo is the source code behind it

@phanirithvij
Copy link

phanirithvij commented Sep 11, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants