<!---
nextcloud/zettel/20mastodonBlog/2204CreateAWebsite.md
https://pad.hacc.space/s/create-a-website
-->
Table of contents
[TOC]
# Websites - still a thing in 2022?
It's easy, right?
There are plenty of "free websites" available...
But:
- vendor lock-in
- not free and open source software
- if you don't pay for it, then you are the product
- they are not [green](https://www.thegreenwebfoundation.org/)! If you found one, email me -> hello@nieebel.anonaddy.com
# Options
## Don't use Wordpress
We are in 2022... seriously, don't go for a WordPress or Typo or Drupal or Joomla or any other CMS with a need for a full relational database like mysql/mariaDB.
## Very very simple - HedgeDoc
The software: https://hedgedoc.org/ (AGPL! Build by individuals)
Don't install it yourself, but find an instance hosted on a [green server](https://lite.framacalc.org/green-webhost-ranking), preferable shared with others.
E.g. here are some examples: https://pad.hacc.space/s/repairable-smartphone, https://pad.hacc.space/s/green-hardware-ranking
You can even build presentations or complex diagrams via Mermaid and work together in collaborating mode, with user management.
On some hosters, pictures will be deleted after some time, but you can upload images also here: https://ttm.sh/
## Simple Html - Gitlab Pages
E.g. https://mooontxt.codeberg.page/posts/5.html simple page displayed by Gitlab/Codeberg Pages. Changes made directly as html file locally and then uploaded to Git: https://codeberg.org/mooontxt/pages/src/branch/main/posts
## Simple Markdown on Git
To have version control and have pictures and multiple pages in a nicely manageable folder structure, look for a Gitea or Gitlab instance like https://www.webarchitects.coop/git - how it could look like: https://codeberg.org/jonatasbaldin/delightful-sustainable-vps#delightful-sustainable-vps or https://codeberg.org/eichkat3r/rezepte/src/branch/main/vegan/geschnetzeltes_zuericher_art.md#soja-geschnetzeltes-z%C3%BCricher-art
## Classic blog - WriteFreely
https://write.as/ - super nice, super simplistic, integrated into the [Fediverse](https://en.wikipedia.org/wiki/Fediverse)! (MPL! Build by individuals)
One drawback: write.as is not hosted "green", but you can ask any [green hosting provider](https://lite.framacalc.org/green-webhost-ranking) to create an instance, preferable shared with others.
To play around, you can sign up here https://tilde.club/ and then login there https://write.tildeverse.org/login or alternatively https://write.wien.rocks/
## Simple multipage site with pictures
Register to a hosted Gitlab instance like https://www.webarchitects.coop/git or https://codeberg.org or https://tildegit.org/ (https://tilde.club/) and create markdown files.
https://codeberg.org/eichkat3r/rezepte/src/branch/main/vegan/burger_sauce.md
## Go professional via static website generators
I like Hugo, alternative: [Zola](https://codeberg.org/yarmo/delightful-club), [Jekyl, Pelican](https://shop.digitalcourage.de/files/kunm001_EDRi_Ethical_Web-druck_Flyeralarm.pdf)
There are [plenty](https://consensus.enterprises/blog/add-hugo-docs-to-gitlab-project/) of guides available on the internet.
To get started, download a [nice theme](https://themes.gohugo.io/), prepare a folder structure, run generate and upload the html pages to a green GitLab instance like https://www.webarchitects.coop/git or https://codeberg.org or https://tildegit.org/ (https://tilde.club/)
The Tildeverse offers some other nice guides going in a similar direction: https://tilde.club/~anthonydpaul/primer.html

https://esolia.com/post/why-did-esolia-choose-hugo/
## Beeing fully independend with sitejs.org
https://sitejs.org/ - you just need a [VPS](https://lite.framacalc.org/green-webhost-ranking)
## Get help
E.g.:
- https://hostsharing.net (server location: Berlin, Germany)
- https://www.webarchitects.coop/ (server location: Sheffield, UK)
# Further reading
Have a look at https://mario.restuccia.re/ - Quarto sounds interesting. And Framasoft is also great!
## Greenwashing
Make sure, your website is not under the hood running on one of those: https://codeberg.org/GreenFediverse/green-instances/src/branch/master/rejectlist
## Headless CMS
Headless CMS like Ghost might be a thing, but it might be hard to find a green hoster for this: https://digitalcourage.social/@aligyie/108093069230018630
see also: graphcms nextjs https://graphcms.com/blog/nextjs-graphcms-ssg-api-routes
## Lektor
https://www.getlektor.com/ - mix of WordPress and Hugo, static webpages but with a Wysiwyg editor:
https://chaos.social/@tuxflo/108112528559538206
## Sustainable Web
https://pad.hacc.space/green-hardware-ranking?view#Sustainable-Software-Engineering
## URL shortener
- https://dol.roflcopter.fr (Hetzner)
- https://lstu.mstdn.social/ (Hetzner)
- https://alt.framasoft.org/en/framalink/
## Some comments on other solutions
- GitLab.com - hosted on Rackspace & Google (not green)
- Now.sh / Vercel - not green!
- Github.com - bought by Microsoft, not green
<!--
Todo check the others: https://gohugo.io/hosting-and-deployment/
-->
# Author
[CC BY SA](https://creativecommons.org/licenses/by-sa/4.0/)
Authors:
- https://digitalcourage.social/@aligyie (main contact, email me: hello@nieebel.anonaddy.com)
last edited 5th May 2022
by https://digitalcourage.social/@aligyie