SkillAgentSearch skills...

Librarian

A static site generator and markdown indexer inspired by Hugo and DEV, written in PHP

Install / Use

/learn @librarianphp/Librarian
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <img src="https://github.com/librarianphp/librarian/raw/main/art/logo.png" alt="Librarian" width="400"/> <h1>Librarian</h1> <h4>Static site builder and Markdown document indexer inspired by Hugo but written in PHP.</h4> </div> <p align="center"> <a href="https://packagist.org/packages/librarianphp/librarian"><img src="https://img.shields.io/packagist/v/librarianphp/librarian.svg?style=flat-square" alt="Packagist"></a> <a href="https://packagist.org/packages/librarianphp/librarian"><img src="https://img.shields.io/packagist/php-v/librarianphp/librarian.svg?style=flat-square" alt="PHP from Packagist"></a> <a href="https://github.com/librarianphp/librarian/actions"><img alt="GitHub Workflow Status (main)" src="https://img.shields.io/github/actions/workflow/status/librarianphp/librarian/php.yml?branch=main&label=Tests"> </a> </p>

About

Librarian is a static site builder and Markdown document indexer inspired by Hugo but written in PHP. It uses the same format as DEV.to for markdown files with a front matter and liquid tags for custom functionality. The front matter is fluid and doesn't have a fixed spec, meaning you can include any custom fields you want and fetch them from your templates.

---
title: This Is My About Page
published: true
created_at: 2023-04-01
description: Hey there! I'm Librarian, a small file-based CMS and static site generator created in PHP, on top of Minicli.
cover_image: https://picsum.photos/780/300?r=8
---

Hey there! I'm Librarian, a small file-based CMS and static site generator created in PHP, on top of Minicli. I don't use a database, I don't have a control panel, or users. Everything is pulled from static content in my content dir.
...

Librarian default index page screenshot

Librarian doesn't use databases, sessions, or users. Administration is made from the command-line. For multiple authors, author information must be defined as metadata within the front matter.

Liquid tags supported at the moment:

| Tag | Example | Description | |-----|---------|-------------| | audio | {% audio path_to_mp3.mp3 %} | embeds mp3 audio | | video | {% video path_to_mp4.mp4 %} | embeds mp4 video | | youtube | {% youtube video_ID %} | embeds a YouTube video | | github | {% github file_url %} | embeds File from Github (Gists aren't supported at the moment) |

Check the doc page on how to create your own custom liquid tags.

Documentation

The official documentation is available at https://librarianphp.dev. You can contribute to Librarian's documentation via GitHub.

Projects Using Librarian

  • OnLinux Systems - A blog about Linux, with tutorials and hardware reviews.
  • sponsoropensource.dev - A list of underrepresented open source creators that can be sponsored via GitHub Sponsors.
  • Librarian Documentation - The official Librarian documentation, built with Librarian.
  • Your project! Send a PR :)

Contributing

Check the Contributing Guide.

View on GitHub
GitHub Stars144
CategoryDevelopment
Updated1mo ago
Forks12

Languages

CSS

Security Score

100/100

Audited on Feb 26, 2026

No findings