Vous consultez actuellement le France version du site.
Voulez-vous passer à votre site local ?
15 TEMPS DE LECTURE MIN

PUBLII

Quick and easy website creation with Publii

Nick Baird guides you through the creation and deployment of a static website without touching a single line of code.

Credit: https://getpublii.com

OUR EXPERT

Nick Baird has been using Linux since kernel 2.2. He recently abandoned Kubuntu for Manjaro as his main desktop because life is too short for Firefox snap cold-start times.

W ordPress-style database-driven CMSes are huge overkill for a lot of websites, particularly if you are serving up the same content to all of your visitors, and only updating the site every day or two. But suppose there was an alternative that provided an easy way to create theme-able, attractive websites for uploading to a web server? Well, there is, using a static site generator. We covered these before in LXF282, but the options reviewed required the use of the command line and/or markdown language to create the website. Today we are taking a look at another option that operates entirely from a GUI and has a full WYSIWYG mode, allowing a website to be created with the same ease as with WordPress Publii.

Publii is free to download, fully open source under the GPL v3.0 licence and bills itself as a “static site CMS”, providing most of the benefits of a dynamic CMS but without the server overhead and security risks. Downloads are available for Linux, Mac OS and Win64, and it runs locally on your PC to create the site before uploading to your web server. Publii generates responsive web pages that work on large desktop monitors down to small phone screens, supports accelerated mobile pages (AMP) for fast mobile browsing and provides tools for search engine optimisation (SEO). Because it generates static pages, your website will have decent performance on a lowend package from one of the many available hosting companies, or even self-hosted on a Raspberry Pi under your desk at home.

The Publii welcome page. Enter names for the website and the author, then click Create Website to get started.

So, let’s dive in and create our first Publii website. Head to https://getpublii.comand click Download, where Linux users will find DEB, RPM and AppImage options. Publii is also available in the Arch User Repository (AUR) for users of Arch Linux and derivatives such as Manjaro. In Ubuntu, clicking on the downloaded publii.deb file will offer to install it via the GUI, but the standard command line install option applies:

Once installed, click on the Publii icon to start the app and you will see a welcome page inviting you to enter a name and author for the site, select an icon to associate with it (the icon doesn’t appear on the published website – it’s just to help manage multiple sites in the app), and click Create Website.

Débloquez cet article et bien plus encore avec
Vous pouvez en profiter :
Découvrez l'intégralité de cette édition
Accès instantané à plus de 600 titres
Des milliers d'anciens numéros
Pas de contrat ni d'engagement
Essayer pour €1.09
S'ABONNER
30 jours d'accès, puis seulement €11,99 / mois. Résiliation à tout moment. Nouveaux abonnés uniquement.


En savoir plus
Pocketmags Plus
Pocketmags Plus

Cet article est tiré de...


View Issues
Linux Format
December 2022
VOIR EN MAGASIN

Autres articles dans ce numéro


