https://github.com/svaveop/aichat
Two AIs: Vixby, which guesses your responses without using AI, and a regular ChatGPT via API.
https://github.com/svaveop/aichat
ai chatbot chatgpt css html javsascript js vixby
Last synced: 3 months ago
JSON representation
Two AIs: Vixby, which guesses your responses without using AI, and a regular ChatGPT via API.
- Host: GitHub
- URL: https://github.com/svaveop/aichat
- Owner: Svaveop
- License: mit
- Created: 2025-08-17T18:06:44.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-08-17T18:40:55.000Z (5 months ago)
- Last Synced: 2025-08-17T20:22:33.602Z (5 months ago)
- Topics: ai, chatbot, chatgpt, css, html, javsascript, js, vixby
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AIChat
AIChat lets you interact with two AI personalities:
- **Vixby** - guesses your responses without using AI.
- **ChatGPT** - uses AI via OpenRouter API to give intelligent replies.
---
## Setup of ChatGPT
1. Get your **OpenRouter API key** by signing up at [OpenRouter](https://openrouter.ai).
2. Choose the **model name** you want to use (e.g., `gpt-4o-mini`).
3. Open `gpt.js` and go to **lines 33–34**:
```javascript
const apiKey = 'API here';
const response = await fetch("Model name", {
// ...
});
```
4. Replace 'API here' with your API key and "Model name" with your chosen model.
5. Save the file. Run the project - ChatGPT will now respond using your key.
## Run
- **Node.js:**
```bash
node gpt.js
```
- **Browser:**
Open index.html in your browser. Make sure your API key and model are set in gpt.js before running.
## Videos & Photos
https://portfolio.am.tumo.world/project/68781d73bde84ac72aa7253e
## License
This project is licensed under the MIT License.