Sign inSign up

hamatim/n8n-python

By hamatim

Updated 10 months ago

n8n + python 3 + FFmpeg + MoviePy + Core Fonts

Image
Integration & delivery
Developer tools
0

147

hamatim/n8n-python repository overview

💡 Custom n8n Image with Python, FFmpeg, and MoviePy

Overview

This Docker image is built upon the official n8n image (n8nio/n8n:latest), but is specially customized to support media processing tasks and complex automation scenarios that require Python.

This version includes the following essential additions:

  • Python 3
  • FFmpeg: A powerful multimedia framework for handling video and audio.
  • MoviePy: A Python library for video editing (built on top of FFmpeg and Pillow).
  • Core Fonts: Essential fonts have been added (including arial.ttf) to ensure stable text rendering in video/image creation and editing tasks.

All Python packages are installed within a Virtual Environment (VENV) to keep the image clean and avoid library conflicts.

Run custom python script with command node + file read/write node provided by n8n

🌟 Key Features
  • Integrated Media Processing: Allows n8n workflows to perform video/audio tasks (cutting, merging, format conversion, watermarking) without relying on external cloud services.
  • Advanced Python Support: You can easily use n8n's Code Nodes to run Python scripts, leveraging the power of moviepy or other libraries (if installed) for data processing.
  • Security: The image maintains n8n's safe User (node). System package installation is performed temporarily under the root user, then immediately reverts to the default node user.
🛠️ Configuration and Usage
Pull the Image
docker pull hamatim/n8n-python:latest

Tag summary

Content type

Image

Digest

sha256:3eccd5a89

Size

397.4 MB

Last updated

10 months ago

docker pull hamatim/n8n-python:1.0