◉ Pulse
Wren-CMS avatar
#9 today

Wren-CMS/wren-cms

PHP App

tiny, quick, sings louder than its size suggests.

Created Jul 30, 2026
Stars
24
Today
+24
Forks
0
Quality
90/100
Momentum
20

README

Fetched from GitHub on Nov 18, 2026, 11:24 AM UTC · README.md

View original on GitHub

Third-party content — Open Source Pulse is not the owner of this repository.

This README belongs to Wren-CMS/wren-cms and its contributors. We fetch it directly from the project’s public GitHub repository and display it for reference only. All text, code, images and trademarks remain the property of their respective authors. See the repository for its license terms. Copyright / takedown policy.

Wren CMS

A whole website in one small file.

Wren is a content management system in the spirit of sNews (2004–2016), rebuilt from scratch for the modern web. One PHP file, one SQLite database it creates itself, no framework, no Composer, no build step. Upload it, open it in a browser, and start writing.

Version 1.12.0 "Brunneicapillus" — stable · MIT licence

Website: https://wrencms.com · Documentation: https://github.com/Wren-CMS/wren-cms/wiki

Requirements

  • PHP 8.1 or newer with PDO SQLite — standard on virtually every shared host
  • That's it. No MySQL setup, no command line, no dependencies.

Install

  1. Upload index.php to your web space (a folder of its own is tidiest).
  2. Visit it in a browser.
  3. Fill in the one-minute setup form: site title, username, password.

Wren creates wren.db beside itself and signs you in. Done.

Optional: upload .htaccess too (Apache with mod_rewrite), then switch on Pretty URLs in Settings to get /my-article instead of /?q=my-article. The .htaccess also blocks direct downloads of wren.db — recommended. With pretty URLs on, old /?q= addresses redirect to the clean ones, so each page has a single address search engines can settle on. On hosts without .htaccess support, keep Pretty URLs off and consider moving wren.db out of the web root once you're comfortable editing the WREN_DB constant at the top of the file.

Updating

Replace index.php with the new one and visit your site; any database changes are made automatically on that first visit. Your content, settings, theme and uploads are never touched.

Wren tells you when there's a new version: the admin shows a notice with a link to the download. To do this it asks GitHub for the latest release, at most twice a day and only while you're signed in to the admin, so your visitors are never involved. Settings → Check now checks straight away, and you can switch the checks off there too.

Writing

  • Articles appear on the home page, newest first, and in the RSS feed (/rss).
  • Pages appear in the site menu (order them with menu position, and nest them one level deep with menu parent for dropdown submenus). A menu link with a blank URL becomes a heading-only item for grouping, and any menu link can be set to open in a new tab.
  • Both are written in markdown: **bold**, *italic*, # headings, [links](https://…), ![images](https://…), lists, quotes, and fenced code blocks. Raw HTML passes through untouched — you're the admin, so Wren trusts you.
  • Untick Published to keep something as a draft only you can see. An article is dated the moment it's first published, not when the draft was started.
  • Scheduled articles: set Publish on to a future date and time and the article goes live by itself then, dated to the minute you chose — no cron job needed. Scheduled articles show in the admin list as "Scheduled · 4 Nov 09:00". Times use the Timezone in Settings (Europe/London by default).
  • Hide from search engines: tick it on any page or article that exists only to be landed on, such as a form's thank-you page. Wren adds a noindex tag, leaves it out of sitemap.xml and doesn't ping IndexNow for it. It still works for anyone with the link, and articles stay in the RSS feed.
  • Search engines: set your Site address in Settings and Wren uses it everywhere search engines look (canonical links, sitemap, RSS, robots.txt), sending visitors on www., http or any other address to it, so Google sees one site rather than two. Pages and articles can have their own Search title and Share image; articles carry their date and author for search engines and social networks. Pages such as Thanks or Privacy can be left out of the menu with Show in menu.
  • Images: upload JPG, PNG, GIF or WebP in the admin's Media tab, then click an image's address to copy ready-made markdown into any post.
  • Comments: readers can comment on articles (and pages, if you opt one in); every comment waits in the admin's Comments tab until you approve it. Honeypot and rate-limiting keep casual spam out; each post has its own "Allow comments" switch, plus a site-wide toggle in Settings.
  • Page-first site: in Settings, set Homepage shows to any page and your front page becomes that page; the article list moves to its own menu entry (name and address configurable, "Blog" by default).

Theming

Wren ships with a built-in default theme. To use your own, place a file named theme.html beside index.php — plain HTML with these tags where you want things to appear:

