Skip to content
Host yo' self from your browser, your phone, your toaster.
Go Dockerfile
Branch: master
Clone or download
Latest commit caaed23 Jul 20, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
pkg only request all files when index.html is not found at root Jul 12, 2019
static fix handling of relative path Jul 15, 2019
templates add file listing if nothing is found Jul 12, 2019
.gitattributes update readme Jul 11, 2019
.gitignore update ui Jul 11, 2019
Dockerfile fix dockerfile Jul 14, 2019
LICENSE Initial commit Jul 9, 2019 add docker fixes #10 Jul 14, 2019
go.mod update go.mod Jul 11, 2019
go.sum update go.mod Jul 11, 2019
goreleaser.yml add goreleaser Jul 11, 2019
main.go Fix a typo. Jul 17, 2019


A hosting service from the browser, because why not. Try it at

See it in action

Here's an example where I use to host itself. I use wget to download and then host from Happy 9th Anniversary Inception 🍰!


Host from the browser

Open and drag and drop a folder, or select a file. Your browser will host the files!

Host from the command line

You can host files directly from the terminal!

$ hostyoself host

Now if you have a file in your folder you can access it with the public URL, directly from your computer!

If you're on a Mac, you can install with Homebrew:

brew tap schollz/homebrew
brew install hostyoself

Or you can host your current directory using Docker:

$ docker run -v `pwd`:/data schollz/hostyoself

Run your own relay

Want to run your own relay? Its easy.

$ hostyoself relay --url https://yoururl


How do I start web hosting? You will need to setup port forwarding, a dynamic DNS, name registration, MySQL, PHP, Apache and take a online course in Javascript.

Just kidding! You don't need any of that crap. Just goto drag and drop a folder, or select a file. That's literally it. Now you can host a website from your laptop or your phone or your smartwatch or your toaster.

How is this possible? When the server you point at gets a request for a webpage, the server turns back and asks you for that content and will use what you provide for the original request.

Seriously, how is this possible? The relay uses websockets in your browser to process GET commands.

Won't my website disappear when I close my browser? Yep! There is a command-line tool that doesn't require a browser so it can run in the background if you need that. But yes, if your computer turns off then your site is down. Welcome to the joys of hosting a site on the internet.

Won't I have to reload my browser if I change a file? Yep! Welcome to the joys of Javascript.

What's the largest file I can host using this? ¯\_(ツ)_/¯

Should I use this to host a website? Dear god yes.

Does this use AI or blockchain? Sure, why not.

Does it scale? Horizontally, or vertically? Probably neither!

What inspired this? beaker browser, ngrok,,, Parks and Recreation.

What's the point of this? You can host a website! You can share a file! Anything you want, directly from your browser!


$ git clone
$ cd hostyoself
$ go generate -v -x
$ go build -v



You can’t perform that action at this time.