# chart-gpt
**Repository Path**: liu-yong-123/chart-gpt
## Basic Information
- **Project Name**: chart-gpt
- **Description**: Chart-GPT 是一个基于文本输入构建图表的 AI 工具,可在几秒钟内将文本转换为漂亮的图表
- **Primary Language**: JavaScript
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: https://www.oschina.net/p/chart-gpt
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 3
- **Created**: 2024-03-25
- **Last Updated**: 2024-03-25
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Chart-GPT - text to beautiful charts within seconds
## Getting Started
To get started, first clone this repository:
```
git clone https://github.com/whoiskatrin/chart-gpt.git
cd chart-gpt
```
Then duplicate the `.env.example` template with `cp .env.example .env` and add your PaLM API key:
```
BARD_KEY="your-api-key"
```
Then install the dependencies and start the development server:
```
npm install
npm run dev
# or
yarn
yarn dev
```
This will start the development server at http://localhost:3000.
To use the full functionality of the credit system as well, you'll need to setup Supabase, Stripe, and NextAuth with Google — and their respective environment variables found in the `.env.example` file.
## Contributing
If you would like to contribute to this project, please follow these steps:
1. Fork this repository.
2. Clone your forked repository:
3. For your changes:
4. Make your changes, commit them, and push them to your forked repository:
5. Create a pull request on this repository.