keysmash-studios/kitty

Basic hosting

Closed this issue · 3 comments

Purpose: To actually host a specific folder

More or less the most basic parts of kitty aka opening up a port hosting a HTTP server on a folder.

This is more or less finished in a44e7e0, however it still doesn't have proper error handling (which isn't part of this issue and is a separate issue), but more importantly it has no actual way to config the site location or anything.

Preferably you should be able to do

$ kitty --site <path>

or have a config in /etc/kitty/config.json something like:

{
    "enabled_sites": [
        "cool site",
    ],
    "sites": [
        {
            "name": "cool site",
            "path": "/path/to/site",
        }
    ]
}

With more settings than that, it's just an example. But that's more related to the config issue (which hasn't been made yet, and it might just become this one)

Decent error handling was added with e2def06

Supporting 404 and it has a proper file directory listing with 1202ff4 and even better with the addition of <tag> in ef017b8

Moving to git-bug #71fee5c