https://github.com/linqlover/squeak-gpt
A custom GPT that talks to your Squeak image.
https://github.com/linqlover/squeak-gpt
chatgpt custom-gpt gpt smalltalk squeak
Last synced: about 1 month ago
JSON representation
A custom GPT that talks to your Squeak image.
- Host: GitHub
- URL: https://github.com/linqlover/squeak-gpt
- Owner: LinqLover
- License: other
- Created: 2024-11-17T01:46:25.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-03T04:03:13.000Z (4 months ago)
- Last Synced: 2025-01-18T01:25:44.308Z (3 months ago)
- Topics: chatgpt, custom-gpt, gpt, smalltalk, squeak
- Language: Smalltalk
- Homepage:
- Size: 72.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SqueakGPT
A custom GPT for ChatGPT that talks to your Squeak image.
## Setup
### Server
- Get a recent Squeak image and check out the `SqueakWorkspaceServer` package using the Git Browser.
- Start the server:```smalltalk
server := SqueakWorkspaceServer new.
server startOn: 8080.
"server stop."
```
- If you do not want to expose your own port, you can use any kind of tunnel. For example, I used [`cloudflared`](https://github.com/cloudflare/cloudflared):```bash
cloudflared tunnel --url http://localhost:8080
```
If you use a tunnel, you must specify the public tunnel URL to the server:
```smalltalk
server tunnelServerUrl: 'https://your-unique-tunnel-name.trycloudflare.com'.
```
> [!WARNING]
> Remember that everybody who has access to your server can execute arbitrary code on your machine! Consider using strong authentication or keep the URL private.### ChatGPT
- Create a [new custom GPT](https://chatgpt.com/gpts/editor) and configure it based on [`gpt.yaml`](./gpt.yaml).
- Replace `` by your actual server (or tunnel) URL.
- Save the GPT (but beware of making it public or sharing it with others because it exposes remote access to your local machine!) and enjoy!## Impressions
You can read an example conversation here:


## Development
### ChatGPT
Chat mode of GPT Builder is very tedious. It is helpful for bootstrapping the instructions but often did a bad job for me at maintaining prior instructions. Be sure to review all changes with version control. Also, the instruction text is currently limited to 8000 characters. In the future, we should extract many best practices into a queryable knowledge base/memory.
## See Also
If you want to use ChatGPT through the OpenAI API in Squeak instead, also check out [SemanticText](https://github.com/hpi-swa-lab/Squeak-SemanticText).