2024-03-19
Sanity.io

Quest for a CMS in 2018 : Sanity.io

https://sylvainleroy.com/wp-admin/options-general.php?page=ad-inserter.php#tab-2

Last year, I was looking for a to replace Hexo.io.
Hexo.io served me well but I was frustrated to not be able to write posts in public transports and get the correct SEO.

I wrote my quest to find the appropriate that I was expecting to find, thinking since 2012, the offer may have evolved: **I have been disappointed**

This article is presenting a new solution which was recommended to me by Magnus Hillestad:

It is not an endorsed article. I think it would be interesting to share my impressions about this as well.

Contents

The context

Static generators are great: highly optimized pages, blazing fast.

But they have a major drawback, the editing functionality. Sure it’s fun to edit a page using your favorite editor.

But remember :

You have to set up a full CI/CD integration system between your file editor and the of the site.

How will you edit the file from GIT using your phone? And then push it.

You will often write when you have spare time, anywhere and probably in BUS / METRO / TRAMWAY.

Therefore I believe Headless CMS is the new generation for and I am awaiting really amazing solutions ( I have previously reviewed DirectusGhost, CockpitCMS)

Sanity.io

Sanity.io is an open-source project backed by a company (called SANITY) and comes from Norway.

The origin of the project is a CMS / Authoring extension from a bigger project created inside the company BENGLER.

The SANITY became a spin-off project from BENGLER and soon enough reach the MVP status by hosting a famous blog.

The first public launch has been in November 2017.

Architecture

sanity.io architecture

Features I am expecting

  • a REST backend
  • Documented RESTFul Apis
  • a database driver compatible NoSQL
  • a bundled Admin UI accessing by an API to the REST Backend
  • a docker image or docker-compose
  • possibility to add custom fields
  • possibility to markdown format for the edition
  • Cloud FS Storage for my medias
  • Optimized solution: I don’t want a new WordPress installation
  • solution: I want a lightweight solution
  • Self-hosted solution: I want to deploy it on Google Cloud.

How to Install :

According to the site, you are starting with the command :

npm install -g @sanity/cli && san

sanity / start
sanity/start

The NPM Installer is requiring you to create an account on Sanity.io using Github or Google.

I picked Github:

sanity / github login
sanity / GitHub login
sanity / github login failed
sanity / GitHub login failed

On my first attempt, I wasn’t lucky and the Github authentication failed.!

Links

 

Sylvain Leroy

Senior Software Quality Manager and Solution Architect in Switzerland, I have previously created my own company, Tocea, in Software Quality Assurance. Now I am offering my knowledge and services in a small IT Consulting company : Byoskill and a website www.byoskill.com Currently living in Lausanne (CH)

View all posts by Sylvain Leroy →