WELCOME
Keeping it personal
What do you do when the developer of
REGULARS AT A GLANCE
Copilot challenged over fair use stance
Microsoft’s Copilot raids open source code for its AI.
Who pays for H.264?
Confusion over the H.264 patents causes distros to drop support.
Ad-blocking to get harder
Chrome’s shift to Manifest V3 extensions looms.
SERVER SECURITY
Keith Edmunds is MD of Tiger Computing, which
WESTON FRONT
Marius Vlad is a senior software engineer at
Say hello to Ubuntu Pro
Canonical spins a Pro version out of its Advantage support.
Ancient history slows AMD
Twenty-year-old sticking plaster proves a hindrance.
Blender to get Wayland added in 3.4
Native support to be added in 3.4.
Distro watch
What’s behind the free software sofa?
END OF THE LINE!
Donnie Berkholz is senior vice president, product, at
BYE, 486!
Jon Masters is a kernel hacker who’s been
Kernel Watch
Jon Masters keeps an eye out for all the latest happenings in the Linux kernel, so you don’t have to.
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to answers@linuxformat.com
Mailserver
WRITE TO US Do you have a burning
Automatically provision devices with Ansible
Embrace laziness with Matthew Holder and auto-configure your systems by installing packages and adding files with Ansible.
HotPicks
THE BEST NEW OPEN SOURCE SOFTWARE ON THE PLANET
ESCAPE WINDOWS
Don’t get trapped by security modules, hardware and memory demands, or privacy concerns – we have the escape route: Linux!
LINUX FORMAT
The #1 open source mag
REVIEWS
Intel Arc A750
Intel’s affordable Arc GPU is pretty competitive, thinks Jacob Ridley.
Ubuntu 22.10
Michael Reed examines the latest Ubuntu release and finds that it’s a solid offering but unlikely to get your heart racing.
Crux 3.7
Michael Reed examines a Linux distro that caters for experts as well as intermediate users who want to improve their Linux skills.
The Excavation of Hob’s Barrow
The Management loves digging up dirt, especially on Ian Evenden.
Raspberry Pi OS 09.22
Les Pounder explores the latest Raspberry Pi OS in a decade of releases that saw it become the gold standard for single-board computer OSes.
Pimoroni Tufty 2040
Make a full-colour badge or display live sensor data, using an RP2040 chip. Les Pounder mulls the possibilities.
ROUNDUP
Vector drawing apps
Whether for works of art, accurate diagrams or informative charts, Michael Reed finds that each of these five applications has its strengths.
Illustration creation
Features that are mostly relevant to artists and illustrators.
Charts and diagrams
Specialised tools for easily made professional-looking diagrams.
User interface and experience
Looking for efficiency and intuitiveness.
Documentation and online help
Top-notch features are little use if you can’t figure out how to use them.
Extensions and plugins
Sometimes they get you past a brick wall; sometimes they add finesse.
Text handling
A picture paints a thousand words, but words can enhance a drawing.
Other features
Does an application have a worthwhile extra that others lack?
The Verdict
Vector drawing applications
PROTECT YOUR PRIVACY
In a world where the concept of online privacy is an afterthought at best, David Rutland looks at the hazards of the digital landscape and what you can do to protect yourself.
The end of ad-blockers
Manifest V3 will cripple or kill ad-blockers for Chrome, Edge, Opera and more. Why would Google do that?
Firefox extensions
Let’s defend our browsing with some pointy plugins that’ll keep the wolves at bay.
Peeling open Tor 12
We might not be in a position to share state secrets with foreign governments, but if we were, we’d use the Tor Browser.
Pi USER
DeepMind partners with the Pi Foundation
Old McDonald had a Pi, AI, AI, oh. And with that Pi he did machine learning, AI, AI, oooooh…
Gender balance in IT
Encouraging more women to study computing.
Arduino to Pi GPIO comms using Python
Like a snake charmer, Les Pounder uses his skills to persuade an Arduino to talk to a Raspberry Pi via Python.
Make a model train scale-speed monitor
Sean Conway feels the need for scale-model speed! So, he prototypes a Raspberry Pi-based measuring device with a few basic sensors.
IN DEPTH
3D PRINT EVOLUTION
From dinosaurs to biotech, Alastair Jennings takes a look at where 3D printing has been and what the future holds.
TUTORIALS
Terminal screencasting
Desperate to show off his terminal prowess, Shashank Sharma puts on his best Darth Vader voice and screencasts to the world live!
Turbo charging your desktop search
Nick Peers discovers how to configure the Cerebro search tool so it meets its promise of being a “productivity booster with a brain”.
A floppy-drive sized assembly based OS
Stepping out of his comfort zone, Michael Reed explores MenuetOS and its fork KolibriOS, two highly unusual operating systems.
Data recovery and secure deletion
Mike Bedford investigates recovering files from damaged disks and how to make sure that what you delete is gone for good.
TOP OF THE FOSS!
Kinetic Kudu emerges from the bush
Nick Peers reveals how to upgrade to the latest version of Ubuntu, plus showcases its most notable new features.
CODING ACADEMY
Using eBPF to trace disk transfer actions
Never one to hold back on providing input, Mihalis Tsoukalos explains how to keep a track of disk I/O using eBPF
Recreate classic retro platform games
Recreating classic games is easy for Andrew Smith. He finds avoiding pixel-art bad guys somewhat more difficult!
Code a cataloguing application in Python
Strap in kids! Using Python and the Django framework, Matt Holder can help you create a web-based cataloguing application
Chat
X
Support Pocketmags