https://github.com/dmihal/sway-gpt
https://github.com/dmihal/sway-gpt
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmihal/sway-gpt
- Owner: dmihal
- Created: 2023-04-23T13:33:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-23T15:19:33.000Z (about 2 years ago)
- Last Synced: 2025-02-04T19:45:30.860Z (4 months ago)
- Language: CSS
- Homepage: https://sway-gpt.vercel.app
- Size: 85 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI writing assistant w/ GPT-3
A project following the instructions of [Buildspace](https://buildspace.so/builds/ai-writer) course.
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
> 🔔 Rename the file `.env.example` to `.env.local`. And then add your own API key from [OpenAI](https://beta.openai.com/account/api-keys).
Then, run the development server:
```bash
yarn dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.