Blazingly 🔥 fast 🚀 homepage. https://viyurz.fr
Find a file
2024-07-02 16:21:57 +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 improve some things 2024-07-02 16:21:57 +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 improve some things 2024-07-02 16:21:57 +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 & push multi-platform image

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

docker buildx create --name multiarch --bootstrap

Build the multi-platform image using this new builder:

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

Publish the image:

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