Blazingly 🔥 fast 🚀 homepage. https://viyurz.fr
Find a file
2024-07-09 10:39:58 +02:00
assets improve some things 2024-07-02 16:21:57 +02:00
src improve some things 2024-07-02 16:21:57 +02:00
templates Add spam trap 2024-07-09 10:39:58 +02:00
.gitignore improve some things 2024-07-02 16:21:57 +02:00
Cargo.lock improve some things 2024-07-02 16:21:57 +02:00
Cargo.toml improve some things 2024-07-02 16:21:57 +02:00
config.toml improve some things 2024-07-02 16:21:57 +02:00
Dockerfile improve some things 2024-07-02 16:21:57 +02:00
LICENSE.txt First commit. 2024-02-25 13:20:06 +01:00
README.md README: Fix english 2024-07-05 16:33:20 +02:00
services.toml improve some things 2024-07-02 16:21:57 +02:00
tailwind.config.js improve some things 2024-07-02 16:21:57 +02:00
tailwind.css improve some things 2024-07-02 16:21:57 +02:00

homepage

Source for my homepage, built with Axum & Tailwind (CSS gives me nightmares).

Configuration

Change the default configuration by creating a file at /etc/homepage/config.toml or setting the environment variable HP_CONFIG_FILE if using another path.

Configuration options can also be set using environment variables by preceding the variable name by HP_ (ex. HP_LISTEN_ADDRESS).

Example service

services.toml

[[services]]
name = "Vaultwarden"
description = "Rust rewrite of the Bitwarden server, a password management service."
domain = "vw.viyurz.fr"
language = "Rust"
repository_url = "https://github.com/dani-garcia/vaultwarden"

Create a multi-platform image tag

Docker

Create a builder that uses the docker-container driver, which supports multi-platform builds:

docker buildx create --name multiarch --bootstrap

Build the multi-platform image tag using this new builder:

docker buildx build --builder multiarch --load --platform linux/amd64,linux/arm64 --tag git.ahur.ac/viyurz/homepage:latest .

Push the image:

docker login git.ahur.ac
docker push git.ahur.ac/viyurz/homepage:latest

Podman

Create a manifest with the image name and tag:

podman manifest create git.ahur.ac/viyurz/homepage:latest

Build the multi-platform image tag using this manifest:

podman build --format docker --platform linux/amd64,linux/arm64 --manifest git.ahur.ac/viyurz/homepage:latest .

Push the manifest:

podman login git.ahur.ac
podman manifest push git.ahur.ac/viyurz/homepage:latest