tweety

command module
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 25 Imported by: 0

README

Tweety

An integrated terminal for your browser.

Tweety

Usage

tweety [-H <host>] [-p <port>]

Installation

brew install pomdtr/tap/tweety
go install github.com/pomdtr/tweety@latest

or download a binary from releases.

Chrome Extension

A chrome extension is availaible in the extension folder. To install it:

  • Clone the repository
  • Go to chrome://extensions
  • Enable Developer mode
  • Click on Load unpacked
  • Select the extension folder

By default, the extension will try to connect to localhost:9999. You can customize the origin in the extension options.

Configuration

Use the $XDG_CONFIG_DIR/tweety/tweety.json file to configure Tweety (defaults to ~/.config/tweety/tweety.json).

Alternatively, you can use the TWEETY_CONFIG environment variable to specify a custom path.

{
  "$schema": "https://github.com/pomdtr/tweety/releases/latest/download/config.schema.json",
  "theme": "Tomorrow",
  "themeDark": "Tomorrow Night",
  "env": {
    "EDITOR": "kak"
  },
  "defaultProfile": "default",
  "profiles": {
    "default": {
      "shell": "bash",
      "args": ["--login"],
      "env": {
        "EDITOR": "vim"
      }
    },
    "fish": {
      "shell": "fish",
      "args": ["--login"]
    }
  }
}

Endpoints

  • / - Open Default Profile
  • /?reload=true - Reload the Page when the Command Exits
  • /?profile=<profile> - Open Specific Profile

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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