8000 GitHub - tigattack/url-viewer · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

url-viewer

This tiny worker will render the contents of an HTML file at a URL passed to it.

There are two implementations:

  • Cloudflare Worker
  • Python using http.server

Disclaimer: You probably really definitely shouldn't use this. It's stupid and bad. :)

Python

This implementation will run a HTTP server on port 8080

Endpoints

  • /healthcheck - Returns "I'm alive!" with response code 200.
  • /?url=http://some.url - Returns the contents of the URL provided.

Get started

docker build . -t pyurlviewer
docker run --rm -p 8080:8080 --name pyurlviewer pyurlviewer

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0