This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

✨ : add fnox demo

Julien WITTOUCK (Jun 17, 2026, 11:33 PM +0200) ec2a649f 0db2bc06

+59 -3
+33
demo/05-mise-fnox/03-fnox/demo.sh
··· 1 + #!/usr/bin/env fish 2 + mise env -s fish | source 3 + 4 + set -l g (set_color a6d189) 5 + set -l b (set_color 8caaee) 6 + set -l s '#8caaee' 7 + set -l n (set_color normal) 8 + 9 + gum style --foreground "$s" --border double --padding "1 2" --margin "1" "fnox — secrets dans le repo" 10 + gum spin --spinner.foreground "$s" --spinner dot --title " " sleep 3 11 + 12 + echo "$g❯$b cat fnox.toml$n" 13 + cat fnox.toml 14 + gum spin --spinner.foreground "$s" --spinner dot --title " " sleep 3 15 + 16 + echo 17 + echo "$g❯$b fnox set DEMO_SECRET \"mon shell est trop beau\"$n" 18 + fnox set DEMO_SECRET "mon shell est trop beau" 19 + gum spin --spinner.foreground "$s" --spinner dot --title " " sleep 3 20 + 21 + echo 22 + echo "$g❯$b cat fnox.toml$n" 23 + cat fnox.toml 24 + gum spin --spinner.foreground "$s" --spinner dot --title " " sleep 3 25 + 26 + echo 27 + echo "$g❯$b fnox list$n" 28 + fnox list 29 + gum spin --spinner.foreground "$s" --spinner dot --title " " sleep 3 30 + 31 + echo 32 + echo "$g❯$b fnox exec -- sh -c 'echo \$DEMO_SECRET'$n" 33 + fnox exec -- sh -c 'echo $DEMO_SECRET'
+9
demo/05-mise-fnox/03-fnox/fnox.toml
··· 1 + default_provider = "age" 2 + 3 + [providers.age] 4 + type = "age" 5 + recipients = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEO1h5eICIAU2kwWpH3FbbO9NDB9xBxb8sD0+CQ0aqBh julien@codeka.io"] 6 + 7 + [secrets] 8 + DEMO_SECRET= { provider = "age", value = "YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IHFBOFNsdyBmcys1Rml0cEVxejRJUDN5ZDVIKysySDUwYTdaV29EUVVwb1ZramFycFVJCjNIRmxKang1cUxEdlpweVZPMm1CUDl4L0xKV09ZOWRZempxZlF2bGtoZTAKLT4gM3UtZ3JlYXNlCmpHbjMKLS0tIHovRFV1a1pYUHM3OCtBRk1LWitDa0tpZTNCV1FjZy80cnZ0VVl3ZTFLbnMK4KUZH43Rx3a5BixD2PcGHt3LSgROosC3Jtis4LIIPEADCZUUwvJQcZa/ryRVoS/KtSUmdzDGeQ==" } 9 +
fnox.png

This is a binary file and will not be displayed.

mise.png

This is a binary file and will not be displayed.

+17 -3
pimp-my-shell.md
··· 67 67 68 68 <!-- end_slide --> 69 69 70 - ```bash +exec_replace 71 - cargo run -q --manifest-path big-text/Cargo.toml -- -q "Mise et fnox" 2>/dev/null 72 - ``` 70 + ![image:width:75%](mise.png) 71 + 72 + # 🐚 Mon shell gère son environnement 73 + 74 + * **mise** : runtimes, variables d'env, tâches 75 + * fichier de configuration `mise.toml` 76 + * activation auto au `cd` : la config voyage avec le projet 77 + 78 + <!-- end_slide --> 79 + 80 + ![image:width:75%](fnox.png) 81 + 82 + # 🐚 Mon shell chiffre ses secrets avec fnox 83 + 84 + * secrets chiffrés directement dans le repo (age, gpg, sops) 85 + * fichier de configuration `fnox.toml` 86 + * activation auto au `cd` : les secrets voyagent avec le projet 73 87 74 88 <!-- end_slide --> 75 89