Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rapidpages/rapidpages
Generate React and Tailwind components using AI
https://github.com/rapidpages/rapidpages
ai openai react tailwind ui
Last synced: 29 days ago
JSON representation
Generate React and Tailwind components using AI
- Host: GitHub
- URL: https://github.com/rapidpages/rapidpages
- Owner: rapidpages
- License: mit
- Created: 2023-09-22T00:22:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-29T12:29:15.000Z (6 months ago)
- Last Synced: 2024-09-30T18:23:52.043Z (about 1 month ago)
- Topics: ai, openai, react, tailwind, ui
- Language: TypeScript
- Homepage: https://www.rapidpages.com
- Size: 727 KB
- Stars: 1,131
- Watchers: 13
- Forks: 86
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Rapidpages
Rapidpages is a prompt-first IDE for building great-looking pages. You simply describe the UI you desire and it will generate the code for that component using the technologies that are familiar to you (currently only React+Tailwind are supported).
https://github.com/rapidpages/rapidpages/assets/1308560/a7505448-bc0d-4035-9cff-39e8df5ecac9
## Get Started
[![Lint](https://github.com/rapidpages/rapidpages/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/rapidpages/rapidpages/actions/workflows/lint.yml)
### Run Rapidpages locally
```bash
git clone https://github.com/rapidpages/rapidpages.git && cd rapidpages
```Edit the `.env.example` file to ensure the following values are set:
- `GITHUB_CLIENT_SECRET` & `GITHUB_CLIENT_ID`: you need to [create a GitHub oauth application](https://github.com/settings/applications/new) to be able to login. For `localhost` use `http://localhost:3000` and `http://localhost:3000/api/auth/callback/github` for Homepage and Authorization callback URL.
- `OPENAI_API_KEY`: you need to get a key from [OpenAI](https://platform.openai.com/)#### Run Rapidpages on Host
Create the database & run the application
```bash
npm run db:push
npm run dev
```#### Run Rapidpages on Docker
```bash
docker compose up -d
docker compose exec rapidpages npm run db:push
```### Run Rapidpages Cloud
You can start using [Rapidpages](https://www.rapidpages.com) today on the cloud for free. If you run out of credits, feel free to ping us on [discord](https://discord.gg/W6jYq46Frd).
## Known Limitations
Currently, the components are generated in one shot. In the future, this task will be broken down into multiple steps such as dependency retrieval and icon generation. This multi-step process will allow the creation of more complicated ui elements.
## License
See the [LICENSE](LICENSE) file for more information.