Skip to content

langflow-ai/website

Repository files navigation

Langflow Website

The official website for Langflow - a powerful visual tool to build and deploy AI agents and MCP servers with drag-and-drop simplicity.

About Langflow

Langflow is a low-code AI application builder that enables developers to create sophisticated AI workflows, agents, and RAG (Retrieval-Augmented Generation) applications without extensive coding. With support for all major LLMs, vector databases, and a growing library of AI tools, Langflow makes AI development accessible to everyone.

Tech Stack

This website is built with:

  • Next.js 14 - React framework with App Router
  • TypeScript - Type-safe JavaScript
  • Sanity CMS - Headless content management system
  • Styled Components - CSS-in-JS styling
  • Framer Motion - Animation library
  • Bootstrap - UI framework
  • Sass - CSS preprocessor

Getting Started

Prerequisites

  • Node.js 20.x or higher
  • npm, yarn, pnpm, or bun

Installation

  1. Clone the repository:
git clone <repository-url>
cd langflow-website
  1. Install dependencies:
npm install
# or
yarn install
# or
pnpm install
  1. Set up environment variables (if needed):
cp .env.example .env.local
  1. Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
  1. Open http://localhost:3000 in your browser to see the website.

Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run start - Start production server
  • npm run lint - Run ESLint

Project Structure

src/
├── app/              # Next.js App Router pages
├── components/       # React components
├── hooks/           # Custom React hooks
├── lib/             # Utility libraries and configurations
├── styles/          # Global styles and Sass files
└── utils/           # Helper functions

public/
├── images/          # Static images
├── svgs/           # SVG icons
├── brandkit/       # Brand assets
└── ...             # Other static files

Content Management

This website uses Sanity CMS for content management. The CMS integration allows for:

  • Dynamic content updates
  • Blog post management
  • Media asset management
  • Real-time content preview

Key Features

  • Responsive Design - Optimized for all devices
  • Performance Optimized - Built with Next.js for optimal loading speeds
  • SEO Friendly - Proper meta tags and structured data
  • Accessibility - WCAG compliant design
  • Modern Animations - Smooth interactions with Framer Motion

Deployment

The website can be deployed on various platforms:

Vercel (Recommended)

npm run build

Then deploy to Vercel for optimal Next.js hosting.

Other Platforms

The site can also be deployed to:

  • Netlify
  • AWS
  • Google Cloud Platform
  • Any platform supporting Node.js

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Learn More

About

The website for langflow.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5