smallweb

command module
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 2 Imported by: 0

README

Smallweb - Host websites from your internet folder

Smallweb simplifies the process of self-hosting websites, taking inspiration from platform like Deno Deploy or Val Town.

Creating a website should be as simple as creating a file, or cloning a repository in ~/www.

Requirements

Installation

# from source
go install github.com/pomdtr/smallweb@latest

# using eget
eget pomdtr/smallweb

or download the binary from the releases page.

Usage

Create a smallweb account using the smallweb auth signup command.

The create your first server at ~/www/example/hello.ts.

export default function(req: Request) {
    return new Response("Hello, World!");
}

Now start a tunnel using the smallweb up command.

Your website will be available at https://example-<your-username>.smallweb.run.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL