https://github.com/evanlong0803/three-questions-ai
You can do this by pressing three question marks in quick succession and it will automatically continue writing for you with no extra operations.
https://github.com/evanlong0803/three-questions-ai
ai auto-complete
Last synced: over 1 year ago
JSON representation
You can do this by pressing three question marks in quick succession and it will automatically continue writing for you with no extra operations.
- Host: GitHub
- URL: https://github.com/evanlong0803/three-questions-ai
- Owner: evanlong0803
- Created: 2023-08-19T17:58:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-21T05:54:12.000Z (almost 3 years ago)
- Last Synced: 2025-01-22T10:36:28.773Z (over 1 year ago)
- Topics: ai, auto-complete
- Language: TypeScript
- Homepage: https://three-questions-ai.vercel.app
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Three Questions AI
You can do this by pressing three question marks in quick succession and it will automatically continue writing for you with no extra operations.
## Features
This project utilizes the following technologies and libraries:
- [React](https://reactjs.org/) - A JavaScript library for building user interfaces.
- [Vite](https://vitejs.dev/) - A fast build tool for modern web development.
- [Tailwind CSS](https://tailwindcss.com/) - A utility-first CSS framework for rapid UI development.
- [OpenAI API](https://beta.openai.com/) - A powerful API for natural language processing.
- [Shadcn UI](https://shadcn.com/) - A collection of beautiful, accessible, and dark mode-compatible UI components.
- [Radix UI](https://radix-ui.com/) - A set of UI primitives for building high-quality, accessible UI components.
## Installation
1. Clone the repository to your local machine:
```bash
git clone https://github.com/evanlong0926/three-questions-ai.git
```
2. Navigate to the project directory:
```bash
cd three-questions-ai
```
3. Install the required dependencies:
```bash
pnpm install
```
## Usage
Obtain an API key from OpenAI and add it to the project. You can add your API key in the following location:
```ts
// src/components/Home.tsx
const openaiKey = 'YOUR_OPENAI_API_KEY';
```
1. Run the development server:
```bash
npm start
```
2. Open your browser and visit `http://localhost:3000` to interact with the AI Dropdown Menu.
3. To wake up the AI, type `/` in the text area. The dropdown menu will provide options for AI-generated thoughts and continuing your writing.
## Contributing
We welcome contributions from the community! If you'd like to contribute to the project, please follow these steps:
1. Fork the repository to your GitHub account.
2. Create a new branch for your feature or bug fix:
```bash
git checkout -b feature/your-feature-name
```
3. Make your changes and ensure they are properly tested.
Commit your changes and push them to your forked repository:
```bash
git commit -m "Add your commit message"
git push origin feature/your-feature-name
```
4. Create a pull request from your branch to the main repository.
5. Our team will review your pull request and provide feedback.