A real-time chat application integrated with N8N workflows for automated responses and processing.
- Real-time chat interface
- N8N workflow integration
- Message history persistence
- Mobile-responsive design
- Dark/light mode support
- Code syntax highlighting with copy and playground integration
- Markdown support
- Image upload and preview
- Configurable site title, welcome message, and assistant name
- Node.js & npm – Install using nvm
- N8N Instance - You'll need access to an N8N instance with a webhook endpoint
Create a .env file in the root directory with the following variables:
# Required
VITE_N8N_WEBHOOK_URL=your_n8n_webhook_url
VITE_N8N_WEBHOOK_USERNAME=your_webhook_username
VITE_N8N_WEBHOOK_SECRET=your_webhook_secret
# Optional
VITE_WELCOME_MESSAGE="Welcome message for your chat"
VITE_SITE_TITLE="Your Site Title"
VITE_ASSISTANT_NAME="Your Assistant Name" # Defaults to "Talkflow" if not set# Clone the repository
git clone https://github.com/jimmartinquisitive/talkflow-n8n.git
# Navigate to project directory
cd talkflow-n8n
# Install dependencies
npm install
# Start the development server
npm run dev# Create production build
npm run build
# Preview production build
npm run preview- Using Docker Run:
docker run -d -p 8009:80 \
-e VITE_N8N_WEBHOOK_URL="your_n8n_webhook_url" \
-e VITE_N8N_WEBHOOK_USERNAME="your_username" \
-e VITE_N8N_WEBHOOK_SECRET="your_secret" \
-e VITE_WELCOME_MESSAGE="Your welcome message" \
-e VITE_SITE_TITLE="Your Site Title" \
-e VITE_ASSISTANT_NAME="Your Assistant Name" \
jimmartinquis/n8n-chatui:latest- Using Docker Compose:
- Update the environment variables in your
docker-compose.yml - Run:
- Update the environment variables in your
docker-compose up -dsrc/
├── components/ # Reusable UI components
├── hooks/ # Custom React hooks
├── pages/ # Route components
├── types/ # TypeScript definitions
└── utils/ # Helper functions
- Fork the repository
- Create a feature branch (
git checkout -b feature-branch) - Commit your changes (
git commit -m "Added new feature") - Push to GitHub (
git push origin feature-branch) - Open a Pull Request
This project is open-source and available under the MIT License.