Skip to content

FireStreaker2/Static-Site-Stealer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static-Site-Stealer

Info

Static Site Stealer is a simple node program to "steal" static sites. It accomplishes this by fetching the HTML for a URL on the server, and then sends an exact copy of it to the client. It comes with three different routes, all with their own purposes.

Usage

There are three current routes. A table is shown below for their usage.

Route Usage
/search/${url} The actual recommended "static site stealer", renders static sites by rewriting relative urls into absolute ones
/simple/${url} Like /search, but usually renders only the HTML (no url rewriting)
/iframe/${url} A simple iframe for the site.

Note that the url variable will be the site WITHOUT the protocol added (ex. /search/firestreaker2.gq)

Selfhosting

If you want to selfhost this project for some reason, you are free to do so.

$ git clone https://github.com/FireStreaker2/Static-Site-Stealer.git
$ cd Static-Site-Stealer
$ npm i
$ npm start

Please note that if you are selfhosting with a custom URL, you must set your URL environment variable to the proper value (ex. https://sss.firestreaker2.gq), otherwise this will not work.

License

MIT

About

Simple node program to "steal" sites

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published