Vale: An open-source alternative to many leading CMS solutions
Vale is a new alternative to many leading CMS solutions such as WordPress, Ghost, Craft CMS, and Emdash. It provides many features which are otherwise made available via plugins.
As a small startup, we initially used WordPress for MIDILLI website, blog, and e-commerce (with WooCommerce plugin). Later, we needed some more plugins for newsletters, form creation, cookie warnings, and analytics.
As the maintenance work grew and plugin updates were too much to keep track of, we decided to create our own in-house tool for our own needs. Back then the AI was not that good, and almost all core concepts were programmed manually, including CSS. Most importantly the major architectural decisions were human-made.
After two years of development, and with the help of AI recently, we managed to bring almost everything we needed together in a single application that's only around 35 MB in size. Now we are open sourcing it to share with the community.
We also wanted it to be fun to use and fun to develop. Therefore, we created AI skills to ease theme and plugin development, integrate new payment gateways, or connect Vale with your own tools with its API or webhooks.
It just needs:
PHP 8.3+
128 MB+ memory,
SQLite, MySQL, or PostgreSQL
Some decisions we made:
Why build another alternative instead of using Drupal, ExpressionEngine, emdash or XYZ?
That depended on several criteria: we needed something modern, open-source, lightweight and tidy, easy to maintain, fast, and actively developed. Most importantly, it had to include all the features we needed in one unified workflow, with a consistent UI and seamless integration, without workarounds - and without plugin chaos. E-commerce with API and webhook support were also essential.
Why PHP?
Because we wanted it to run on almost every hosting provider, without dedicated infrastructure or cloud services.
Why Slim framework, not Laravel?
We wanted a lightweight base with a minimal footprint.
What can Vale do?
TL;DR
Vale is a self-hosted platform that brings a CMS, e-commerce, newsletters, forms, analytics and more into one application. It's around 35 MB, runs on regular PHP hosting (even with SQLite), and is released under AGPL.
Content and publishing
Blogs, pages with hierarchy, custom content types and customizable Twig templates.
Visual editor powered by Tiptap 3, with Markdown and slash commands.
Block-based dynamic templates, including hero sections, slideshows, embeds and more.
Scheduled publishing, content replacements and campaign scheduling (e.g. for Black Friday).
Multilingual content across the entire platform, including products, forms and media.
Memberships, paywalls, subscriptions, one-time donations.
Media library with WebP conversion and lazy load support.
Content revisions
Real-time collaboration with follow option (requires collaboration server).
Local draft saves in case of browser restarts, network issues etc.
Built-in comment system with spam protection or 3rd party integrations (Disqus, Gisqus, Facebook)
RSS feeds and SEO friendly sitemaps
E-commerce and business
Physical and digital products, coupons and scheduled campaigns
Invoicing and bookkeeping tools with immutable records (e.g., keeping Germany's GoBD in mind).
Abandoned cart recovery, product reviews and verified purchase badges.
Multiple country support: separate shipping, tax, exchange rates
Product feeds to list your items on Google, eBay, Tiktok and others.
Payment integrations: PayPal, Stripe, Mollie, 2Checkout and Checkout.com, Google Pay, Apple Pay and other supported payment methods
Order updates (including shipping) with Gmail integration (one-click follow etc.)
Newsletters
Multiple lists and tag-based subscriptions.
A/B testing, scheduled and recurring campaigns.
Automation workflows and basic segmentation based on subscriber activity and orders.
GDPR tools such as double opt-in and one-click unsubscribe.
SMTP and integrations with Resend, SendGrid and Mailgun using their batch APIs.
Forms
Embedded and standalone forms.
Conditional fields.
Spam protection with honeypot, CAPTCHA options and Cloudflare Turnstile.
External submissions through an API, with automatically generated example code.
User management and security
Granular role-based access control (RBAC).
Optional self-registration.
Email login and SSO (Google, Microsoft, GitHub and others).
Two-factor authentication with optional enforcement.
GDPR tools for data export, deletion and anonymization.
Encrypted secrets and optional customer data encryption.
Cookie-free analytics
Built-in, cookie-free analytics without requiring third-party tracking scripts.
Pageviews, unique visitors, online visitors and traffic trends.
Top pages, referrers and entry/exit page statistics.
UTM campaign tracking with source, medium, campaign, term and content breakdowns.
Browser, device and language statistics.
Customizable dashboard with rearrangeable and resizable cards.
Configurable IP handling, geolocation and data retention.
SEO
Per-content SEO settings for posts, pages and products, including meta titles, descriptions, social previews and canonical URLs.
Automatic structured data (JSON-LD) for articles, products and pages.
Automatic XML sitemap generation.
Automatic 301 redirects when content URLs change, plus manual redirect management.
robots.txt editing and separate controls for search engine and AI crawlers.
Search visibility controls, including noindex and sitemap exclusion.
Development and integrations
AI Skills for coding agents to develop themes and plugins, integrate payment gateways, and connect custom APIs and webhooks.
OpenAPI-based REST API.
Configurable webhooks with selectable events and custom headers.
Vale CLI for terminal operations.
Custom CSS and JavaScript injections.
Built with Domain-Driven Design (DDD) principles and clean architecture in mind.
Performance, privacy, security and infrastructure
Built-in caching and cache warm-up.
Simple installer to turn the features on or off.
Static plugin capability checks: you can see exactly what a plugin can access and do before enabling it. No unexpected permissions or hidden capabilities.
Built-in spam protection with several CAPTCHA options.
Signed updates with automatic backups and rollback, rate limiting and health endpoint.
Encrypted secrets with optional customer data encryption
No mandatory cloud services or external analytics platforms.
Flexible deployment options: simple ZIP upload or Docker, with Nginx/Apache configurations and support for both immutable and mutable deployments.
SQLite (for no DB setups), MySQL, and PostgreSQL supported.
Migration from other CMSes
Importers for WordPress (contents, users, products, media, orders, SEO, multi-language, menus, etc.) and Ghost (content, media, authors).
URL migration using CLI in case your domain changes and images are broken.
Product imports from WooCommerce, eBay, Shopify, Etsy and Amazon, including images where possible.
Admin panel is similar to WordPress, with settings search option.
There's probably much more, but hopefully this gives an overview what the CMS is currently capable of. We basically wanted to have the tools we actually need working together in a unique interface, with security and a small footprint as core principles.
We already use for our company website and also Vale's own website:
Vale Website: https://getvale.org/
Demo: https://getvale.org/try-vale (credentials: admin@getvale.org password: password123 - resets every hour)
Documentation: https://docs.getvale.org/
MIDILLI Tech