Skip to content

Commit f31cf14

Browse files
authored
Update README.md
1 parent e43d0cb commit f31cf14

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22
<h1 align="center">Scripts for using ChatGPT without login</h1>
3-
<img src="https://github.com/mapluisch/ChatGPT-without-login/assets/31780571/2852ec02-9971-409b-8050-0101c9b2e856">
3+
<img src="https://martinpluisch.com/chatgpt-without-login">
44
<p align="center"><em>Example for accessing ChatGPT (3.5) without an account or API access via Python. Only for educational purposes.</em></p>
55
</div>
66
<hr>
@@ -52,7 +52,7 @@ asyncio.run(run_session())
5252
The first prompt of a *new* session always takes a bit longer, as the headless browser has to init. Subsequent prompts are handled as fast as you'd expect it from the typical GPT browser UI.
5353

5454
#### CLI Arguments
55-
You can also chat with GPT using CLI; just call `python3 gpt.py` with the following args:
55+
You can also chat with GPT using CLI; just call `python3 gpt.py` with the following args (all of them are optional):
5656

5757
- `-p`, `--prompt`
5858
- the initial prompt text to send to ChatGPT.
@@ -68,6 +68,12 @@ You can also chat with GPT using CLI; just call `python3 gpt.py` with the follow
6868
- the proxy server to use, e.g., `http://proxyserver:port`.
6969
- **type**: `str`
7070
- **default**: None
71+
72+
- `-st`, `--session-token`
73+
- your `__Secure-next-auth.session-token` in order to use your OpenAI account (i.e. to minimize rate limiting, use 4o, etc.)
74+
- **type**: `str`
75+
- **default**: None
76+
7177

7278
You can start a streaming-based conversation with `python3 gpt.py`.
7379

@@ -125,6 +131,11 @@ You can also chat with GPT using Node CLI; call `node gpt.js` with the following
125131
- the proxy server to use, e.g., `http://proxyserver:port`.
126132
- **type**: `str`
127133
- **default**: None
134+
135+
- `-st`, `--session-token`
136+
- your `__Secure-next-auth.session-token` in order to use your OpenAI account (i.e. to minimize rate limiting, use 4o, etc.)
137+
- **type**: `str`
138+
- **default**: None
128139

129140
You can start a streaming-based conversation with `node gpt.js`.
130141

0 commit comments

Comments
 (0)