You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36-22Lines changed: 36 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,6 @@ GitHub Brain also includes a web-based UI for ultra-fast search:
24
24
25
25
And a Raycast extension:
26
26
27
-
28
-
29
27

30
28
31
29
GitHub Brain is [programmed in Markdown](https://github.blog/ai-and-ml/generative-ai/spec-driven-development-using-markdown-as-a-programming-language-when-building-with-ai/).
@@ -46,8 +44,9 @@ github-brain <command> [<args>]
46
44
47
45
**Workflow:**
48
46
49
-
1. Use `pull` to populate the local database
50
-
2. Use `mcp` to start the MCP server
47
+
1. Use `login` to authenticate with GitHub (or set `GITHUB_TOKEN` manually)
48
+
2. Use `pull` to populate the local database
49
+
3. Use `mcp` to start the MCP server
51
50
52
51
Re-run `pull` anytime to update the database with new GitHub data.
53
52
@@ -62,6 +61,21 @@ You can change the home directory with the `-m` argument available for all comma
62
61
63
62
</details>
64
63
64
+
### `login`
65
+
66
+
Opens your browser to authorize _GitHub Brain_ app and stores resulting `GITHUB_TOKEN` in the `.env` file.
67
+
Optionally, you can also specify `ORGANIZATION` to store in the same file.
||`GITHUB_TOKEN`| Your GitHub token. Use `login` command or create a [personal token](https://github.com/settings/personal-access-tokens). **Required.**|
94
+
|`-o`|`ORGANIZATION`| The GitHub organization to pull data from. **Required.**|
95
+
|`-m`|| Home directory. Default: `~/.github-brain`|
0 commit comments