+5
-3
README.md
+5
-3
README.md
···
1
1
# Smallweb
2
2
3
-
What if your computer had an internet folder, where each subfolder would be mapped to a subdomains?
3
+
Smallweb is a new take on self-hosting. The goal is to make it as easy as possible to host your own apps. To achieve this, it uses a "file-based hosting" approach: every subfolder in your smallweb folder becomes a unique subdomain.
4
4
5
-
Smallweb makes creating a new website as simple as running `mkdir` and creating a few files. Instead of learning with a clunky REST API, you can use the unix tools you already know and love to manage your websites.
5
+
Smallweb is obsessed with scaling down. No dev server or a build is required, and you don't even need to care about deployment. You can just write a single file, hit save, and voila! Your app is live.
6
6
7
7
## Example
8
+
9
+
Smallweb makes creating a new website as simple as running `mkdir` and creating a `main.ts` file.
8
10
9
11
Let's say I want to self-host my own drawing app.
10
12
···
29
31
30
32
Leave me a message at [excalidraw.demo.smallweb.live](https://excalidraw.demo.smallweb.live), and then go create your own website from [vscode.demo.smallweb.live](https://vscode.demo.smallweb.live)!
31
33
32
-
If you want to self-host smallweb, just run `curl https://install.smallweb.run/vps.sh` on a fresh new debian-based server to get a fully working smallweb instance, with on-demand TLS certificates.
34
+
If you want to self-host smallweb, refer to the [docs](https://www.smallweb.run/docs/hosting/vps).
33
35
34
36
Or alternatively, register at [https://cloud.smallweb.run](https://cloud.smallweb.run) to get an hosted instance.
35
37