Self-host EcomGen
v0.2.0Local-first AI e-commerce image generator for sellers
- Stars
- 216
- Port
- 8787 (API and web UI (API serves the built web frontend))
- Requires
- Redis, SQLite (better-sqlite3)
What is EcomGen?
EcomGen is a local-first AI-powered workbench for individual e-commerce sellers to create complete product image suites. It structures product facts, materials, target markets, and platform requirements into auditable storyboards, then uses a Pi Agent to generate final prompts for image generation providers. The system includes 25 built-in e-commerce templates covering hero, scene, infographic, packaging, comparison, and social media shots, plus over 1,100 reusable suite templates across 24 top-level categories. It supports OpenAI-compatible image APIs and Google Gemini native image generation (Nano Banana), with AI-powered layering that exports individual PNG layers, ZIP archives, and PSD files. The stack runs as three services (Fastify API, BullMQ Worker, React/Vite web UI) backed by Redis and SQLite, deployable via Docker Compose or manual Node.js/pnpm installation. All sensitive data including provider API keys are encrypted at rest. The project is MIT-licensed and actively developed.
Should you self-host EcomGen?
EcomGen scores 42/100 on selfhost.directory (how scoring works) and ranks #7 of 10 in E-commerce. It has 216 GitHub stars.
It shipped 2 stable releases in the past year. The latest, v0.2.0, came out on 4 October 2026.
Setup is advanced: plan for several services and some ongoing maintenance. It is MIT-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is BTCPay Server (76/100, 7 859 stars). It scores higher overall, so compare the two before you pick. See EcomGen vs BTCPay Server side by side.
EcomGen README
More in E-commerce
EverShopSelf-hosted, open-source ecommerce platform in TypeScript with a React storefront, GraphQL and REST APIs, and PostgreSQL. Includes Stripe and PayPal payment gateways.
FoodCoopShopFoodCoopShop is a self-hosted, open-source web app for food co-ops to manage orders, products, and cashless payments with CakePHP/MySQL.
GumroadGumroad's open-source (MIT) e-commerce code for creators selling digital products and subscriptions — self-hosted from source as a Rails app with MySQL and Redis.
HaloSelf-hosted open-source website builder for blogs, knowledge bases, corporate sites, and online stores with plugins, themes, REST API, and multiple databases.
HyperSwitchSelf-hosted, open-source Rust payments orchestrator: one API across Stripe, Adyen, Braintree and 120+ processors, with routing, retries, vault and a control dashboard.
InnoShopInnoShop is a self-hosted, open-source e-commerce system on Laravel 13 with AI/MCP, multi-language/currency, and plugin/theme architecture.
InvoicerrSelf-hosted open-source invoicing for freelancers with quotes, invoices, payments, e-invoicing compliance, client portals, and legal archiving.
Kill BillSelf-hosted, open-source subscription billing engine: catalogs, usage-based pricing, invoices, dunning, tax plugins and payment-gateway plugins for Stripe or Adyen.
MagentoSelf-hosted, open-source PHP ecommerce platform: storefront plus admin for catalog, orders and promotions. Installed with Composer on Linux against MariaDB, OpenSearch.
MicroweberSelf-hosted drag-and-drop website builder and CMS based on Laravel with built-in e-commerce, blog, and content management features.
mkw2Self-hosted 3D printing commerce platform for print labs with storefront, instant quoting, checkout, and production backend integrating inventory and printer management.
MobazhaSelf-hosted open-source P2P commerce platform where sellers own their storefront and data, connecting to shared marketplaces with multi-chain crypto payments.




0 comments