All Projects → librarianphp → librarian

librarianphp / librarian

Licence: MIT license
A minimalist file-based CMS / markdown document indexer created on top of minicli/minicli. No databases, no sessions, no users.

Programming Languages

CSS
56736 projects
PHP
23972 projects - #3 most used programming language
Twig
543 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to librarian

awesome-dev.to
[UNMAINTAINED] A collection of awesome blog series on DEV.to
Stars: ✭ 18 (-75.34%)
Mutual labels:  devto
banner-generator
💬 Easily generate banners for your articles on dev.to
Stars: ✭ 55 (-24.66%)
Mutual labels:  devto
year-in-dev
A web tool tool that displays a summary of your DEV.to blog's stats!
Stars: ✭ 22 (-69.86%)
Mutual labels:  devto
gatsby-starter-devto
A GatsbyJS starter template that leverages the Dev.to API
Stars: ✭ 13 (-82.19%)
Mutual labels:  devto
hackertab.dev
Hackertab turns your New Tab page into a geeky one that keeps you as a developer updated with the best tools, news, jobs and events.
Stars: ✭ 229 (+213.7%)
Mutual labels:  devto
dev-to-posts
Repositório com as postagens que estão no dev.to/aigirls
Stars: ✭ 16 (-78.08%)
Mutual labels:  devto
sokoban-action
Sokoban game using GitHub Actions 🤖
Stars: ✭ 26 (-64.38%)
Mutual labels:  devto
myPortfolio
This is a portfolio application built by using Next.js, ChakraUi, Typescript and Dev.to api.
Stars: ✭ 127 (+73.97%)
Mutual labels:  devto

Librarian

Librarian is a stateless CMS based on static files. 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.

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.

This is an experimental project built to keep content decoupled from the application itself, while keeping a very low footprint and functioning as a middle ground between static sites and dynamic CMSs.

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
twitter {% twitter tweet_id %} embeds a Tweet
youtube {% youtube video_ID %} embeds a YouTube video
github {% github file_url %} embeds File from Github (Gists aren't supported at the moment)

Librarian is not a static site generator, and the idea is to provide a mix of static files and dynamic capabilities that don't require sessions or databases.

Using the included Docker Compose setup

The latest Librarian version includes a built-in Docker + Docker Compose setup.

Once the files are in place, you can get the environment up and running with:

docker-compose up -d

This will run the containers in background.

To execute commands such as composer install, run:

docker-compose exec app composer install

Running NPM:

docker-compose exec app npm install

Compiling css assets:

docker-compose exec app npm run dev

Stopping the environment:

docker-compose stop

Re-starting the environment:

docker-compose start

Destroying the environment:

docker-compose down

Documentation

The official documentation is available at https://librarianphp.dev. It is by no means complete, more content will be added as soon as possible. You can contribute to Librarian's documentation via GitHub.

Projects Using Librarian

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].