https://github.com/codenoid/web-mirror
Make any web accessible from your own host / domain
https://github.com/codenoid/web-mirror
Last synced: 10 days ago
JSON representation
Make any web accessible from your own host / domain
- Host: GitHub
- URL: https://github.com/codenoid/web-mirror
- Owner: codenoid
- Created: 2021-10-14T10:09:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T10:34:51.000Z (about 3 years ago)
- Last Synced: 2025-04-22T17:46:35.682Z (10 months ago)
- Language: Go
- Size: 129 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web Mirror

Based on [reverseproxy](https://github.com/cssivision/reverseproxy)
Solution for:
1. Website that only set 'X-Frame-Options' to 'sameorigin'.
2. Hide website real url
3. Content interception & manipulation [reverseproxy.go#L311](https://github.com/codenoid/web-mirror/blob/master/reverseproxy.go#L311)
4. User Agent set (mobile|desktop)
## Setup
```sh
# Installation
curl -sf https://gobinaries.com/codenoid/web-mirror@latest | sh
# Running UP
export BIND="0.0.0.0:7000"
./web-mirror
```
## Usage
1. Put requested url to ?mirror= args
2. Set User-Agent with &ua=mobile|desktop (the used UA are most-common used on the earth)
3. the payload must be url encoded
Open [http://localhost:7000/?mirror=https%3A%2F%2Fwww.tiktok.com%2F%40khaby.lame&ua=mobile](http://localhost:7000/?mirror=https%3A%2F%2Fwww.tiktok.com%2F%40khaby.lame&ua=mobile)