All Projects → schollz → Hostyoself

schollz / Hostyoself

Licence: mit
Host yo' self from your browser, your phone, your toaster.

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to Hostyoself

Bulmaswatch
Themes for Bulma
Stars: ✭ 1,525 (-8.41%)
Mutual labels:  website
Acyort
A Node.js static website framework
Stars: ✭ 118 (-92.91%)
Mutual labels:  website
Page.qy
🤘 以简单的方式, 建立你的个人网站, 无需一行代码
Stars: ✭ 124 (-92.55%)
Mutual labels:  website
Wiki.tankywoo.com
My personal wiki, powered by simiki ( https://github.com/tankywoo/simiki )
Stars: ✭ 111 (-93.33%)
Mutual labels:  website
Screenshot Website
📸 A GitHub Action to capture screenshots of a website, across Windows, Mac, and Linux
Stars: ✭ 116 (-93.03%)
Mutual labels:  website
Lodash.com
The Lodash website.
Stars: ✭ 119 (-92.85%)
Mutual labels:  website
Bootstrap5 Website
Archivos para poder seguir el tutorial para crear tu primer sitio web con Boostrap 5
Stars: ✭ 109 (-93.45%)
Mutual labels:  website
Soul Manga
react + flask + scrapy 构建的单页应用漫画网站
Stars: ✭ 126 (-92.43%)
Mutual labels:  website
Nahodny Slusny Cech
Aplikace s prvky UD (umele debility).
Stars: ✭ 117 (-92.97%)
Mutual labels:  website
Nim websitecreator
Nim fullstack website framework - deploy a website within minutes
Stars: ✭ 124 (-92.55%)
Mutual labels:  website
Jekyll Theme Yat
🎨 Yet another theme for elegant writers with modern flat style and beautiful night/dark mode.
Stars: ✭ 113 (-93.21%)
Mutual labels:  website
Ghtorrent.org
The GHtorrent project website
Stars: ✭ 115 (-93.09%)
Mutual labels:  website
Yihui
Personal website of Yihui Xie
Stars: ✭ 122 (-92.67%)
Mutual labels:  website
Getkap.co
Website for Kap
Stars: ✭ 111 (-93.33%)
Mutual labels:  website
The Big List Of Hacked Malware Web Sites
This repository contains a list of all web sites I come across that are either hacked with or purposefully hosting malware, ransomware, viruses or trojans.
Stars: ✭ 125 (-92.49%)
Mutual labels:  website
Tinymooc
🌸 Lightweight Java Platform Online Mooc Learning Website
Stars: ✭ 110 (-93.39%)
Mutual labels:  website
Serverlesslibrary
Source code for the Azure Serverless Community Library
Stars: ✭ 119 (-92.85%)
Mutual labels:  website
Sofastack Doc
官网已迁移至 2.0 版本 https://github.com/sofastack/sofastack.tech -->
Stars: ✭ 127 (-92.37%)
Mutual labels:  website
Website
Flutter web site
Stars: ✭ 1,918 (+15.2%)
Mutual labels:  website
Cms
MaxSite CMS
Stars: ✭ 123 (-92.61%)
Mutual labels:  website

hostyoself
Version

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

See it in action

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

Inception

Host from the browser

Open hostyoself.com 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
https://hostyoself.com/confidentcat/

Now if you have a file in your folder README.md you can access it with the public URL https://hostyoself.com/confidentcat/README.md, directly from your computer!

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

brew tap schollz/homebrew https://github.com/schollz/homebrew-tap.git
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

FAQ

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 hostyoself.com 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, localhost.run, inlets.dev, 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!

Develop

$ git clone https://github.com/schollz/hostyoself
$ cd hostyoself
$ go generate -v -x
$ go build -v

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].