diff --git a/config/_default/languages.toml b/config/_default/languages.toml index 6a14cc0..9e68307 100644 --- a/config/_default/languages.toml +++ b/config/_default/languages.toml @@ -16,12 +16,6 @@ pageRef = "genealogy" weight = 20 - [[fr.menu.main]] - identifier = "haiku" - name = "Haiku" - pageRef = "haiku" - weight = 30 - [[fr.menu.main]] identifier = "gaming" name = "Gaming" @@ -58,12 +52,6 @@ pageRef = "genealogy" weight = 20 - [[en.menu.main]] - identifier = "haiku" - name = "Haiku" - pageRef = "haiku" - weight = 30 - [[en.menu.main]] identifier = "gaming" name = "Gaming" diff --git a/content/haiku.en.md b/content/haiku.en.md deleted file mode 100644 index cb04fe8..0000000 --- a/content/haiku.en.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -date: 2020-02-04 -title: My Haiku Projects -description: Haiku Operating System Related Stuff -authors: - - yann64 -slug: haikuos -toc: true -image: /images/haiku-icons.png -tags: Haiku ---- - -In the late 90s, I bought a computer magazine that included a BeOS CD. Once installed, I was fascinated by its speed and ease of use. - -It was natural for me to start following the effort to create a compatible and free BeOS clone, launched in the early 2000s. First named OpenBeOS, then renamed Haiku, this re-implementation is now stable enough for me to use it on a daily basis. - -![Haiku](https://www.haiku-os.org/files/slideshow/deskbar.png) - -The resources below can be used by people interested in programming applications for Haiku, or to contribute to the Haiku project itself. - -## Mirror site - -Whenever possible, the Haiku project tries to be self-hosted. This is not without constraints for a project with limited resources, and sometimes the official hosting is not accessible. - -I created a script to create a mirror and be able to access the information when the main site is not accessible: [https://barbel.synology.me/haiku/](https://barbel.synology.me/haiku/) diff --git a/content/haiku.md b/content/haiku.md deleted file mode 100644 index e1158ef..0000000 --- a/content/haiku.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -date: 2020-02-04 -title: Mes projets Haiku -description: Haiku Operating System Related Stuff -authors: - - yann64 -slug: haikuos -toc: true -image: /images/haiku-icons.png -tags: Haiku ---- - -Fin des années 90, j'ai acheté une magazine informatique qui incluait un CD de BeOS. Une fois installé, sa rapidité et sa simplicité d'utilisation m'avaient fasciné. - -C'est naturellement que j'ai commencé à suivre l'effort de création d'un OS libre compatible, lancé au tout début des années 2000. D’abord nommé OpenBeOS, ensuite renommé Haiku, cette ré-implémentation est maintenant suffisamment stable pour que je puisse l’utiliser au quotidien. - -![Haiku](https://www.haiku-os.org/files/slideshow/deskbar.png) - -Le ressources ci-dessous peuvent servir aux personnes intéressées par la programmation d’applications pour Haiku, ou pour contribuer au projet Haiku lui-même. - -## Site mirroir - -Dans la mesure du possible, le projet Haiku essaye d'être auto hébergé. Cela n'est pas sans contrainte pour un projet aux ressources encore limitées, et il arrive parfois que l'hébergement officiel ne soit pas accessible. - -J'ai donc créé un script permettant de réaliser un mirroir du site principal et ainsi pouvoir accéder aux informations quand l'hébergement principal n'est pas accessible : [https://barbel.synology.me/haiku/](https://barbel.synology.me/haiku/) diff --git a/content/post/2024-10-30-Un mirroir pour Haiku/index.en.md b/content/post/2024-10-30-Un mirroir pour Haiku/index.en.md deleted file mode 100644 index 4f3167c..0000000 --- a/content/post/2024-10-30-Un mirroir pour Haiku/index.en.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -date: 2024-10-30 -title: Haiku project main site mirror -description: Mirror Creation for the Haiku project main website using a simple bash script. -authors: - - yann64 -toc: false -category: Haiku -tags: Haiku -slug : haiku-mirror ---- - -Whenever possible, the Haiku project tries to be self-hosted. This is not without constraints for a project with limited resources, and sometimes the official hosting is not accessible. - -I created a script to generate a mirror and be able to access the information when the main site is not accessible: [https://barbel.synology.me/haiku/](https://barbel.synology.me/haiku/) - -I use the following Bash script : - -```bash -# Change the following values to configure your mirror - -# Path to the Hugo binary -HUGO_PATH="/path/to/hugo" -# The mirror website title -MIRROR_TITLE="Haiku Project (Yann64's Mirror)" -# The mirror base URL (must end with a slash '/') -MIRROR_BASEURL="https://barbel.synology.me/haiku/" -# Server base directory -MIRROR_ROOTPATH="/opt/http" -# Full path for Haiku site mirror -MIRROR_LOCALPATH="/opt/http/haiku" - -# Update main site to latest version -echo "==> Clone website from the official repository :" -git clone https://github.com/haiku/website.git -cd website - -sed -i "s/title = \"Haiku Project\"/title = \"$MIRROR_TITLE\"/" ./config.toml -sed -i "s@baseURL = \"https://www.haiku-os.org/\"@baseURL = \"$MIRROR_BASEURL\"@" ./config.toml - -# Uncomment following lines if you want to change tickets source information -#sed -i "s@'https://cgit.haiku-os.org/haiku/commit/?id='@'https://git.barbel.synology.me/Haiku/haiku/commit/'@" ./static/js/activity.js -#sed -i "s@https://cgit.haiku-os.org/haiku/log/@https://git.barbel.synology.me/Haiku/haiku/commits/branch/master@ " ./themes/shijin4/layouts/partials/home.html - -echo "==> Site generation using Hugo :" -$HUGO_PATH -echo "==> Copy files to destination forlder: "$MIRROR_LOCALPATH -cd public -cp -r * $MIRROR_LOCALPATH -cp -r ./images $MIRROR_ROOTPATH - -echo "==> Cleaning" -cd ../.. -rm -rf ./website - -# Update userguide to latest version -echo "==> Clone userguide from the official repository :" -git clone "https://review.haiku-os.org/userguide" -cd userguide -echo "==> Copy files to destination forlder: $MIRROR_LOCALPATH/docs" -cp -r * "$MIRROR_LOCALPATH/docs" -echo "==> Cleaning" -cd .. -rm -rf ./userguide - -echo "Done !" -``` diff --git a/content/post/2024-10-30-Un mirroir pour Haiku/index.md b/content/post/2024-10-30-Un mirroir pour Haiku/index.md deleted file mode 100644 index b524b35..0000000 --- a/content/post/2024-10-30-Un mirroir pour Haiku/index.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -date: 2024-10-30 -title: Un mirroir pour le site du projet Haiku -description: Création d'un mirroir du site principal du projet Haiku à l'aide d'un simple script Bash. -authors: - - yann64 -slug: mirroir-haiku -toc: false -draft: false -category: Informatique -tags: Haiku ---- - -Dans la mesure du possible, le projet Haiku essaye d’être auto hébergé. Cela n’est pas sans contrainte pour un projet aux ressources encore limitées, et il arrive parfois que l’hébergement officiel ne soit pas accessible. - -J’ai donc créé un script permettant de réaliser un mirroir du site principal et ainsi pouvoir accéder aux informations quand l’hébergement principal n’est pas accessible : [https://barbel.synology.me/haiku/](https://barbel.synology.me/haiku/) - -Pour ce faire, j'utilise le script Bash suivant : - -```bash -# Changer les valleurs suivantes pour configurer votre mirroir - -# Chemin de l'exécutable Hugo -HUGO_PATH="/path/to/hugo" -# Titre du site mirroir -MIRROR_TITLE="Haiku Project (Yann64's Mirror)" -# UTL du mirroir (doit se terminer avec un slash '/') -MIRROR_BASEURL="https://barbel.synology.me/haiku/" -# Chemin racine du server web -MIRROR_ROOTPATH="/opt/http" -# Chemin complet du repertoire de stockage du mirroir -MIRROR_LOCALPATH="/opt/http/haiku" - -# Mise à jour du mirroir à la dernière version -echo "==> Clone website from the official repository :" -git clone https://github.com/haiku/website.git -cd website - -sed -i "s/title = \"Haiku Project\"/title = \"$MIRROR_TITLE\"/" ./config.toml -sed -i "s@baseURL = \"https://www.haiku-os.org/\"@baseURL = \"$MIRROR_BASEURL\"@" ./config.toml - -# Décommenter les lignes suivantes et modifier pour changer la source des tickets d'évolution -#sed -i "s@'https://cgit.haiku-os.org/haiku/commit/?id='@'https://git.barbel.synology.me/Haiku/haiku/commit/'@" ./static/js/activity.js -#sed -i "s@https://cgit.haiku-os.org/haiku/log/@https://git.barbel.synology.me/Haiku/haiku/commits/branch/master@ " ./themes/shijin4/layouts/partials/home.html - -echo "==> Site generation using Hugo :" -$HUGO_PATH -echo "==> Copy files to destination forlder: "$MIRROR_LOCALPATH -cd public -cp -r * $MIRROR_LOCALPATH -cp -r ./images $MIRROR_ROOTPATH - -echo "==> Cleaning" -cd ../.. -rm -rf ./website - -# Update userguide to latest version -echo "==> Clone userguide from the official repository :" -git clone "https://review.haiku-os.org/userguide" -cd userguide -echo "==> Copy files to destination forlder: $MIRROR_LOCALPATH/docs" -cp -r * "$MIRROR_LOCALPATH/docs" -echo "==> Cleaning" -cd .. -rm -rf ./userguide - -echo "Done !" -``` diff --git a/static/images/haiku-icons.png b/static/images/haiku-icons.png deleted file mode 100644 index c7fc81c..0000000 Binary files a/static/images/haiku-icons.png and /dev/null differ