Overview
InstaGraph is a project inspired by Yohei Nakajima’s Instagraph, designed to leverage modern frontend technologies like NextJS, Tailwind CSS, and Shadcn to create a fast and efficient platform. The project utilizes FastAPI for building robust backends to support AI products, emphasizing the importance of LLMs, streaming, and server-sent endpoints.
Features
- Modern Frontend Technologies: Utilizes NextJS and Tailwind CSS for fast and responsive frontend development.
- FastAPI Backend: Employs FastAPI to create powerful backend systems to support AI products.
- Web Interface: User-friendly interface for inputting text and receiving AI-generated outputs.
- MIT License: Open-source project with the MIT License for transparency and collaboration.
Installation
- Clone the repository:
git clone [repository-url]
- Navigate to the project directory:
cd project-directory
- Install packages:
npm install
- Set environment variables: Set up required environment variables.
- Run Next JS app:
npm run dev
- Set up backend:
- Move into the api directory:
cd api
- Create a virtual environment and activate it:
python -m venv venv && source venv/bin/activate
- Install necessary libraries:
pip install -r requirements.txt
- Create a .env file and add your OpenAI API Key
- Run the local server:
python main.py
- Move into the api directory:
Summary
InstaGraph is a project that combines the power of NextJS, Tailwind CSS, FastAPI, and AI technologies to create a seamless platform for generating AI-powered outputs. With a focus on simplicity and efficiency, InstaGraph offers a user-friendly web interface and a robust backend system to support AI products. Follow the installation guide to set up InstaGraph and experience the magic of AI generation.