diff --git a/.mise/tasks/list b/.mise/tasks/list index fea9f82..44872dc 100755 --- a/.mise/tasks/list +++ b/.mise/tasks/list @@ -13,8 +13,17 @@ while IFS=$'\t' read -r n u d; do lxd_desc[$n]=$d done < <(yq -r '.[] | [.name, (.used_by | length), (.description // "")] | @tsv' <<<"$installed") -# Description tronquée pour tenir dans sa colonne. +index=$(repo_index) + +# Description tronquée pour tenir dans sa colonne : dans un terminal, la largeur +# restante une fois les autres colonnes placées (entre 20 et 60), sinon 50. DESC_WIDTH=50 +if [ -t 1 ] && cols=$(tput cols 2>/dev/null); then + file_width=$(awk -F'\t' '{ if (length($2) > m) m = length($2) } END { print m + 0 }' <<<"$index") + # 39 = marge, icône, nom (24), « utilisé » (7) et espaces entre colonnes + DESC_WIDTH=$((cols - 39 - file_width)) + DESC_WIDTH=$((DESC_WIDTH < 20 ? 20 : DESC_WIDTH > 60 ? 60 : DESC_WIDTH)) +fi short() { local d="${1//$'\n'/ }" if [ "${#d}" -gt "$DESC_WIDTH" ]; then d="${d:0:$((DESC_WIDTH - 1))}…"; fi @@ -47,7 +56,7 @@ while IFS=$'\t' read -r name file; do row "📝" "$YELLOW" "$name" "$desc" "${used[$name]}" "$file" "$extra" changed=$((changed + 1)) fi -done < <(repo_index) +done <<<"$index" others=() for n in "${!used[@]}"; do [ -n "${seen[$n]:-}" ] || others+=("$n"); done @@ -59,4 +68,9 @@ if [ "${usage_all:-false}" = "true" ] && [ "${#others[@]}" -gt 0 ]; then fi echo -echo " ✅ ${same} à jour 📝 ${changed} différent(s) ${D}(mise run diff)${R} ⬜ ${absent} non installé(s) 🔹 ${#others[@]} hors dépôt${D}$([ "${usage_all:-false}" = "true" ] || echo ' (--all)')${R}" +hint_all=""; [ "${usage_all:-false}" = "true" ] || hint_all=" ${D}(--all)${R}" +echo " ${B}Légende :${R}" +echo " • ✅ à jour (${same})" +echo " • 📝 installé, différent du dépôt (${changed}) ${D}→ mise run diff${R}" +echo " • ⬜ non installé (${absent})" +echo " • 🔹 installé, absent du dépôt (${#others[@]})${hint_all}" diff --git a/demo/tour.cast b/demo/tour.cast index 831e4d0..0794aa9 100644 --- a/demo/tour.cast +++ b/demo/tour.cast @@ -1,4 +1,4 @@ -{"version": 2, "width": 156, "height": 52, "timestamp": 1795271456, "duration": 38.084623, "env": {"TERM": "xterm-256color", "PS1": "AUTOCAST_PROMPT", "SHELL": "/usr/bin/bash", "PROMPT_COMMAND": "bind 'set enable-bracketed-paste off'"}} +{"version": 2, "width": 156, "height": 56, "timestamp": 1795272924, "duration": 38.523938, "env": {"PROMPT_COMMAND": "bind 'set enable-bracketed-paste off'", "TERM": "xterm-256color", "SHELL": "/usr/bin/bash", "PS1": "AUTOCAST_PROMPT"}} [0.000000, "o", "\u001b[1;34mlxd\u001b[0m > "] [0.000000, "m", "Welcome"] [0.035000, "o", "#"] @@ -67,293 +67,295 @@ [2.240000, "o", "k"] [2.275000, "o", ")"] [2.310000, "o", "\r\n"] -[2.313871, "o", "\u001b[1;34mlxd\u001b[0m > "] -[2.348871, "o", "c"] -[2.383871, "o", "d"] -[2.418871, "o", " "] -[2.453871, "o", "l"] -[2.488871, "o", "x"] -[2.523871, "o", "d"] -[2.558871, "o", "\r\n"] -[2.803195, "o", "\r\n \u001b[36m╭────────────────────────────────────────────────────────╮\u001b[0m\r\n \u001b[36m│\u001b[0m 📦 \u001b[1mlxd-profiles\u001b[0m · profils et réseaux LXD \u001b[36m│\u001b[0m\r\n \u001b[36m╰────────────────────────────────────────────────────────╯\u001b[0m\r\n\r\n 🗂️ \u001b[1mProfils\u001b[0m\r\n ▸ mise run list [--all] \u001b[2mprofils du dépôt et état dans LXD (✅ 📝 ⬜ 🔹)\u001b[0m\r\n ▸ mise run show [profil] [--lxd] \u001b[2mcontenu d'un profil (dépôt ou LXD)\u001b[0m\r\n ▸ mise run diff [profil...] \u001b[2mdiff installé (LXD) → dépôt\u001b[0m\r\n ▸ mise run install [profil...] \u001b[2mcrée / met à jour (diff + confirmation, --all, --yes)\u001b[0m\r\n ▸ mise run import [profil] [f] \u001b[2mexporte un profil LXD vers le dépôt (puis git diff)\u001b[0m\r\n\r\n \u001b[2mprofil = nom (ex. docker) ou fichier (ex. profiles/containerization/docker.profile.yaml)\u001b[0m\r\n 💡 \u001b[2mmise tasks pour lister toutes les tâches\u001b[0m\r\n\r\n"] -[2.857064, "o", "\u001b[1;34mlxd\u001b[0m > "] -[7.892064, "o", "\r\u001b[H\u001b[2J\u001b[3J"] -[7.927064, "o", "\u001b[1;34mlxd\u001b[0m > "] -[7.927064, "m", "List"] -[7.962064, "o", "#"] -[7.997064, "o", " "] -[8.032064, "o", "R"] -[8.067064, "o", "e"] -[8.102064, "o", "p"] -[8.137064, "o", "o"] -[8.172064, "o", "s"] -[8.207064, "o", "i"] -[8.242064, "o", "t"] -[8.277064, "o", "o"] -[8.312064, "o", "r"] -[8.347064, "o", "y"] -[8.382064, "o", " "] -[8.417064, "o", "p"] -[8.452064, "o", "r"] -[8.487064, "o", "o"] -[8.522064, "o", "f"] -[8.557064, "o", "i"] -[8.592064, "o", "l"] -[8.627064, "o", "e"] -[8.662064, "o", "s"] -[8.697064, "o", " "] -[8.732064, "o", "a"] -[8.767064, "o", "n"] -[8.802064, "o", "d"] -[8.837064, "o", " "] -[8.872064, "o", "t"] -[8.907064, "o", "h"] -[8.942064, "o", "e"] -[8.977064, "o", "i"] -[9.012064, "o", "r"] -[9.047064, "o", " "] -[9.082064, "o", "s"] -[9.117064, "o", "t"] -[9.152064, "o", "a"] -[9.187064, "o", "t"] -[9.222064, "o", "e"] -[9.257064, "o", " "] -[9.292064, "o", "i"] -[9.327064, "o", "n"] -[9.362064, "o", " "] -[9.397064, "o", "L"] -[9.432064, "o", "X"] -[9.467064, "o", "D"] -[9.502064, "o", "\r\n"] -[9.505778, "o", "\u001b[1;34mlxd\u001b[0m > "] -[9.540778, "o", "m"] -[9.575778, "o", "i"] -[9.610778, "o", "s"] -[9.645778, "o", "e"] -[9.680778, "o", " "] -[9.715778, "o", "r"] -[9.750778, "o", "u"] -[9.785778, "o", "n"] -[9.820778, "o", " "] -[9.855778, "o", "l"] -[9.890778, "o", "i"] -[9.925778, "o", "s"] -[9.960778, "o", "t"] -[9.995778, "o", "\r\n"] -[10.283113, "o", " \u001b[1m PROFIL DESCRIPTION UTILISÉ FICHIER\u001b[0m\r\n"] -[10.686328, "o", " ✅ \u001b[32mapp-backrest \u001b[0m \u001b[2mInstall backrest and its restic (web UI on port 9…\u001b[0m 1 \u001b[2mprofiles/applications/app-backrest.profile.yaml\u001b[0m\r\n"] -[10.802658, "o", " ✅ \u001b[32mapp-gitea \u001b[0m \u001b[2mInstall gitea\u001b[0m 1 \u001b[2mprofiles/applications/app-gitea.profile.yaml\u001b[0m\r\n"] -[10.809630, "o", " ⬜ \u001b[2mapp-mariadb \u001b[0m \u001b[2mInstall mariadb\u001b[0m - \u001b[2mprofiles/applications/app-mariadb.profile.yaml\u001b[0m\r\n"] -[10.933133, "o", " ✅ \u001b[32mapp-nextcloud \u001b[0m \u001b[2mInstall Nextcloud\u001b[0m 1 \u001b[2mprofiles/applications/app-nextcloud.profile.yaml\u001b[0m\r\n"] -[10.940191, "o", " ⬜ \u001b[2mapp-ollama \u001b[0m \u001b[2mLXD Profile to launch a private ollama instance\u001b[0m - \u001b[2mprofiles/applications/app-ollama.profile.yaml\u001b[0m\r\n"] -[10.947558, "o", " ⬜ \u001b[2mapp-pydio \u001b[0m \u001b[2mInstall pydio cells\u001b[0m - \u001b[2mprofiles/applications/app-pydio.profile.yaml\u001b[0m\r\n"] -[10.954373, "o", " ⬜ \u001b[2mapp-streamrip \u001b[0m \u001b[2mInstall streamrip (https://github.com/nathom/stre…\u001b[0m - \u001b[2mprofiles/applications/app-streamrip.profile.yaml\u001b[0m\r\n"] -[10.961181, "o", " ⬜ \u001b[2mcoolify \u001b[0m \u001b[2mA profile that deploy Coolify in an LXD container\u001b[0m - \u001b[2mprofiles/containerization/coolify.profile.yaml\u001b[0m\r\n"] -[11.078275, "o", " ✅ \u001b[32mdocker \u001b[0m \u001b[2mA profile that deploy docker in an LXD container\u001b[0m 1 \u001b[2mprofiles/containerization/docker.profile.yaml\u001b[0m\r\n"] -[11.086339, "o", " ⬜ \u001b[2mdocker-unprivileged \u001b[0m \u001b[2mA profile that deploy docker in an unprivileged L…\u001b[0m - \u001b[2mprofiles/containerization/docker-unprivileged.profile.yaml\u001b[0m\r\n"] -[11.202452, "o", " ✅ \u001b[32mdocker-volume-data \u001b[0m \u001b[2mA profile that add a volume for docker data\u001b[0m 1 \u001b[2mprofiles/containerization/docker-volume-data.profile.yaml\u001b[0m\r\n"] -[11.320323, "o", " ✅ \u001b[32mdocker-volume-manifests \u001b[0m \u001b[2mA profile that mount a manifests directory from t…\u001b[0m 1 \u001b[2mprofiles/containerization/docker-volume-manifests.profile.yaml\u001b[0m\r\n"] -[11.442776, "o", " ✅ \u001b[32mdokploy \u001b[0m \u001b[2mA profile that deploy Dokploy in an LXD container\u001b[0m 1 \u001b[2mprofiles/containerization/dokploy.profile.yaml\u001b[0m\r\n"] -[11.450776, "o", " ⬜ \u001b[2mfrontback \u001b[0m \u001b[2mProfile that provide a network interface attached…\u001b[0m - \u001b[2mprofiles/networking/frontback.profile.yaml\u001b[0m\r\n"] -[11.458508, "o", " ⬜ \u001b[2mlxd-host-socket \u001b[0m \u001b[2mPermet à un container d'accéder au démon LXD de l…\u001b[0m - \u001b[2mprofiles/containerization/lxd-host-socket.profile.yaml\u001b[0m\r\n"] -[11.583725, "o", " ✅ \u001b[32mmicrok8s \u001b[0m \u001b[2mA profile that deploy microk8s in an LXD container\u001b[0m 1 \u001b[2mprofiles/containerization/microk8s.profile.yaml\u001b[0m\r\n"] -[11.707224, "o", " ✅ \u001b[32mmicrok8s-config \u001b[0m \u001b[2mA profile that add cloud-init user data to bootst…\u001b[0m 1 \u001b[2mprofiles/containerization/microk8s-config.profile.yaml\u001b[0m\r\n"] -[11.827613, "o", " ✅ \u001b[32mnet-back \u001b[0m \u001b[2mProfile that provide a network interface attached…\u001b[0m 1 \u001b[2mprofiles/networking/net-back.profile.yaml\u001b[0m\r\n"] -[11.941637, "o", " ✅ \u001b[32mnet-front \u001b[0m \u001b[2mProfile that provide a network interface attached…\u001b[0m 7 \u001b[2mprofiles/networking/net-front.profile.yaml\u001b[0m\r\n"] -[11.948404, "o", " ⬜ \u001b[2mnet-home \u001b[0m \u001b[2mProfile that provide a network interface attached…\u001b[0m - \u001b[2mprofiles/networking/net-home.profile.yaml\u001b[0m\r\n"] -[12.071142, "o", " ✅ \u001b[32mnet-public \u001b[0m \u001b[2mProfile that provide a network interface attached…\u001b[0m 0 \u001b[2mprofiles/networking/net-public.profile.yaml\u001b[0m\r\n"] -[12.189004, "o", " ✅ \u001b[32mpostgresql \u001b[0m \u001b[2mInstall postgresql\u001b[0m 1 \u001b[2mprofiles/applications/postgresql.profile.yaml\u001b[0m\r\n"] -[12.310278, "o", " 📝 \u001b[33mpostgresql-snap \u001b[0m \u001b[2mInstall postgresql (snap)\u001b[0m 0 \u001b[2mprofiles/applications/postgresql-snap.profile.yaml\u001b[0m\r\n"] -[12.426793, "o", " ✅ \u001b[32mproxy-docker \u001b[0m \u001b[2mExpose private docker sock via tcp on the host\u001b[0m 0 \u001b[2mprofiles/proxy/proxy-docker.profile.yaml\u001b[0m\r\n"] -[12.433678, "o", " ⬜ \u001b[2mproxy-docker-unix \u001b[0m \u001b[2mExpose the Docker socket as a Unix socket\u001b[0m - \u001b[2mprofiles/proxy/proxy-docker-unix.profile.yaml\u001b[0m\r\n"] -[12.551484, "o", " 📝 \u001b[33mproxy-http \u001b[0m \u001b[2mProxify http traffic to the instance\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-http.profile.yaml\u001b[0m\r\n"] -[12.672438, "o", " 📝 \u001b[33mproxy-https \u001b[0m \u001b[2mProxify https traffic to the instance\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-https.profile.yaml\u001b[0m\r\n"] -[12.793801, "o", " ✅ \u001b[32mproxy-stun-turn \u001b[0m \u001b[2mProxify STUN /TURN\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-stun-turn.profile.yaml\u001b[0m\r\n"] -[12.914613, "o", " ✅ \u001b[32mproxy-taskwarrior \u001b[0m \u001b[2mProxify taskwarrior server tcp traffic to the ins…\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-taskwarrior.profile.yaml\u001b[0m\r\n"] -[12.921687, "o", " ⬜ \u001b[2mpublic-gateway \u001b[0m \u001b[2mNetwork configuration for public gateway (attache…\u001b[0m - \u001b[2mprofiles/networking/public-gateway.profile.yaml\u001b[0m\r\n"] -[13.042838, "o", " ✅ \u001b[32msize-large \u001b[0m \u001b[2mLarge sized instance limits (4 CPU, 8GB RAM)\u001b[0m 2 \u001b[2mprofiles/limits/size-large.profile.yaml\u001b[0m\r\n"] -[13.162034, "o", " ✅ \u001b[32msize-medium \u001b[0m \u001b[2mMedium sized instance limits (2 CPU, 4GB RAM)\u001b[0m 2 \u001b[2mprofiles/limits/size-medium.profile.yaml\u001b[0m\r\n"] -[13.311253, "o", " ✅ \u001b[32msize-small \u001b[0m \u001b[2mSmall sized instance limits (1 CPU, 2GB RAM)\u001b[0m 3 \u001b[2mprofiles/limits/size-small.profile.yaml\u001b[0m\r\n"] -[13.428998, "o", " ✅ \u001b[32msnapshots-daily \u001b[0m \u001b[2mTake an automatic snapshot daily and keep it for …\u001b[0m 4 \u001b[2mprofiles/snapshots/snapshots-daily.profile.yaml\u001b[0m\r\n"] -[13.550199, "o", " ✅ \u001b[32msnapshots-weekly \u001b[0m \u001b[2mTake an automatic snapshot weekly and keep it for…\u001b[0m 0 \u001b[2mprofiles/snapshots/snapshots-weekly.profile.yaml\u001b[0m\r\n"] -[13.670349, "o", " ✅ \u001b[32mstorage-btrfs \u001b[0m \u001b[2mroot device on btrfs pool\u001b[0m 1 \u001b[2mprofiles/storage/storage-btrfs.profile.yaml\u001b[0m\r\n"] -[13.796100, "o", " ✅ \u001b[32mstorage-zfs \u001b[0m \u001b[2mroot device on zfs pool\u001b[0m 9 \u001b[2mprofiles/storage/storage-zfs.profile.yaml\u001b[0m\r\n"] -[13.921433, "o", " ✅ \u001b[32mtraefik \u001b[0m \u001b[2mInstall traefik\u001b[0m 1 \u001b[2mprofiles/applications/traefik.profile.yaml\u001b[0m\r\n"] -[14.047036, "o", " ✅ \u001b[32mtraefik-volume-config \u001b[0m \u001b[2mVolume to mount traefik config dir from host\u001b[0m 1 \u001b[2mprofiles/applications/traefik-volume-config.profile.yaml\u001b[0m\r\n"] -[14.055264, "o", " ⬜ \u001b[2munattended-upgrades \u001b[0m \u001b[2mProfil pour activer les unattended upgrades sur U…\u001b[0m - \u001b[2mprofiles/system/unattended-upgrades.profile.yaml\u001b[0m\r\n"] -[14.062157, "o", " ⬜ \u001b[2muser-xavier \u001b[0m \u001b[2mPersonnal environment for Xavier\u001b[0m - \u001b[2mprofiles/users/xavier.profile.yaml\u001b[0m\r\n"] -[14.182399, "o", " ✅ \u001b[32mvolume-gitea-data \u001b[0m \u001b[2mVolume des données Gitea (snapshots quotidiens po…\u001b[0m 1 \u001b[2mprofiles/volumes/volume-gitea-data.profile.yaml\u001b[0m\r\n"] -[14.332753, "o", " ✅ \u001b[32mvolume-gitea-data-ro \u001b[0m \u001b[2mVolume des données Gitea en lecture seule (instan…\u001b[0m 1 \u001b[2mprofiles/volumes/volume-gitea-data-ro.profile.yaml\u001b[0m\r\n"] -[14.453107, "o", " ✅ \u001b[32mvolume-letsencrypt \u001b[0m \u001b[2mVolume contenant les certificats letsencrypt du h…\u001b[0m 3 \u001b[2mprofiles/volumes/volume-letsencrypt.profile.yaml\u001b[0m\r\n"] -[14.565319, "o", " ✅ \u001b[32mvolume-nextcloud-data \u001b[0m \u001b[2mVolume des données Nextcloud (snapshots quotidien…\u001b[0m 1 \u001b[2mprofiles/volumes/volume-nextcloud-data.profile.yaml\u001b[0m\r\n"] -[14.686156, "o", " ✅ \u001b[32mvolume-nextcloud-data-ro\u001b[0m \u001b[2mVolume des données Nextcloud en lecture seule (in…\u001b[0m 1 \u001b[2mprofiles/volumes/volume-nextcloud-data-ro.profile.yaml\u001b[0m\r\n"] -[14.686618, "o", "\r\n"] -[14.687404, "o", " ✅ 30 à jour 📝 3 différent(s) \u001b[2m(mise run diff)\u001b[0m ⬜ 13 non installé(s) 🔹 3 hors dépôt\u001b[2m (--all)\u001b[0m\r\n"] -[14.732194, "o", "\u001b[1;34mlxd\u001b[0m > "] -[20.767194, "o", "\r\u001b[H\u001b[2J\u001b[3J"] -[20.802194, "o", "\u001b[1;34mlxd\u001b[0m > "] -[20.802194, "m", "Show"] -[20.837194, "o", "#"] -[20.872194, "o", " "] -[20.907194, "o", "C"] -[20.942194, "o", "o"] -[20.977194, "o", "n"] -[21.012194, "o", "t"] -[21.047194, "o", "e"] -[21.082194, "o", "n"] -[21.117194, "o", "t"] -[21.152194, "o", " "] -[21.187194, "o", "o"] -[21.222194, "o", "f"] -[21.257194, "o", " "] -[21.292194, "o", "a"] -[21.327194, "o", " "] -[21.362194, "o", "r"] -[21.397194, "o", "e"] -[21.432194, "o", "p"] -[21.467194, "o", "o"] -[21.502194, "o", "s"] -[21.537194, "o", "i"] -[21.572194, "o", "t"] -[21.607194, "o", "o"] -[21.642194, "o", "r"] -[21.677194, "o", "y"] -[21.712194, "o", " "] -[21.747194, "o", "p"] -[21.782194, "o", "r"] -[21.817194, "o", "o"] -[21.852194, "o", "f"] -[21.887194, "o", "i"] -[21.922194, "o", "l"] -[21.957194, "o", "e"] -[21.992194, "o", "\r\n"] -[21.995965, "o", "\u001b[1;34mlxd\u001b[0m > "] -[22.030965, "o", "m"] -[22.065965, "o", "i"] -[22.100965, "o", "s"] -[22.135965, "o", "e"] -[22.170965, "o", " "] -[22.205965, "o", "r"] -[22.240965, "o", "u"] -[22.275965, "o", "n"] -[22.310965, "o", " "] -[22.345965, "o", "s"] -[22.380965, "o", "h"] -[22.415965, "o", "o"] -[22.450965, "o", "w"] -[22.485965, "o", " "] -[22.520965, "o", "s"] -[22.555965, "o", "i"] -[22.590965, "o", "z"] -[22.625965, "o", "e"] -[22.660965, "o", "-"] -[22.695965, "o", "s"] -[22.730965, "o", "m"] -[22.765965, "o", "a"] -[22.800965, "o", "l"] -[22.835965, "o", "l"] -[22.870965, "o", "\r\n"] -[23.301855, "o", "\u001b]10;?\u0007\u001b]11;?\u0007\u001b[c"] -[24.306647, "o", "\u001b[38;2;131;148;150m─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n \u001b[38;2;131;148;150m│ \u001b[0mFile: \u001b[1mprofiles/limits/size-small.profile.yaml\u001b[0m\r\n\u001b[38;2;131;148;150m─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n"] -[24.307602, "o", "\u001b[38;2;131;148;150m 1\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;249;38;114mname\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116msize-small\u001b[0m\r\n"] -[24.307773, "o", "\u001b[38;2;131;148;150m 2\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;249;38;114mdescription\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116mSmall sized instance limits (1 CPU, 2GB RAM)\u001b[0m\r\n"] -[24.307825, "o", "\u001b[38;2;131;148;150m 3\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;249;38;114mconfig\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\r\n"] -[24.307986, "o", "\u001b[38;2;131;148;150m 4\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;249;38;114mlimits.cpu\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116m\"\u001b[0m\u001b[38;2;230;219;116m1\u001b[0m\u001b[38;2;230;219;116m\"\u001b[0m\r\n"] -[24.308089, "o", "\u001b[38;2;131;148;150m 5\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;249;38;114mlimits.memory\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116m2GB\u001b[0m\r\n\u001b[38;2;131;148;150m─────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n"] -[24.341622, "o", "\u001b[1;34mlxd\u001b[0m > "] -[28.376622, "o", "\r\u001b[H\u001b[2J\u001b[3J"] -[28.411622, "o", "\u001b[1;34mlxd\u001b[0m > "] -[28.411622, "m", "Diff"] -[28.446622, "o", "#"] -[28.481622, "o", " "] -[28.516622, "o", "W"] -[28.551622, "o", "h"] -[28.586622, "o", "a"] -[28.621622, "o", "t"] -[28.656622, "o", " "] -[28.691622, "o", "d"] -[28.726622, "o", "i"] -[28.761622, "o", "f"] -[28.796622, "o", "f"] -[28.831622, "o", "e"] -[28.866622, "o", "r"] -[28.901622, "o", "s"] -[28.936622, "o", " "] -[28.971622, "o", "b"] -[29.006622, "o", "e"] -[29.041622, "o", "t"] -[29.076622, "o", "w"] -[29.111622, "o", "e"] -[29.146622, "o", "e"] -[29.181622, "o", "n"] -[29.216622, "o", " "] -[29.251622, "o", "L"] -[29.286622, "o", "X"] -[29.321622, "o", "D"] -[29.356622, "o", " "] -[29.391622, "o", "("] -[29.426622, "o", "i"] -[29.461622, "o", "n"] -[29.496622, "o", "s"] -[29.531622, "o", "t"] -[29.566622, "o", "a"] -[29.601622, "o", "l"] -[29.636622, "o", "l"] -[29.671622, "o", "e"] -[29.706622, "o", "d"] -[29.741622, "o", ")"] -[29.776622, "o", " "] -[29.811622, "o", "a"] -[29.846622, "o", "n"] -[29.881622, "o", "d"] -[29.916622, "o", " "] -[29.951622, "o", "t"] -[29.986622, "o", "h"] -[30.021622, "o", "e"] -[30.056622, "o", " "] -[30.091622, "o", "r"] -[30.126622, "o", "e"] -[30.161622, "o", "p"] -[30.196622, "o", "o"] -[30.231622, "o", "s"] -[30.266622, "o", "i"] -[30.301622, "o", "t"] -[30.336622, "o", "o"] -[30.371622, "o", "r"] -[30.406622, "o", "y"] -[30.441622, "o", "\r\n"] -[30.445197, "o", "\u001b[1;34mlxd\u001b[0m > "] -[30.480197, "o", "m"] -[30.515197, "o", "i"] -[30.550197, "o", "s"] -[30.585197, "o", "e"] -[30.620197, "o", " "] -[30.655197, "o", "r"] -[30.690197, "o", "u"] -[30.725197, "o", "n"] -[30.760197, "o", " "] -[30.795197, "o", "d"] -[30.830197, "o", "i"] -[30.865197, "o", "f"] -[30.900197, "o", "f"] -[30.935197, "o", " "] -[30.970197, "o", "p"] -[31.005197, "o", "r"] -[31.040197, "o", "o"] -[31.075197, "o", "x"] -[31.110197, "o", "y"] -[31.145197, "o", "-"] -[31.180197, "o", "h"] -[31.215197, "o", "t"] -[31.250197, "o", "t"] -[31.285197, "o", "p"] -[31.320197, "o", "\r\n"] -[32.015403, "o", "\r\n\u001b[34mΔ lxd:proxy-http (installé) ⟶ profiles/proxy/proxy-http.profile.yaml (dépôt)\u001b[0m\r\n\u001b[34m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n"] -[32.015732, "o", "\r\n\u001b[34m─────\u001b[0m\u001b[34m┐\u001b[0m\r\n\u001b[34m•\u001b[0m \u001b[34m4\u001b[0m: \u001b[34m│\u001b[0m\r\n\u001b[34m─────\u001b[0m\u001b[34m┘\u001b[0m\r\n"] -[32.015797, "o", "\u001b[34m│\u001b[38;2;68;68;68m 4 \u001b[34m│\u001b[38;2;227;234;242m hostport80:\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 4 \u001b[34m│\u001b[38;2;227;234;242m hostport80:\u001b[0m\r\n"] -[32.015817, "o", "\u001b[34m│\u001b[38;2;68;68;68m 5 \u001b[34m│\u001b[38;2;227;234;242m connect: tcp:127.0.0.1:80\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 5 \u001b[34m│\u001b[38;2;227;234;242m connect: tcp:127.0.0.1:80\u001b[0m\r\n"] -[32.015834, "o", "\u001b[34m│\u001b[38;2;68;68;68m 6 \u001b[34m│\u001b[38;2;227;234;242m listen: tcp:0.0.0.0:80\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 6 \u001b[34m│\u001b[38;2;227;234;242m listen: tcp:0.0.0.0:80\u001b[0m\r\n"] -[32.015871, "o", "\u001b[34m│\u001b[38;5;88m 7 \u001b[34m│\u001b[48;2;63;0;1;38;2;227;234;242m proxy_protocol: \"true\"\u001b[0m\u001b[48;2;63;0;1m \u001b[0m\u001b[34m│\u001b[38;2;68;68;68m \u001b[34m│\u001b[0m\r\n\u001b[34m│\u001b[38;2;68;68;68m 8 \u001b[34m│\u001b[38;2;227;234;242m type: proxy\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 7 \u001b[34m│\u001b[38;2;227;234;242m type: proxy\u001b[0m\r\n"] -[32.015877, "o", "\u001b[34m│\u001b[38;2;68;68;68m 9 \u001b[34m│\u001b[38;2;227;234;242mname: proxy-http\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 8 \u001b[34m│\u001b[38;2;227;234;242mname: proxy-http\u001b[0m\r\n"] -[32.049623, "o", "\u001b[1;34mlxd\u001b[0m > "] -[38.084623, "o", "\r\n"] +[2.313790, "o", "\u001b[1;34mlxd\u001b[0m > "] +[2.348790, "o", "c"] +[2.383790, "o", "d"] +[2.418790, "o", " "] +[2.453790, "o", "l"] +[2.488790, "o", "x"] +[2.523790, "o", "d"] +[2.558790, "o", "\r\n"] +[2.793241, "o", "\r\n \u001b[36m╭────────────────────────────────────────────────────────╮\u001b[0m\r\n \u001b[36m│\u001b[0m 📦 \u001b[1mlxd-profiles\u001b[0m · profils et réseaux LXD \u001b[36m│\u001b[0m\r\n \u001b[36m╰────────────────────────────────────────────────────────╯\u001b[0m\r\n\r\n 🗂️ \u001b[1mProfils\u001b[0m\r\n ▸ mise run list [--all] \u001b[2mprofils du dépôt et état dans LXD\u001b[0m\r\n ▸ mise run show [profil] [--lxd] \u001b[2mcontenu d'un profil (dépôt ou LXD)\u001b[0m\r\n ▸ mise run diff [profil...] \u001b[2mdiff installé (LXD) → dépôt\u001b[0m\r\n ▸ mise run install [profil...] \u001b[2mcrée / met à jour (diff + confirmation, --all, --yes)\u001b[0m\r\n ▸ mise run import [profil] [f] \u001b[2mexporte un profil LXD vers le dépôt (puis git diff)\u001b[0m\r\n\r\n \u001b[2mprofil = nom (ex. docker) ou fichier (ex. profiles/containerization/docker.profile.yaml)\u001b[0m\r\n 💡 \u001b[2mmise tasks pour lister toutes les tâches\u001b[0m\r\n\r\n"] +[2.843314, "o", "\u001b[1;34mlxd\u001b[0m > "] +[7.878314, "o", "\r\u001b[H\u001b[2J\u001b[3J"] +[7.913314, "o", "\u001b[1;34mlxd\u001b[0m > "] +[7.913314, "m", "List"] +[7.948314, "o", "#"] +[7.983314, "o", " "] +[8.018314, "o", "R"] +[8.053314, "o", "e"] +[8.088314, "o", "p"] +[8.123314, "o", "o"] +[8.158314, "o", "s"] +[8.193314, "o", "i"] +[8.228314, "o", "t"] +[8.263314, "o", "o"] +[8.298314, "o", "r"] +[8.333314, "o", "y"] +[8.368314, "o", " "] +[8.403314, "o", "p"] +[8.438314, "o", "r"] +[8.473314, "o", "o"] +[8.508314, "o", "f"] +[8.543314, "o", "i"] +[8.578314, "o", "l"] +[8.613314, "o", "e"] +[8.648314, "o", "s"] +[8.683314, "o", " "] +[8.718314, "o", "a"] +[8.753314, "o", "n"] +[8.788314, "o", "d"] +[8.823314, "o", " "] +[8.858314, "o", "t"] +[8.893314, "o", "h"] +[8.928314, "o", "e"] +[8.963314, "o", "i"] +[8.998314, "o", "r"] +[9.033314, "o", " "] +[9.068314, "o", "s"] +[9.103314, "o", "t"] +[9.138314, "o", "a"] +[9.173314, "o", "t"] +[9.208314, "o", "e"] +[9.243314, "o", " "] +[9.278314, "o", "i"] +[9.313314, "o", "n"] +[9.348314, "o", " "] +[9.383314, "o", "L"] +[9.418314, "o", "X"] +[9.453314, "o", "D"] +[9.488314, "o", "\r\n"] +[9.492068, "o", "\u001b[1;34mlxd\u001b[0m > "] +[9.527068, "o", "m"] +[9.562068, "o", "i"] +[9.597068, "o", "s"] +[9.632068, "o", "e"] +[9.667068, "o", " "] +[9.702068, "o", "r"] +[9.737068, "o", "u"] +[9.772068, "o", "n"] +[9.807068, "o", " "] +[9.842068, "o", "l"] +[9.877068, "o", "i"] +[9.912068, "o", "s"] +[9.947068, "o", "t"] +[9.982068, "o", "\r\n"] +[10.570224, "o", " \u001b[1m PROFIL DESCRIPTION UTILISÉ FICHIER\u001b[0m\r\n"] +[10.690727, "o", " ✅ \u001b[32mapp-backrest \u001b[0m \u001b[2mInstall backrest and its restic (web UI on port 9898)\u001b[0m 1 \u001b[2mprofiles/applications/app-backrest.profile.yaml\u001b[0m\r\n"] +[10.807666, "o", " ✅ \u001b[32mapp-gitea \u001b[0m \u001b[2mInstall gitea\u001b[0m 1 \u001b[2mprofiles/applications/app-gitea.profile.yaml\u001b[0m\r\n"] +[10.815662, "o", " ⬜ \u001b[2mapp-mariadb \u001b[0m \u001b[2mInstall mariadb\u001b[0m - \u001b[2mprofiles/applications/app-mariadb.profile.yaml\u001b[0m\r\n"] +[10.941512, "o", " ✅ \u001b[32mapp-nextcloud \u001b[0m \u001b[2mInstall Nextcloud\u001b[0m 1 \u001b[2mprofiles/applications/app-nextcloud.profile.yaml\u001b[0m\r\n"] +[10.948740, "o", " ⬜ \u001b[2mapp-ollama \u001b[0m \u001b[2mLXD Profile to launch a private ollama instance\u001b[0m - \u001b[2mprofiles/applications/app-ollama.profile.yaml\u001b[0m\r\n"] +[10.955610, "o", " ⬜ \u001b[2mapp-pydio \u001b[0m \u001b[2mInstall pydio cells\u001b[0m - \u001b[2mprofiles/applications/app-pydio.profile.yaml\u001b[0m\r\n"] +[10.963121, "o", " ⬜ \u001b[2mapp-streamrip \u001b[0m \u001b[2mInstall streamrip (https://github.com/nathom/streamrip)\u001b[0m - \u001b[2mprofiles/applications/app-streamrip.profile.yaml\u001b[0m\r\n"] +[10.969672, "o", " ⬜ \u001b[2mcoolify \u001b[0m \u001b[2mA profile that deploy Coolify in an LXD container\u001b[0m - \u001b[2mprofiles/containerization/coolify.profile.yaml\u001b[0m\r\n"] +[11.083539, "o", " ✅ \u001b[32mdocker \u001b[0m \u001b[2mA profile that deploy docker in an LXD container\u001b[0m 1 \u001b[2mprofiles/containerization/docker.profile.yaml\u001b[0m\r\n"] +[11.090413, "o", " ⬜ \u001b[2mdocker-unprivileged \u001b[0m \u001b[2mA profile that deploy docker in an unprivileged LXD co…\u001b[0m - \u001b[2mprofiles/containerization/docker-unprivileged.profile.yaml\u001b[0m\r\n"] +[11.220435, "o", " ✅ \u001b[32mdocker-volume-data \u001b[0m \u001b[2mA profile that add a volume for docker data\u001b[0m 1 \u001b[2mprofiles/containerization/docker-volume-data.profile.yaml\u001b[0m\r\n"] +[11.338150, "o", " ✅ \u001b[32mdocker-volume-manifests \u001b[0m \u001b[2mA profile that mount a manifests directory from the ho…\u001b[0m 1 \u001b[2mprofiles/containerization/docker-volume-manifests.profile.yaml\u001b[0m\r\n"] +[11.454809, "o", " ✅ \u001b[32mdokploy \u001b[0m \u001b[2mA profile that deploy Dokploy in an LXD container\u001b[0m 1 \u001b[2mprofiles/containerization/dokploy.profile.yaml\u001b[0m\r\n"] +[11.462070, "o", " ⬜ \u001b[2mfrontback \u001b[0m \u001b[2mProfile that provide a network interface attached to t…\u001b[0m - \u001b[2mprofiles/networking/frontback.profile.yaml\u001b[0m\r\n"] +[11.468830, "o", " ⬜ \u001b[2mlxd-host-socket \u001b[0m \u001b[2mPermet à un container d'accéder au démon LXD de l'hôte…\u001b[0m - \u001b[2mprofiles/containerization/lxd-host-socket.profile.yaml\u001b[0m\r\n"] +[11.584975, "o", " ✅ \u001b[32mmicrok8s \u001b[0m \u001b[2mA profile that deploy microk8s in an LXD container\u001b[0m 1 \u001b[2mprofiles/containerization/microk8s.profile.yaml\u001b[0m\r\n"] +[11.712929, "o", " ✅ \u001b[32mmicrok8s-config \u001b[0m \u001b[2mA profile that add cloud-init user data to bootstrap m…\u001b[0m 1 \u001b[2mprofiles/containerization/microk8s-config.profile.yaml\u001b[0m\r\n"] +[11.825955, "o", " ✅ \u001b[32mnet-back \u001b[0m \u001b[2mProfile that provide a network interface attached to t…\u001b[0m 1 \u001b[2mprofiles/networking/net-back.profile.yaml\u001b[0m\r\n"] +[11.941493, "o", " ✅ \u001b[32mnet-front \u001b[0m \u001b[2mProfile that provide a network interface attached to t…\u001b[0m 7 \u001b[2mprofiles/networking/net-front.profile.yaml\u001b[0m\r\n"] +[11.950072, "o", " ⬜ \u001b[2mnet-home \u001b[0m \u001b[2mProfile that provide a network interface attached to t…\u001b[0m - \u001b[2mprofiles/networking/net-home.profile.yaml\u001b[0m\r\n"] +[12.069224, "o", " ✅ \u001b[32mnet-public \u001b[0m \u001b[2mProfile that provide a network interface attached to t…\u001b[0m 0 \u001b[2mprofiles/networking/net-public.profile.yaml\u001b[0m\r\n"] +[12.227539, "o", " ✅ \u001b[32mpostgresql \u001b[0m \u001b[2mInstall postgresql\u001b[0m 1 \u001b[2mprofiles/applications/postgresql.profile.yaml\u001b[0m\r\n"] +[12.340897, "o", " 📝 \u001b[33mpostgresql-snap \u001b[0m \u001b[2mInstall postgresql (snap)\u001b[0m 0 \u001b[2mprofiles/applications/postgresql-snap.profile.yaml\u001b[0m\r\n"] +[12.457314, "o", " ✅ \u001b[32mproxy-docker \u001b[0m \u001b[2mExpose private docker sock via tcp on the host\u001b[0m 0 \u001b[2mprofiles/proxy/proxy-docker.profile.yaml\u001b[0m\r\n"] +[12.464038, "o", " ⬜ \u001b[2mproxy-docker-unix \u001b[0m \u001b[2mExpose the Docker socket as a Unix socket\u001b[0m - \u001b[2mprofiles/proxy/proxy-docker-unix.profile.yaml\u001b[0m\r\n"] +[12.579675, "o", " 📝 \u001b[33mproxy-http \u001b[0m \u001b[2mProxify http traffic to the instance\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-http.profile.yaml\u001b[0m\r\n"] +[12.698534, "o", " 📝 \u001b[33mproxy-https \u001b[0m \u001b[2mProxify https traffic to the instance\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-https.profile.yaml\u001b[0m\r\n"] +[12.833841, "o", " ✅ \u001b[32mproxy-stun-turn \u001b[0m \u001b[2mProxify STUN /TURN\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-stun-turn.profile.yaml\u001b[0m\r\n"] +[12.951245, "o", " ✅ \u001b[32mproxy-taskwarrior \u001b[0m \u001b[2mProxify taskwarrior server tcp traffic to the instance\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-taskwarrior.profile.yaml\u001b[0m\r\n"] +[12.958812, "o", " ⬜ \u001b[2mpublic-gateway \u001b[0m \u001b[2mNetwork configuration for public gateway (attached to …\u001b[0m - \u001b[2mprofiles/networking/public-gateway.profile.yaml\u001b[0m\r\n"] +[13.077776, "o", " ✅ \u001b[32msize-large \u001b[0m \u001b[2mLarge sized instance limits (4 CPU, 8GB RAM)\u001b[0m 2 \u001b[2mprofiles/limits/size-large.profile.yaml\u001b[0m\r\n"] +[13.202077, "o", " ✅ \u001b[32msize-medium \u001b[0m \u001b[2mMedium sized instance limits (2 CPU, 4GB RAM)\u001b[0m 2 \u001b[2mprofiles/limits/size-medium.profile.yaml\u001b[0m\r\n"] +[13.325238, "o", " ✅ \u001b[32msize-small \u001b[0m \u001b[2mSmall sized instance limits (1 CPU, 2GB RAM)\u001b[0m 3 \u001b[2mprofiles/limits/size-small.profile.yaml\u001b[0m\r\n"] +[13.467740, "o", " ✅ \u001b[32msnapshots-daily \u001b[0m \u001b[2mTake an automatic snapshot daily and keep it for 2 wee…\u001b[0m 4 \u001b[2mprofiles/snapshots/snapshots-daily.profile.yaml\u001b[0m\r\n"] +[13.620051, "o", " ✅ \u001b[32msnapshots-weekly \u001b[0m \u001b[2mTake an automatic snapshot weekly and keep it for 1 mo…\u001b[0m 0 \u001b[2mprofiles/snapshots/snapshots-weekly.profile.yaml\u001b[0m\r\n"] +[13.740307, "o", " ✅ \u001b[32mstorage-btrfs \u001b[0m \u001b[2mroot device on btrfs pool\u001b[0m 1 \u001b[2mprofiles/storage/storage-btrfs.profile.yaml\u001b[0m\r\n"] +[13.856794, "o", " ✅ \u001b[32mstorage-zfs \u001b[0m \u001b[2mroot device on zfs pool\u001b[0m 9 \u001b[2mprofiles/storage/storage-zfs.profile.yaml\u001b[0m\r\n"] +[13.973987, "o", " ✅ \u001b[32mtraefik \u001b[0m \u001b[2mInstall traefik\u001b[0m 1 \u001b[2mprofiles/applications/traefik.profile.yaml\u001b[0m\r\n"] +[14.090277, "o", " ✅ \u001b[32mtraefik-volume-config \u001b[0m \u001b[2mVolume to mount traefik config dir from host\u001b[0m 1 \u001b[2mprofiles/applications/traefik-volume-config.profile.yaml\u001b[0m\r\n"] +[14.097386, "o", " ⬜ \u001b[2munattended-upgrades \u001b[0m \u001b[2mProfil pour activer les unattended upgrades sur Ubuntu\u001b[0m - \u001b[2mprofiles/system/unattended-upgrades.profile.yaml\u001b[0m\r\n"] +[14.104536, "o", " ⬜ \u001b[2muser-xavier \u001b[0m \u001b[2mPersonnal environment for Xavier\u001b[0m - \u001b[2mprofiles/users/xavier.profile.yaml\u001b[0m\r\n"] +[14.235154, "o", " ✅ \u001b[32mvolume-gitea-data \u001b[0m \u001b[2mVolume des données Gitea (snapshots quotidiens portés …\u001b[0m 1 \u001b[2mprofiles/volumes/volume-gitea-data.profile.yaml\u001b[0m\r\n"] +[14.361021, "o", " ✅ \u001b[32mvolume-gitea-data-ro \u001b[0m \u001b[2mVolume des données Gitea en lecture seule (instance de…\u001b[0m 1 \u001b[2mprofiles/volumes/volume-gitea-data-ro.profile.yaml\u001b[0m\r\n"] +[14.479082, "o", " ✅ \u001b[32mvolume-letsencrypt \u001b[0m \u001b[2mVolume contenant les certificats letsencrypt du host\u001b[0m 3 \u001b[2mprofiles/volumes/volume-letsencrypt.profile.yaml\u001b[0m\r\n"] +[14.604249, "o", " ✅ \u001b[32mvolume-nextcloud-data \u001b[0m \u001b[2mVolume des données Nextcloud (snapshots quotidiens por…\u001b[0m 1 \u001b[2mprofiles/volumes/volume-nextcloud-data.profile.yaml\u001b[0m\r\n"] +[14.724219, "o", " ✅ \u001b[32mvolume-nextcloud-data-ro\u001b[0m \u001b[2mVolume des données Nextcloud en lecture seule (instanc…\u001b[0m 1 \u001b[2mprofiles/volumes/volume-nextcloud-data-ro.profile.yaml\u001b[0m\r\n"] +[14.724650, "o", "\r\n"] +[14.724673, "o", " \u001b[1mLégende :\u001b[0m\r\n"] +[14.724693, "o", " • ✅ à jour (30)\r\n"] +[14.724725, "o", " • 📝 installé, différent du dépôt (3) \u001b[2m→ mise run diff\u001b[0m\r\n"] +[14.724752, "o", " • ⬜ non installé (13)\r\n"] +[14.724775, "o", " • 🔹 installé, absent du dépôt (3) \u001b[2m(--all)\u001b[0m\r\n"] +[14.750162, "o", "\u001b[1;34mlxd\u001b[0m > "] +[20.785162, "o", "\r\u001b[H\u001b[2J\u001b[3J"] +[20.820162, "o", "\u001b[1;34mlxd\u001b[0m > "] +[20.820162, "m", "Show"] +[20.855162, "o", "#"] +[20.890162, "o", " "] +[20.925162, "o", "C"] +[20.960162, "o", "o"] +[20.995162, "o", "n"] +[21.030162, "o", "t"] +[21.065162, "o", "e"] +[21.100162, "o", "n"] +[21.135162, "o", "t"] +[21.170162, "o", " "] +[21.205162, "o", "o"] +[21.240162, "o", "f"] +[21.275162, "o", " "] +[21.310162, "o", "a"] +[21.345162, "o", " "] +[21.380162, "o", "r"] +[21.415162, "o", "e"] +[21.450162, "o", "p"] +[21.485162, "o", "o"] +[21.520162, "o", "s"] +[21.555162, "o", "i"] +[21.590162, "o", "t"] +[21.625162, "o", "o"] +[21.660162, "o", "r"] +[21.695162, "o", "y"] +[21.730162, "o", " "] +[21.765162, "o", "p"] +[21.800162, "o", "r"] +[21.835162, "o", "o"] +[21.870162, "o", "f"] +[21.905162, "o", "i"] +[21.940162, "o", "l"] +[21.975162, "o", "e"] +[22.010162, "o", "\r\n"] +[22.013834, "o", "\u001b[1;34mlxd\u001b[0m > "] +[22.048834, "o", "m"] +[22.083834, "o", "i"] +[22.118834, "o", "s"] +[22.153834, "o", "e"] +[22.188834, "o", " "] +[22.223834, "o", "r"] +[22.258834, "o", "u"] +[22.293834, "o", "n"] +[22.328834, "o", " "] +[22.363834, "o", "s"] +[22.398834, "o", "h"] +[22.433834, "o", "o"] +[22.468834, "o", "w"] +[22.503834, "o", " "] +[22.538834, "o", "s"] +[22.573834, "o", "i"] +[22.608834, "o", "z"] +[22.643834, "o", "e"] +[22.678834, "o", "-"] +[22.713834, "o", "s"] +[22.748834, "o", "m"] +[22.783834, "o", "a"] +[22.818834, "o", "l"] +[22.853834, "o", "l"] +[22.888834, "o", "\r\n"] +[23.345439, "o", "\u001b]10;?\u0007\u001b]11;?\u0007\u001b[c"] +[24.352194, "o", "\u001b[38;2;131;148;150m─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n \u001b[38;2;131;148;150m│ \u001b[0mFile: \u001b[1mprofiles/limits/size-small.profile.yaml\u001b[0m\r\n\u001b[38;2;131;148;150m─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n"] +[24.353240, "o", "\u001b[38;2;131;148;150m 1\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;249;38;114mname\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116msize-small\u001b[0m\r\n"] +[24.353391, "o", "\u001b[38;2;131;148;150m 2\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;249;38;114mdescription\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116mSmall sized instance limits (1 CPU, 2GB RAM)\u001b[0m\r\n"] +[24.353422, "o", "\u001b[38;2;131;148;150m 3\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;249;38;114mconfig\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\r\n"] +[24.353600, "o", "\u001b[38;2;131;148;150m 4\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;249;38;114mlimits.cpu\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116m\"\u001b[0m\u001b[38;2;230;219;116m1\u001b[0m\u001b[38;2;230;219;116m\"\u001b[0m\r\n"] +[24.353715, "o", "\u001b[38;2;131;148;150m 5\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;249;38;114mlimits.memory\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116m2GB\u001b[0m\r\n\u001b[38;2;131;148;150m─────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n"] +[24.817642, "o", "\u001b[1;34mlxd\u001b[0m > "] +[28.852642, "o", "\r\u001b[H\u001b[2J\u001b[3J"] +[28.887642, "o", "\u001b[1;34mlxd\u001b[0m > "] +[28.887642, "m", "Diff"] +[28.922642, "o", "#"] +[28.957642, "o", " "] +[28.992642, "o", "W"] +[29.027642, "o", "h"] +[29.062642, "o", "a"] +[29.097642, "o", "t"] +[29.132642, "o", " "] +[29.167642, "o", "d"] +[29.202642, "o", "i"] +[29.237642, "o", "f"] +[29.272642, "o", "f"] +[29.307642, "o", "e"] +[29.342642, "o", "r"] +[29.377642, "o", "s"] +[29.412642, "o", " "] +[29.447642, "o", "b"] +[29.482642, "o", "e"] +[29.517642, "o", "t"] +[29.552642, "o", "w"] +[29.587642, "o", "e"] +[29.622642, "o", "e"] +[29.657642, "o", "n"] +[29.692642, "o", " "] +[29.727642, "o", "L"] +[29.762642, "o", "X"] +[29.797642, "o", "D"] +[29.832642, "o", " "] +[29.867642, "o", "("] +[29.902642, "o", "i"] +[29.937642, "o", "n"] +[29.972642, "o", "s"] +[30.007642, "o", "t"] +[30.042642, "o", "a"] +[30.077642, "o", "l"] +[30.112642, "o", "l"] +[30.147642, "o", "e"] +[30.182642, "o", "d"] +[30.217642, "o", ")"] +[30.252642, "o", " "] +[30.287642, "o", "a"] +[30.322642, "o", "n"] +[30.357642, "o", "d"] +[30.392642, "o", " "] +[30.427642, "o", "t"] +[30.462642, "o", "h"] +[30.497642, "o", "e"] +[30.532642, "o", " "] +[30.567642, "o", "r"] +[30.602642, "o", "e"] +[30.637642, "o", "p"] +[30.672642, "o", "o"] +[30.707642, "o", "s"] +[30.742642, "o", "i"] +[30.777642, "o", "t"] +[30.812642, "o", "o"] +[30.847642, "o", "r"] +[30.882642, "o", "y"] +[30.917642, "o", "\r\n"] +[30.921619, "o", "\u001b[1;34mlxd\u001b[0m > "] +[30.956619, "o", "m"] +[30.991619, "o", "i"] +[31.026619, "o", "s"] +[31.061619, "o", "e"] +[31.096619, "o", " "] +[31.131619, "o", "r"] +[31.166619, "o", "u"] +[31.201619, "o", "n"] +[31.236619, "o", " "] +[31.271619, "o", "d"] +[31.306619, "o", "i"] +[31.341619, "o", "f"] +[31.376619, "o", "f"] +[31.411619, "o", " "] +[31.446619, "o", "p"] +[31.481619, "o", "r"] +[31.516619, "o", "o"] +[31.551619, "o", "x"] +[31.586619, "o", "y"] +[31.621619, "o", "-"] +[31.656619, "o", "h"] +[31.691619, "o", "t"] +[31.726619, "o", "t"] +[31.761619, "o", "p"] +[31.796619, "o", "\r\n"] +[32.478848, "o", "\r\n\u001b[34mΔ lxd:proxy-http (installé) ⟶ profiles/proxy/proxy-http.profile.yaml (dépôt)\u001b[0m\r\n\u001b[34m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n"] +[32.479166, "o", "\r\n\u001b[34m─────\u001b[0m\u001b[34m┐\u001b[0m\r\n\u001b[34m•\u001b[0m \u001b[34m4\u001b[0m: \u001b[34m│\u001b[0m\r\n\u001b[34m─────\u001b[0m\u001b[34m┘\u001b[0m\r\n"] +[32.479232, "o", "\u001b[34m│\u001b[38;2;68;68;68m 4 \u001b[34m│\u001b[38;2;227;234;242m hostport80:\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 4 \u001b[34m│\u001b[38;2;227;234;242m hostport80:\u001b[0m\r\n"] +[32.479268, "o", "\u001b[34m│\u001b[38;2;68;68;68m 5 \u001b[34m│\u001b[38;2;227;234;242m connect: tcp:127.0.0.1:80\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 5 \u001b[34m│\u001b[38;2;227;234;242m connect: tcp:127.0.0.1:80\u001b[0m\r\n\u001b[34m│\u001b[38;2;68;68;68m 6 \u001b[34m│\u001b[38;2;227;234;242m listen: tcp:0.0.0.0:80\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 6 \u001b[34m│\u001b[38;2;227;234;242m listen: tcp:0.0.0.0:80\u001b[0m\r\n"] +[32.479331, "o", "\u001b[34m│\u001b[38;5;88m 7 \u001b[34m│\u001b[48;2;63;0;1;38;2;227;234;242m proxy_protocol: \"true\"\u001b[0m\u001b[48;2;63;0;1m \u001b[0m\u001b[34m│\u001b[38;2;68;68;68m \u001b[34m│\u001b[0m\r\n\u001b[34m│\u001b[38;2;68;68;68m 8 \u001b[34m│\u001b[38;2;227;234;242m type: proxy\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 7 \u001b[34m│\u001b[38;2;227;234;242m type: proxy\u001b[0m\r\n\u001b[34m│\u001b[38;2;68;68;68m 9 \u001b[34m│\u001b[38;2;227;234;242mname: proxy-http\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 8 \u001b[34m│\u001b[38;2;227;234;242mname: proxy-http\u001b[0m\r\n"] +[32.488938, "o", "\u001b[1;34mlxd\u001b[0m > "] +[38.523938, "o", "\r\n"] diff --git a/demo/tour.gif b/demo/tour.gif index d6cf34c..2ca49a5 100644 Binary files a/demo/tour.gif and b/demo/tour.gif differ diff --git a/demo/tour.yaml b/demo/tour.yaml index 15e92ba..df31dd9 100644 --- a/demo/tour.yaml +++ b/demo/tour.yaml @@ -1,7 +1,7 @@ # Demo: welcome message, profile list, profile content and diff (read only) settings: width: 156 - height: 52 + height: 56 type_speed: 35ms prompt: "\e[1;34mlxd\e[0m > " timeout: 120s diff --git a/mise.toml b/mise.toml index dc6f6bc..b1040cc 100644 --- a/mise.toml +++ b/mise.toml @@ -18,7 +18,7 @@ cat <