tty-web 0.16.0

Web-based terminal emulator — opens a real PTY in the browser over WebSocket
Documentation
@font-face {
    font-family: "LigaHack Nerd Font";
    src: url("/fonts/LigaHackNerdFont-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "LigaHack Nerd Font";
    src: url("/fonts/LigaHackNerdFont-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "LigaHack Nerd Font";
    src: url("/fonts/LigaHackNerdFont-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "LigaHack Nerd Font";
    src: url("/fonts/LigaHackNerdFont-BoldItalic.woff2") format("woff2");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1a1b26;
}

#statusbar {
    width: 100%;
    height: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 12px;
    background: #24283b;
    color: #565f89;
    font-family: "LigaHack Nerd Font", monospace;
    font-size: 12px;
}

#statusbar .sb-green  { color: #9ece6a; }
#statusbar .sb-yellow { color: #e0af68; }
#statusbar .sb-red    { color: #f7768e; }

#statusbar .sb-spacer {
    flex: 1;
}

#statusbar button {
    background: none;
    border: none;
    color: #565f89;
    font-family: "LigaHack Nerd Font", monospace;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 8px;
}

#statusbar button:hover:not(:disabled) {
    color: #c0caf5;
}

#statusbar button:disabled {
    cursor: default;
    opacity: 0.5;
}

#terminal {
    width: 100%;
    height: calc(100% - 28px);
}