44
55A tool for those who appreciate keyboard driven apps and terminal workflows
66
7- ## Features
7+ ## Features
88 * 📦 ** Single binary** - lightweight, zero dependencies, use anywhere without any requirements
99 * 🤖 ** Support for OpenAI compatible APIs** (ChatGPT, Mistral, Ollama, LMStudio, and more)
1010 * 🌟 ** Support for Gemini API**
@@ -18,17 +18,53 @@ A tool for those who appreciate keyboard driven apps and terminal workflows
1818
1919![ tui demo] ( ./docs/images/nekot-demo.gif )
2020
21- ## Installation manual
21+ ## App installation
2222
23- ### Setting API keys
23+ ** Ensure API keys are set before proceeding to installtion**
24+
25+ ### Homebrew (MacOS)
26+
27+ ``` bash
28+ brew tap BalanceBalls/BalanceBalls
29+ brew install nekot --cask
30+ ```
31+
32+ ### Shell script (Linux, MacOS)
33+
34+ Requires ` curl ` and ` tar ` .
35+
36+ ** For updating the app, just run the script again**
37+
38+ ** Basic install:**
39+ * Requires ` sudo ` , and installs to ` /usr/local/bin/ `
40+ ``` bash
41+ curl -fsSL https://raw.githubusercontent.com/BalanceBalls/nekot/main/install.sh | sudo sh
42+ ```
43+
44+ ** Install to path:**
45+ * Use ` -p ` flag to specify install path.
46+ * Make sure the specified directory is in the ` $PATH ` .
47+ * May require ` sudo ` depending on the path specified.
48+ ``` bash
49+ curl -fsSL https://raw.githubusercontent.com/BalanceBalls/nekot/main/install.sh | sh -p ~ /.local/bin
50+ ```
51+
52+ ### Download binary/executable (Windows, MacOS, Linux)
53+
54+ 1 . [ Go to latest release] ( https://github.com/BalanceBalls/nekot/releases/latest )
55+ 2 . Download and extract the archive
56+ 3 . Place the binary/executable in some directory
57+ 4 . Add that directory to ` $PATH `
58+
59+ ## Setting API keys
2460
2561To use the app, you will need to set ` OPENAI_API_KEY ` or/and ` GEMINI_API_KEY ` env variables depending on your needs
2662
2763<details >
2864
2965<summary >API keys guide</summary >
3066
31- #### OpenAI APIs
67+ ### OpenAI APIs
3268
3369<i >For local models the key still needs to be set (` OPENAI_API_KEY=1 ` will do).</i >
3470
@@ -37,47 +73,18 @@ Set up your openai api key:
3773* Mistral: [ how to get an api key] ( https://docs.mistral.ai/getting-started/quickstart/#account-setup )
3874
3975``` bash
40- export OPENAI_API_KEY=" some-key" # you would want to export this in your .zshrc
76+ export OPENAI_API_KEY=" some-key" # you would want to export this in your .zshrc or .bashrc
4177```
4278
43- #### Gemini API
79+ ### Gemini API
4480
4581Set up your api key - [ how to get an api key] ( https://aistudio.google.com/apikey )
4682
4783``` bash
48- export GEMINI_API_KEY=" some-key" # you would want to export this in your .zshrc
84+ export GEMINI_API_KEY=" some-key" # you would want to export this in your .zshrc or .bashrc
4985```
5086</details >
5187
52- ### App installation
53-
54- After API keys are set, proceed to installtion
55-
56- #### Homebrew
57-
58- ``` bash
59- brew tap BalanceBalls/BalanceBalls
60- brew install nekot
61- nekot
62- ```
63-
64- #### Manual (Mac,Windows,Linux)
65-
66- * Install go - [ manual] ( https://go.dev/doc/install )
67- * Clone repo and cd into the directory
68- ``` bash
69- git clone https://github.com/BalanceBalls/nekot.git
70- cd ./nekot
71- ```
72- To install as a go binary:
73- * Run ` go install `
74-
75- To build a binary:
76- * Build binary ` go build . `
77- * Allow execution of the binary ` chmod +x ./nekot ` (if needed)
78- * Run binary ` ./nekot ` . For windows ` ./nekot.exe `
79-
80-
8188## Config
8289
8390We provide a ` config.json ` file within your directory for easy access to essential settings.
0 commit comments