<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Documentation on vanityURLs</title><link>https://vanityurls.link/fr/docs/</link><description>Recent content in Documentation on vanityURLs</description><generator>Hugo</generator><language>fr-FR</language><atom:link href="https://vanityurls.link/fr/docs/index.xml" rel="self" type="application/rss+xml"/><item><title>Cloudflare Pages</title><link>https://vanityurls.link/fr/docs/cloudflare/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://vanityurls.link/fr/docs/cloudflare/</guid><description>&lt;p&gt;vanityURLs est conçu pour fonctionner sur &lt;a href="https://pages.cloudflare.com/"&gt;Cloudflare Pages&lt;/a&gt;. Le plan gratuit couvre tout ce dont la plupart des déploiements personnels et des petites équipes ont besoin.&lt;/p&gt;
&lt;h2 id="configuration-du-build"&gt;Configuration du build&lt;/h2&gt;
&lt;p&gt;Lors de la connexion de votre dépôt dans le tableau de bord Cloudflare :&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Paramètre&lt;/th&gt;
 &lt;th&gt;Valeur&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Préréglage de framework&lt;/td&gt;
 &lt;td&gt;&lt;em&gt;(laisser vide)&lt;/em&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Commande de build&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;cat static.lnk dynamic.lnk &amp;gt; build/_redirects&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Répertoire de sortie du build&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/build&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Répertoire racine&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="domaine-personnalisé"&gt;Domaine personnalisé&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Dans votre projet Pages, allez à &lt;strong&gt;Custom domains&lt;/strong&gt; → &lt;strong&gt;Set up a custom domain&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Entrez votre domaine court (ex. &lt;code&gt;mon-domaine.link&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Si votre domaine est sur Cloudflare DNS, les enregistrements nécessaires sont créés automatiquement&lt;/li&gt;
&lt;/ol&gt;








&lt;div class="not-prose my-5 rounded-lg border border-green-200 dark:border-green-800 bg-green-50 dark:bg-green-900/20 p-4"&gt;
 &lt;div class="flex gap-3"&gt;
 &lt;svg class="w-5 h-5 text-green-500 dark:text-green-400 shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"&gt;
 &lt;path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/&gt;
 &lt;/svg&gt;
 &lt;div class="flex-1 min-w-0"&gt;
 &lt;p class="text-sm font-semibold text-green-800 dark:text-green-300 mb-1"&gt;
 Tip
 &lt;/p&gt;</description></item><item><title>dynamic.lnk</title><link>https://vanityurls.link/fr/docs/dynamic.lnk/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://vanityurls.link/fr/docs/dynamic.lnk/</guid><description>&lt;p&gt;&lt;code&gt;dynamic.lnk&lt;/code&gt; contient vos redirections &lt;strong&gt;temporaires&lt;/strong&gt; — conférences, campagnes marketing, inscriptions à des événements.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;# expire : 2025-09-01
/summit2025 https://summit.example.com/2025 302

# Campagnes actives
/promo https://boutique.example.com?p=ete 302
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Utilisez &lt;code&gt;302&lt;/code&gt; pour indiquer aux moteurs de recherche que la destination peut changer.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;lnk add --dynamic /conf2025 https://conf.example.com/2025 &lt;span class="m"&gt;302&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Installation</title><link>https://vanityurls.link/fr/docs/getting-started/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://vanityurls.link/fr/docs/getting-started/</guid><description>&lt;p&gt;vanityURLs fonctionne entièrement sur l&amp;rsquo;infrastructure que vous contrôlez déjà — un dépôt GitHub, un nom de domaine, et un compte Cloudflare gratuit. Il n&amp;rsquo;y a rien à installer sur votre machine en dehors du script CLI optionnel.&lt;/p&gt;
&lt;h2 id="mise-en-place-rapide"&gt;Mise en place rapide&lt;/h2&gt;
&lt;div class="steps not-prose my-6"&gt;
&lt;h3 id="créer-un-dépôt-depuis-le-modèle"&gt;Créer un dépôt depuis le modèle&lt;/h3&gt;
&lt;p&gt;Depuis le &lt;a href="https://github.com/vanityURLs/vanityURLs"&gt;dépôt GitHub vanityURLs&lt;/a&gt;, cliquez sur &lt;strong&gt;Use this template&lt;/strong&gt; → &lt;strong&gt;Create a new repository&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Choisissez un nom qui reflète votre domaine court (p. ex. &lt;code&gt;mon-domaine.link&lt;/code&gt;). Sélectionnez &lt;strong&gt;Privé&lt;/strong&gt; — votre liste de redirections peut contenir des URL internes.&lt;/p&gt;</description></item><item><title>Makefile</title><link>https://vanityurls.link/fr/docs/makefile/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://vanityurls.link/fr/docs/makefile/</guid><description>&lt;p&gt;Le dépôt vanityURLs inclut un &lt;code&gt;Makefile&lt;/code&gt; qui automatise les tâches courantes de configuration et de maintenance. Toutes les cibles lisent depuis &lt;code&gt;vanityURLs.conf&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="cibles-disponibles"&gt;Cibles disponibles&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ make &lt;span class="nb"&gt;help&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Cibles :
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; make config — Assistant de configuration interactif
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; make setup — Configuration initiale complète : installer lnk, générer _headers, _redirects
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; make headers — Régénérer build/_headers depuis votre domaine et URL Pages
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; make install — Installer le script lnk dans SCRIPT_DIR
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; make validate — Valider la syntaxe de static.lnk et dynamic.lnk
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; make deploy — Committer tous les changements de liens et pousser vers origin
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; make status — Afficher le nombre de redirections et la date du dernier déploiement
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; make clean — Supprimer les fichiers générés
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="détails"&gt;Détails&lt;/h2&gt;
&lt;h3 id="make-config"&gt;&lt;code&gt;make config&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;Ouvre &lt;code&gt;vanityURLs.conf&lt;/code&gt; dans votre &lt;code&gt;$EDITOR&lt;/code&gt; (par défaut &lt;code&gt;vi&lt;/code&gt;) :&lt;/p&gt;</description></item><item><title>static.lnk</title><link>https://vanityurls.link/fr/docs/static.lnk/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://vanityurls.link/fr/docs/static.lnk/</guid><description>&lt;p&gt;&lt;code&gt;static.lnk&lt;/code&gt; contient vos redirections &lt;strong&gt;permanentes&lt;/strong&gt; — profils sociaux, portfolio, pages de projets.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;# Profils
/github https://github.com/votrenom 301
/linkedin https://linkedin.com/in/votrenom 301

# Projets
/appli https://appli.example.com 301

# Racine (toujours en dernier)
/ https://votrenom.example.com 301
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Ajoutez des liens avec le script &lt;code&gt;lnk&lt;/code&gt; :&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;lnk add /github https://github.com/votrenom
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>