Websites 2024 consolidation

Websites 2024 consolidation

December 17, 2024

It all started few years ago with my own travel blog.

ℹ️
And there is a new and very special website! http://entreagujaypunto.com/ Built with GH + Cloudflare Pages https://github.com/JAlcocerT/EntreAgujayPunto 💻

I got the domain at PorkBun and changed the NameServer to Cloudflare ones.

Log into porkbun -> NS -> Change Authoritative Name Server to the ones provided by CF:

# curitiba.ns.porkbun.com
# fortaleza.ns.porkbun.com
# maceio.ns.porkbun.com
# salvador.ns.porkbun.com

CF Custom Domain 1

CF Custom Domain2

CF Custom Domain 3

After it syncs, you will be able to go to Workers & Pages -> Custom Domains and have the website ready/

Photo Galleries

As described here - https://jalcocert.github.io/JAlcocerT/creating-photo-centric-blog-with-hugo/

Later on, my first business website followed.

And then I saw people close to me, who needed help.

But what can you do when there are many unknown unknowns?

Maybe…Clarify with an AI Powered Presentation

Custom Websites

Then…started customizing websites:

All powered by HUGO & Astro 📌
npm run dev

#hugo server
hugo server --bind="0.0.0.0" --baseURL="http://192.168.0.171" --port=1319

The baseURL if you are doing dev in a server

For production, always check for HUGO the hugo.toml file and tweak the baseURL parameter

See also:

  • For CSS: /assets/css/custom.css to tweak the light/dark themes colors.

You can choose the default for each folder by adding:

params:
  theme: light #dark ##ffffff #dee2e6

Which references: --surface-1-light: #ffffffb2;

The theme automatically created public/images/favicon.png

Which it is referenced at layouts/partial/head.html

  <link rel="icon" type="image/svg+xml" href="{{ "images/favicon.svg" | relURL }}" />
  <link rel="icon" type="image/png" href="{{ "images/favicon.png" | relURL }}" />
  <link rel="apple-touch-icon" sizes="180x180" href="{{ "images/apple-touch-icon.png" | relURL }}" />

To use the favicons generated by favycon I needed to add the generated to public/images and make the proper reference with the html tags provided in the readme.txt at the head.html

Images is referencing to public/images

<link rel="apple-touch-icon" sizes="57x57" href="images/favicon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="images/favicon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/favicon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="images/favicon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/favicon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="images/favicon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="images/favicon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="images/favicon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="images/favicon-180x180.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="images/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="192x192" href="images/favicon-192x192.png">
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="images/favicon-144x144.png">
<meta name="msapplication-config" content="images/browserconfig.xml">

Next Steps

Making a better LinkTree or linkbio

At the moment of writing, they are charging 5$/m for the first paid tier.

It goes to 9$/m to have newsletter and web analytics…or customize the UI.

Themes To Try

Scaling Ideas

These are some ideas of whats coming next.

Making websites 1 by 1 its kind of slow.

But there are very well known services that provide interesting service without human interaction.

  1. Linktree
  2. linkbio
  3. Glow (F/OSS)
  4. https://www.stan.store/
ℹ️
Like we did at the Social Media Project!
  • Weddings…

  • bodas.net

  • Automatic Invoices

    • With Stripe as payment gateway, they create the invoices for your product/services automatically
    • There are some project to create invoices with open software - Serverless Invoices worked great for me!
ServerLess-Invoices Setup 🚀

Create and manage invoices in your browser. Serverless Invoices is a free invoicing tool for freelancers and small businesses.

Made with Vue.js.

git clone https://github.com/mokuappio/serverless-invoices.git
#https://github.com/JAlcocerT/serverless-invoices

cd serverless-invoices
#rm -rf .git

docker build . -t mokuappio/serverless-invoices
#docker run -p 89:8080 -d --rm mokuappio/serverless-invoices
docker run -p 89:8080 -d --rm --name serverlessinvoices mokuappio/serverless-invoices

There is an awsome Dockerfile example on how to bundle a Node App for Production

You can print to pdf, add your logo, taxes, CSS…

and import/export the json with all your created invoices