{{site_title}}  {{tagline}}   {{page_title}}  {{menu}}
{{content}}     {{home_url}}  {{rss_url}}     {{year}}  {{generator}}
{{author}}      an article's author, when one is set

Article titles in lists are <h2 class="post-title"> and a single article's is <h1 class="post-title">, so style them with .post-title rather than h1.post-title. A list starts with its own <h1 class="list-title">.

Two more for linking and business details:

{{url:contact}}   the address of the page with that slug
[[phone]]         any business detail saved by a starter pack

That's the entire theming API. A theme is one HTML file a designer can read.

Licensed themes

Themes bought from a Wren Shop can be licensed for one website. A licensed theme carries one comment in its theme.html:

<!-- wren-licensed-theme: aurora from https://wrencms.com/shop/ -->

Enter the licence key under Settings → Theme licence and press Get licence; Wren keeps the licence fresh by itself. A licensed theme without a valid licence still works, but its footer says so. Your own and free themes are never checked, and test addresses (localhost, .test) always pass. Needs PHP's sodium extension. See the wiki.

Starter packs

A starter pack is a ready-made website for a kind of business — a theme, pages, menu, starter articles and settings — in a single .json file. Put packs in a packs folder beside index.php, or upload one under Settings → Starter packs. Installing asks for a few details (business name, town, phone…), writes them into the pages, and can switch the design, set the homepage and remove the sample article. Nothing existing is overwritten: clashing addresses get a -2 suffix and an old theme.html is kept as a dated .bak copy.

The details are also saved as Business details in Settings, so a theme's header and footer stay current when a phone number changes. The pack format is documented in the wiki.

Security notes

  • Optional two-factor authentication: turn it on in Settings and signing in needs a six-digit code from any authenticator app as well as your password. Eight one-time recovery codes cover a lost phone.
  • Passwords are stored with PHP's password_hash (bcrypt/argon2, never plain).
  • Every form is CSRF-protected; every query uses prepared statements.
  • Repeated failed logins are slowed automatically.
  • All reader-facing output of your titles and settings is HTML-escaped.

Roadmap

Search, multiple authors, export. Deliberately not on the roadmap: plugins, page builders, visitor accounts, anything that would mean Wren no longer fits in your head.


Named for the wren: a tiny bird with a very loud song. Built as a tribute to sNews by Luka Cvrk / Solucija, which proved twenty years ago that a CMS could be small enough to read.

Who makes Wren

Wren CMS is developed by Alan Paynter at 49 Systems. Copyright 2026 Forty Nine Systems Ltd, released under the MIT licence: see LICENSE.

Rendered by GitHub from the repository’s README. Scroll to read the full file.

First trending

Jul 30, 2026

first spotted on the list

Best rank

#9

highest position reached

Appearances

2

times on the trending list

Star velocity

0.22

stars per day since creation

Activity — last 60 days

daily counts, collected every 6 hours
  • Stars
  • Forks
  • Merged PRs
  • Issues
  • Closed issues

Collecting activity data since launch — check back in a few days.

Star history

total stars per snapshot
23242526Wren-CMS/wren-cms · Jul 30, 7 PM UTC: 25 starsWren-CMS/wren-cms · Jul 31, 8 AM UTC: 24 stars7 PM2 AM8 AM

Rank history

position on trending · lower is better
#1#8#9#10Jul 30, 7 PM UTC: rank #9Jul 31, 8 AM UTC: rank #97 PM2 AM8 AM

3D card for your website

Live HTML card with a pointer tilt. Paste the iframe on any website.

<iframe src="https://www.notionpulse.cc/embed/Wren-CMS/wren-cms" width="420" height="240" style="border:0;max-width:100%;background:transparent" loading="lazy" title="Wren-CMS/wren-cms — trending on Open Source Pulse"></iframe>

Stars badge

Show current stars in your README or profile. Auto-updates every 6 hours.

Wren-CMS/wren-cms stars badge
Markdown
[![Wren-CMS/wren-cms](https://www.notionpulse.cc/api/badge/Wren-CMS/wren-cms.svg)](https://www.notionpulse.cc/repo/Wren-CMS/wren-cms)
HTML
<a href="https://www.notionpulse.cc/repo/Wren-CMS/wren-cms"><img src="https://www.notionpulse.cc/api/badge/Wren-CMS/wren-cms.svg" alt="Wren-CMS/wren-cms stars badge" /></a>

Repository of the Day

#9 Repository of the Day

Repository of the Week

#9 Repository of the Week

Repository of the Month

#9 Repository of the Month