More Premium Hugo Themes Premium Tailwind Themes

Instagraph Nextjs Fastapi

Generate knowledge graphs. Inspired by @yoheinakajima instagraph.ai

Instagraph Nextjs Fastapi

Generate knowledge graphs. Inspired by @yoheinakajima instagraph.ai

Author Avatar Theme by waseemhnyc
Github Stars Github Stars: 132
Last Commit Last Commit: Apr 25, 2025 -
First Commit Created: Aug 27, 2024 -
default image

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

  1. Clone the repository: git clone [repository-url]
  2. Navigate to the project directory: cd project-directory
  3. Install packages: npm install
  4. Set environment variables: Set up required environment variables.
  5. Run Next JS app: npm run dev
  6. 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

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.