An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Web Mirror

![screenshot](screenshot.png)

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)