bestia.dev This is a copy of the Codeberg readme, only because of SEO. Find the original on https://codeberg.org/bestia-dev-ready-for-use/bestia-dev-website

bestia-dev-website

Files for website bestia.dev
version 2.0 date: 2024-07-27 author: bestia.dev repository: codeberg.org

maintained ready_for_use tutorial website License bestia-dev-website

Hashtags: #rustlang #tutorial
My projects on Codeberg are more like a tutorial than a finished product: bestia-dev tutorials.

Codeberg.org

After the migration to Codeberg.org this repo will be the source of my personal web site bestia.dev. Here is were I make all the changes and then rsync mirror the content to bestia.dev on Hetzner VPS.

rsync --dry-run -e ssh -avz --itemize-changes --checksum --delete-after --progress var_www_bestia.dev/ hetzner_debian_1_luciano:/var/www/bestia.dev/

I love to use my favorite tool TotalCmd synchronize directories. But in this case it is confusing because git changes the file-stamps all the time. I could use rsync from git-bash but it is so much slower then from WSL and it shows the files that are unchanged. I need to add grep:

rsync --dry-run -e ssh -avz --itemize-changes --checksum --delete-after --progress var_www_bestia.dev/ hetzner_debian_1_luciano:/var/www/bestia.dev/ | egrep '^[<>]'

To make it simpler I created a script:

sh upload_to_website.sh
# Check if there is something to upload.
# Then copy the command and run it.

GitHub personal website

Just for your information, because I used to store my repos on GitHub.
It is easy to make a personal website on GitHub.
Just use the magic repository name: github_username.github.io.
For me, it was: //bestia-dev-website But I since migrated to codeberg.org.
Codeberg has a similar way to create a static web page.

Then make a GitHub action to create GitHub pages from your docs folders.
Done! No need to buy a domain name and pay monthly for website hosting.

Now you can put index.html and all other HTML, CSS and javascript magic.
But no server dynamic coding. It is a static page.

Proper website with domain name

I already have a proper personal webpage with the domain name //bestia.dev. This will be a development project for the website. This way I can easily develop and then publish/copy/rsync to my proper website. I will mostly use images and links from/to my proper website, not local links or images. So to boost the links and use them on my proper website.

Validators

It is nice to validate web pages regularly for broken links:
https://validator.w3.org/checklink

The best validators for HTML and CSS are VSCode extensions:
https://marketplace.visualstudio.com/items?itemName=html-validate.vscode-html-validate
https://marketplace.visualstudio.com/items?itemName=smelukov.vscode-csstree

Open-source and free as a beer

My open-source projects are free as a beer (MIT license).
I just love programming.
But I need also to drink. If you find my projects and tutorials helpful, please buy me a beer by donating to my PayPal.
You know the price of a beer in your local bar ;-)
So I can drink a free beer for your health :-)
Na zdravje! Alla salute! Prost! Nazdravlje! 🍻

//bestia.dev
//codeberg.org/bestia-dev
//github.com/bestia-dev
//bestiadev.substack.com
//youtube.com/@bestia-dev-tutorials