# smart-excel-ai **Repository Path**: pplus_open_source/smart-excel-ai ## Basic Information - **Project Name**: smart-excel-ai - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-18 - **Last Updated**: 2024-03-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 🌍 *[English](README.md) ∙ [简体中文](README-zh.md)* # [SmartExcel.cc](https://www.smartExcel.cc/) Generate the Excel formulas you need in seconds using AI. [![Generate the Excel formulas](./public/screenshot.png)](https://www.smartExcel.cc/) ## How it works This project uses the [ChatGPT API](https://openai.com/api/) and the [Vercel AI SDK](https://sdk.vercel.ai/docs) with streaming. It constructs a prompt based on the form and user input, sends it to the ChatGPT API with a Vercel Edge Function, then streams the response back to the application UI. ## Stack SmartExcel is built on the following stack: - Next.js – Frontend/Backend - TailwindCSS – Styles - Postgres and Prisma - database and storage([How to use?](https://weijunext.com/article/061d8cd9-fcf3-4d9e-bd33-e257bc4f9989)) - Next-auth - Authentication([How to use?](https://weijunext.com/article/061d8cd9-fcf3-4d9e-bd33-e257bc4f9989)) - ChatGPT - Generate the Excel formulas - Upstash - Redis([How to use?](https://weijunext.com/article/6510121c-90da-4d20-85a1-72cbbdb3983b)) - Lemon Squeezy - payments([How to use?](https://weijunext.com/article/integrate-lemonsqueezy-api)) - Google Analytics - Analytics([How to use?](https://weijunext.com/article/979b9033-188c-4d88-bfff-6cf74d28420d)) - Docker - Development Storage([How to use?](https://weijunext.com/article/b33a5545-fd26-47a6-8641-3c7467fb3910)) - Vercel - Hosting If you are unfamiliar with some of the tech stacks, please click on the "How to use" links above to read my Chinese blog, or visit my another public repo - [Learn Next.js Stack](https://github.com/weijunext/nextjs-learn-demos) ## Running Locally After cloning the repo, you need to copy the `.env.example` file to create a `.env` file and fill in the required fields. Open [Upstash](https://upstash.com/) and Create Redis application. Then write `UPSTASH_REDIS_REST_URL` and `UPSTASH_REDIS_REST_TOKEN` to `.env`. Then, run the application in the command line and it will be available at `http://localhost:3000`. ```bash pnpm i pnpm run dev ``` ## One-Click Deploy Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=vercel-examples): [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/weijunext/smart-excel-ai&project-name=&repository-name=smart-excel-ai&demo-title=SmartExcel&demo-description=Generate%20the%20Excel%20formulas%20you%20need%20in%20seconds%20using%20AI.&demo-url=https://smartexcel.cc&demo-image=https://smartexcel.cc/opengraph-image.png) ## About Me I am a **Front-End Engineer**, a **Full-Stack Practitioner**, and an advocate of **AI adventism**. [My Blog](https://weijunext.com) [Github](https://github.com/weijunext) [Twitter / X](https://twitter.com/weijunext) [Medium](https://medium.com/@weijunext) [掘金](https://juejin.cn/user/26044008768029) [知乎](https://www.zhihu.com/people/mo-mo-mo-89-12-11) [微信交流群](https://weijunext.com/make-a-friend) If this project is helpful to you, buy be a coffee. Buy Me A Coffee ## Star History ![Star History Chart](https://api.star-history.com/svg?repos=weijunext/smart-excel-ai&type=Date)