3 ms·
For macOS users, iTerm2 offers the exact same feature [1][2] since v3.5.0beta9 (Dec 19, 2022). Both Shelly [3] and iTerm use OpenAI under the hood. Here are se
by guessmyname 3y ago
For macOS users, iTerm2 offers the exact same feature [1][2] since v3.5.0beta9 (Dec 19, 2022).
Both Shelly [3] and iTerm use OpenAI under the hood. Here are several alternatives [4].
[1] https://github.com/gnachman/iTerm2/commit/7bcc4e0bedb22c4fd90ae7934fbbce3268a71e11 https://github.com/gnachman/iTerm2/commit/7bcc4e0bedb22c4fd9...
[2] https://cixtor.com/blog/iterm2-openai https://cixtor.com/blog/iterm2-openai
[3] https://github.com/paletov/shelly/blob/main/src/llm_service.py https://github.com/paletov/shelly/blob/main/src/llm_service....
[4] https://github.com/search?q=terminal+chatgpt&type=repositories https://github.com/search?q=terminal+chatgpt&type=repositori...
- eesmith 3y agoI looked at the iTerm2 example at [2]. The result was: find ~/Library -name '*.binarycookies' -exec binarycookies {} ; | grep -E "GitHub|Slack" | awk '{print $NF "\t" $1}' Isn't that wrong? I mean, set aside how the search pattern also matches "Slackware", but my reading of the binarycookies command at https://github.com/cixtor/binarycookies/blob/master/cmd/binarycookies/main.go https://github.com/cixtor/binarycookies/blob/master/cmd/bina... says the output columns are: expires domain path name value "Secure"? "HttpOnly"? comment? so the awk command will get the cookie value (at $NF for most cookies) and the expires (at $1), when the request asked for the cookie name ($4) and value ($5). The following (assuming no typo) looks like it should actually do the request: find ~/Library -name '*.binarycookies' -exec binarycookies {} ; | awk '$4 == "Google" || $4 == "Slack" {print $4 "\t" $5}' OTOH, I expect the author of the tool to expect best how to parse its output, so perhaps I'm looking at the wrong tool?