From c62b4fc20a9916258b12245b4868c5dda7c24436 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Thu, 13 Nov 2025 11:20:27 +0100 Subject: [PATCH] =?UTF-8?q?refactor:=20migrer=20les=20fichiers=20de=20conf?= =?UTF-8?q?iguration=20de=20JSON=20=C3=A0=20Markdown=20pour=20une=20meille?= =?UTF-8?q?ure=20lisibilit=C3=A9=20et=20gestion=20des=20donn=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content.config.ts | 34 +++++------------------- content/uses/0.homelab-beelink.json | 5 ---- content/uses/0.homelab-beelink.md | 5 ++++ content/uses/1.homelab-tp-link.json | 5 ---- content/uses/1.homelab-tp-link.md | 5 ++++ content/uses/2.homelab-nas.json | 5 ---- content/uses/2.homelab-nas.md | 5 ++++ content/uses/3.homelab-softwares.json | 5 ---- content/uses/3.homelab-softwares.md | 5 ++++ content/uses/apple-airpods-pro.json | 5 ---- content/uses/apple-airpods-pro.md | 5 ++++ content/uses/apple-ipad-air.json | 5 ---- content/uses/apple-ipad-air.md | 5 ++++ content/uses/apple-iphone-14-pro.json | 5 ---- content/uses/apple-iphone-14-pro.md | 5 ++++ content/uses/apple-macbook-pro.json | 5 ---- content/uses/apple-macbook-pro.md | 5 ++++ content/uses/apple-suite.json | 5 ---- content/uses/apple-suite.md | 5 ++++ content/uses/discord.json | 5 ---- content/uses/discord.md | 5 ++++ content/uses/firefox.md | 5 ++++ content/uses/gaming-computer.json | 5 ---- content/uses/gaming-computer.md | 5 ++++ content/uses/google-chrome.json | 5 ---- content/uses/jetbrains-suite.json | 5 ---- content/uses/jetbrains-suite.md | 5 ++++ content/uses/logitech-g203.json | 5 ---- content/uses/logitech-g203.md | 5 ++++ content/uses/notion.json | 5 ---- content/uses/notion.md | 5 ++++ content/uses/raycast.json | 5 ---- content/uses/raycast.md | 5 ++++ content/uses/steelseries-apex-9-tkl.json | 5 ---- content/uses/steelseries-apex-9-tkl.md | 5 ++++ content/uses/themes-fonts.json | 5 ---- content/uses/themes-fonts.md | 5 ++++ content/uses/vscode.json | 5 ---- content/uses/vscode.md | 5 ++++ content/uses/warp.json | 5 ---- content/uses/warp.md | 5 ++++ 41 files changed, 107 insertions(+), 127 deletions(-) delete mode 100644 content/uses/0.homelab-beelink.json create mode 100644 content/uses/0.homelab-beelink.md delete mode 100644 content/uses/1.homelab-tp-link.json create mode 100644 content/uses/1.homelab-tp-link.md delete mode 100644 content/uses/2.homelab-nas.json create mode 100644 content/uses/2.homelab-nas.md delete mode 100644 content/uses/3.homelab-softwares.json create mode 100644 content/uses/3.homelab-softwares.md delete mode 100644 content/uses/apple-airpods-pro.json create mode 100644 content/uses/apple-airpods-pro.md delete mode 100644 content/uses/apple-ipad-air.json create mode 100644 content/uses/apple-ipad-air.md delete mode 100644 content/uses/apple-iphone-14-pro.json create mode 100644 content/uses/apple-iphone-14-pro.md delete mode 100644 content/uses/apple-macbook-pro.json create mode 100644 content/uses/apple-macbook-pro.md delete mode 100644 content/uses/apple-suite.json create mode 100644 content/uses/apple-suite.md delete mode 100644 content/uses/discord.json create mode 100644 content/uses/discord.md create mode 100644 content/uses/firefox.md delete mode 100644 content/uses/gaming-computer.json create mode 100644 content/uses/gaming-computer.md delete mode 100644 content/uses/google-chrome.json delete mode 100644 content/uses/jetbrains-suite.json create mode 100644 content/uses/jetbrains-suite.md delete mode 100644 content/uses/logitech-g203.json create mode 100644 content/uses/logitech-g203.md delete mode 100644 content/uses/notion.json create mode 100644 content/uses/notion.md delete mode 100644 content/uses/raycast.json create mode 100644 content/uses/raycast.md delete mode 100644 content/uses/steelseries-apex-9-tkl.json create mode 100644 content/uses/steelseries-apex-9-tkl.md delete mode 100644 content/uses/themes-fonts.json create mode 100644 content/uses/themes-fonts.md delete mode 100644 content/uses/vscode.json create mode 100644 content/uses/vscode.md delete mode 100644 content/uses/warp.json create mode 100644 content/uses/warp.md diff --git a/content.config.ts b/content.config.ts index be4ffa2..306b88c 100644 --- a/content.config.ts +++ b/content.config.ts @@ -18,26 +18,18 @@ export default defineContentConfig({ }), usesCategories: defineCollection({ type: 'data', - source: 'uses/categories/*.json', + source: 'uses/categories/*.md', schema: z.object({ slug: z.string(), - name: z.object({ - en: z.string(), - fr: z.string(), - es: z.string() - }) + name: z.string() }) }), uses: defineCollection({ type: 'data', - source: 'uses/*.json', + source: 'uses/*.md', schema: z.object({ name: z.string(), - description: z.object({ - en: z.string(), - fr: z.string(), - es: z.string() - }), + description: z.string(), category: z.string() }) }), @@ -47,11 +39,7 @@ export default defineContentConfig({ schema: z.object({ body: z.array(z.object({ id: z.string(), - name: z.object({ - en: z.string(), - fr: z.string(), - es: z.string() - }), + name: z.string(), // TODO: replace in content dir items: z.array(z.object({ name: z.string(), icon: z.string() @@ -63,21 +51,13 @@ export default defineContentConfig({ type: 'data', source: 'experiences/*.md', schema: z.object({ - title: z.object({ - en: z.string(), - fr: z.string(), - es: z.string() - }), + title: z.string(), company: z.string(), companyUrl: z.string().url().optional(), startDate: z.string(), endDate: z.string().optional(), location: z.string(), - description: z.object({ - en: z.string(), - fr: z.string(), - es: z.string() - }), + description: z.string(), tags: z.array(z.string()) }) }) diff --git a/content/uses/0.homelab-beelink.json b/content/uses/0.homelab-beelink.json deleted file mode 100644 index 8f59b43..0000000 --- a/content/uses/0.homelab-beelink.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Beelink EQR6 AMD Ryzen", - "description": "I use my Beelink as the main server in my homelab, running Proxmox, to host self-hosted services, run Docker containers, and test open-source tools.", - "category": "homelab" -} diff --git a/content/uses/0.homelab-beelink.md b/content/uses/0.homelab-beelink.md new file mode 100644 index 0000000..5bf84c9 --- /dev/null +++ b/content/uses/0.homelab-beelink.md @@ -0,0 +1,5 @@ +--- +name: Beelink EQR6 AMD Ryzen +description: I use my Beelink as the main server in my homelab, running Proxmox, to host self-hosted services, run Docker containers, and test open-source tools. +category: homelab +--- diff --git a/content/uses/1.homelab-tp-link.json b/content/uses/1.homelab-tp-link.json deleted file mode 100644 index 8182608..0000000 --- a/content/uses/1.homelab-tp-link.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Switch TP-Link 5 ports", - "description": "I use my 5-port TP-Link switch to connect my various network devices to my main server and ensure fast, stable local communication.", - "category": "homelab" -} diff --git a/content/uses/1.homelab-tp-link.md b/content/uses/1.homelab-tp-link.md new file mode 100644 index 0000000..cf61d27 --- /dev/null +++ b/content/uses/1.homelab-tp-link.md @@ -0,0 +1,5 @@ +--- +name: Switch TP-Link 5 ports +description: I use my 5-port TP-Link switch to connect my various network devices to my main server and ensure fast, stable local communication. +category: homelab +--- diff --git a/content/uses/2.homelab-nas.json b/content/uses/2.homelab-nas.json deleted file mode 100644 index 5138179..0000000 --- a/content/uses/2.homelab-nas.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "UGREEN NASync DXP4800 Plus", - "description": "I bought a UGREEN 4-bay NAS to store and manage my data centrally, while ensuring regular backups and optimal accessibility. For now, I've installed 2 8TB hard drives, but I plan to add two more drives in the future to increase storage capacity.", - "category": "homelab" -} diff --git a/content/uses/2.homelab-nas.md b/content/uses/2.homelab-nas.md new file mode 100644 index 0000000..668207e --- /dev/null +++ b/content/uses/2.homelab-nas.md @@ -0,0 +1,5 @@ +--- +name: UGREEN NASync DXP4800 Plus +description: I bought a UGREEN 4-bay NAS to store and manage my data centrally, while ensuring regular backups and optimal accessibility. For now, I've installed 2 8TB hard drives, but I plan to add two more drives in the future to increase storage capacity. +category: homelab +--- diff --git a/content/uses/3.homelab-softwares.json b/content/uses/3.homelab-softwares.json deleted file mode 100644 index 6fe837a..0000000 --- a/content/uses/3.homelab-softwares.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Self-Hosted Services", - "description": "I run services such as Uptime Kuma, Beszel, Traefik, Cloudflare, MySpeed, AdGuard Home, Portainer, Home Assistant, Minio, Immich, Vaultwarden, Tailscale, Palmr and Cap.so", - "category": "homelab" -} diff --git a/content/uses/3.homelab-softwares.md b/content/uses/3.homelab-softwares.md new file mode 100644 index 0000000..3d86b31 --- /dev/null +++ b/content/uses/3.homelab-softwares.md @@ -0,0 +1,5 @@ +--- +name: Self-Hosted Services +description: I run services such as Uptime Kuma, Beszel, Traefik, Cloudflare, MySpeed, AdGuard Home, Portainer, Home Assistant, Minio, Immich, Vaultwarden, Tailscale, Palmr and Cap.so +category: homelab +--- diff --git a/content/uses/apple-airpods-pro.json b/content/uses/apple-airpods-pro.json deleted file mode 100644 index bd2352e..0000000 --- a/content/uses/apple-airpods-pro.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Apple AirPods Pro", - "description": "Probably my most used item after my phone and laptop. I use them for everything from listening to music to taking calls. They are super convenient and the sound quality is great.", - "category": "hardware" -} diff --git a/content/uses/apple-airpods-pro.md b/content/uses/apple-airpods-pro.md new file mode 100644 index 0000000..949a659 --- /dev/null +++ b/content/uses/apple-airpods-pro.md @@ -0,0 +1,5 @@ +--- +name: Apple AirPods Pro +description: Probably my most used item after my phone and laptop. I use them for everything from listening to music to taking calls. They are super convenient and the sound quality is great. +category: hardware +--- diff --git a/content/uses/apple-ipad-air.json b/content/uses/apple-ipad-air.json deleted file mode 100644 index 6c38ca8..0000000 --- a/content/uses/apple-ipad-air.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Apple iPad Air", - "description": "I use my iPad to read books, watch movies, and browse the web, but also to take notes and write some equations during my math classes.", - "category": "hardware" -} diff --git a/content/uses/apple-ipad-air.md b/content/uses/apple-ipad-air.md new file mode 100644 index 0000000..546129f --- /dev/null +++ b/content/uses/apple-ipad-air.md @@ -0,0 +1,5 @@ +--- +name: Apple iPad Air +description: I use my iPad to read books, watch movies, and browse the web, but also to take notes and write some equations during my math classes. +category: hardware +--- diff --git a/content/uses/apple-iphone-14-pro.json b/content/uses/apple-iphone-14-pro.json deleted file mode 100644 index 34f7571..0000000 --- a/content/uses/apple-iphone-14-pro.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Apple iPhone 14 Pro", - "description": "I don't upgrade my phone every year, but when I do, I go for the best. The iPhone 14 Pro is the best phone on the market, and I'm excited to get my hands on it.", - "category": "hardware" -} diff --git a/content/uses/apple-iphone-14-pro.md b/content/uses/apple-iphone-14-pro.md new file mode 100644 index 0000000..cc75847 --- /dev/null +++ b/content/uses/apple-iphone-14-pro.md @@ -0,0 +1,5 @@ +--- +name: Apple iPhone 14 Pro +description: I don't upgrade my phone every year, but when I do, I go for the best. The iPhone 14 Pro is the best phone on the market, and I'm excited to get my hands on it. +category: hardware +--- \ No newline at end of file diff --git a/content/uses/apple-macbook-pro.json b/content/uses/apple-macbook-pro.json deleted file mode 100644 index 88ec5a9..0000000 --- a/content/uses/apple-macbook-pro.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Apple MacBook Pro 13'", - "description": "My main programming computer is a MacBook Pro 13' 2020 with the Apple M1 Chip and 16Go RAM. I use MacOS Sorona.", - "category": "hardware" -} diff --git a/content/uses/apple-macbook-pro.md b/content/uses/apple-macbook-pro.md new file mode 100644 index 0000000..9918fcc --- /dev/null +++ b/content/uses/apple-macbook-pro.md @@ -0,0 +1,5 @@ +--- +name: Apple MacBook Pro 13' +description: My main programming computer is a MacBook Pro 13' 2020 with the Apple M1 Chip and 16Go RAM. I use MacOS Sorona. +category: hardware +--- \ No newline at end of file diff --git a/content/uses/apple-suite.json b/content/uses/apple-suite.json deleted file mode 100644 index fabb5b7..0000000 --- a/content/uses/apple-suite.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Apple Suite", - "description": "I'm using the Apple Suite including Mail, Calendar, Notes, Music and Reminders for my daily organization.", - "category": "software" -} diff --git a/content/uses/apple-suite.md b/content/uses/apple-suite.md new file mode 100644 index 0000000..f26812f --- /dev/null +++ b/content/uses/apple-suite.md @@ -0,0 +1,5 @@ +--- +name: Apple Suite +description: I'm using the Apple Suite including Mail, Calendar, Notes, Music and Reminders for my daily organization. +category: software +--- diff --git a/content/uses/discord.json b/content/uses/discord.json deleted file mode 100644 index 2dd3e50..0000000 --- a/content/uses/discord.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Discord", - "description": "I'm using Discord for chatting and talking with my friends and my customers and discussing with some community members.", - "category": "software" -} diff --git a/content/uses/discord.md b/content/uses/discord.md new file mode 100644 index 0000000..852f6d1 --- /dev/null +++ b/content/uses/discord.md @@ -0,0 +1,5 @@ +--- +name: Discord +description: I'm using Discord for chatting and talking with my friends and my customers and discussing with some community members. +category: software +--- diff --git a/content/uses/firefox.md b/content/uses/firefox.md new file mode 100644 index 0000000..62d1a1c --- /dev/null +++ b/content/uses/firefox.md @@ -0,0 +1,5 @@ +--- +name: Firefox Browser +description: I'm using Firefox for browsing, the dev tool, and the extension market. +category: software +--- diff --git a/content/uses/gaming-computer.json b/content/uses/gaming-computer.json deleted file mode 100644 index 3c1795d..0000000 --- a/content/uses/gaming-computer.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Custom Built Gaming PC", - "description": "I have bought a customized computer for the gaming. I have chosen an Intel Core i5-10400F, with 16Go DDR4 and my graphical card is a RTX 2060. I use Windows 11.", - "category": "hardware" -} diff --git a/content/uses/gaming-computer.md b/content/uses/gaming-computer.md new file mode 100644 index 0000000..333e788 --- /dev/null +++ b/content/uses/gaming-computer.md @@ -0,0 +1,5 @@ +--- +name: Custom Built Gaming PC +description: I have bought a customized computer for the gaming. I have chosen an Intel Core i5-10400F, with 16Go DDR4 and my graphical card is a RTX 2060. I use Windows 11. +category: hardware +--- diff --git a/content/uses/google-chrome.json b/content/uses/google-chrome.json deleted file mode 100644 index b248782..0000000 --- a/content/uses/google-chrome.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Firefox Browser", - "description": "I'm using Firefox for browsing, the dev tool, and the extension market.", - "category": "software" -} diff --git a/content/uses/jetbrains-suite.json b/content/uses/jetbrains-suite.json deleted file mode 100644 index befe70c..0000000 --- a/content/uses/jetbrains-suite.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "JetBrains Suite (IntelliJ IDEA Ultimate, PyCharm Professional, WebStorm, DataGrip)", - "description": "I use JetBrains Suite for development for 7 years. It's the best IDEs for Java, Python, JavaScript, SQL, and more. I used this suite to develop and to create this website.", - "category": "ide" -} diff --git a/content/uses/jetbrains-suite.md b/content/uses/jetbrains-suite.md new file mode 100644 index 0000000..932d6bb --- /dev/null +++ b/content/uses/jetbrains-suite.md @@ -0,0 +1,5 @@ +--- +name: JetBrains Suite (IntelliJ IDEA Ultimate, PyCharm Professional, WebStorm, DataGrip) +description: I use JetBrains Suite for development for 7 years. It's the best IDEs for Java, Python, JavaScript, SQL, and more. I used this suite to develop and to create this website. +category: ide +--- \ No newline at end of file diff --git a/content/uses/logitech-g203.json b/content/uses/logitech-g203.json deleted file mode 100644 index 6bb80a6..0000000 --- a/content/uses/logitech-g203.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Logitech G203 LightSync Black", - "description": "This gaming mouse is designed to be the perfect gaming companion. With a classic design and simple layout, this mouse is perfect for any gamer.", - "category": "hardware" -} diff --git a/content/uses/logitech-g203.md b/content/uses/logitech-g203.md new file mode 100644 index 0000000..d3353b8 --- /dev/null +++ b/content/uses/logitech-g203.md @@ -0,0 +1,5 @@ +--- +name: Logitech G203 LightSync Black +description: This gaming mouse is designed to be the perfect gaming companion. With a classic design and simple layout, this mouse is perfect for any gamer. +category: hardware +--- \ No newline at end of file diff --git a/content/uses/notion.json b/content/uses/notion.json deleted file mode 100644 index fe6d7da..0000000 --- a/content/uses/notion.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Notion & Notion Calendar", - "description": "Notion is my all-in-one tool for note-taking, kanban boards, wikis, and drafts. I use Notion Calendar to sync my databases with my calendar.", - "category": "software" -} diff --git a/content/uses/notion.md b/content/uses/notion.md new file mode 100644 index 0000000..0873ec4 --- /dev/null +++ b/content/uses/notion.md @@ -0,0 +1,5 @@ +--- +name: Notion & Notion Calendar +description: Notion is my all-in-one tool for note-taking, kanban boards, wikis, and drafts. I use Notion Calendar to sync my databases with my calendar. +category: software +--- \ No newline at end of file diff --git a/content/uses/raycast.json b/content/uses/raycast.json deleted file mode 100644 index 76ff5b5..0000000 --- a/content/uses/raycast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "RayCast", - "description": "Raycast is my extendable launcher replacing Apple Spotlight. It lets me complete tasks, calculate, share common links, and much more thanks to the extensions.", - "category": "software" -} diff --git a/content/uses/raycast.md b/content/uses/raycast.md new file mode 100644 index 0000000..8f308f3 --- /dev/null +++ b/content/uses/raycast.md @@ -0,0 +1,5 @@ +--- +name: RayCast +description: Raycast is my extendable launcher replacing Apple Spotlight. It lets me complete tasks, calculate, share common links, and much more thanks to the extensions. +category: software +--- \ No newline at end of file diff --git a/content/uses/steelseries-apex-9-tkl.json b/content/uses/steelseries-apex-9-tkl.json deleted file mode 100644 index f12d000..0000000 --- a/content/uses/steelseries-apex-9-tkl.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "SteelSeries Apex 9 TKL", - "description": "This TKL keyboard is a great choice for gamers who want a compact keyboard with a lot of features.", - "category": "hardware" -} diff --git a/content/uses/steelseries-apex-9-tkl.md b/content/uses/steelseries-apex-9-tkl.md new file mode 100644 index 0000000..7f0bf26 --- /dev/null +++ b/content/uses/steelseries-apex-9-tkl.md @@ -0,0 +1,5 @@ +--- +name: SteelSeries Apex 9 TKL +description: This TKL keyboard is a great choice for gamers who want a compact keyboard with a lot of features. +category: hardware +--- \ No newline at end of file diff --git a/content/uses/themes-fonts.json b/content/uses/themes-fonts.json deleted file mode 100644 index 5b45d87..0000000 --- a/content/uses/themes-fonts.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Theme and Font", - "description": "My theme is Catppuccin Macchiato, a community-driven pastel theme that aims to be the middle ground between low and high contrast themes. My main font is JetBrains Mono", - "category": "ide" -} diff --git a/content/uses/themes-fonts.md b/content/uses/themes-fonts.md new file mode 100644 index 0000000..d7f5d61 --- /dev/null +++ b/content/uses/themes-fonts.md @@ -0,0 +1,5 @@ +--- +name: Theme and Font +description: My theme is Catppuccin Macchiato, a community-driven pastel theme that aims to be the middle ground between low and high contrast themes. My main font is JetBrains Mono +category: ide +--- \ No newline at end of file diff --git a/content/uses/vscode.json b/content/uses/vscode.json deleted file mode 100644 index 15dc91b..0000000 --- a/content/uses/vscode.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Visual Studio Code", - "description": "Built for flexibility and performance, Visual Studio Code is my main development environment. Lightweight yet powerful, it supports Python, JavaScript, TypeScript, SQL, and more. I rely on its extensions and AI integrations to code faster, better, and with full control over my workspace.", - "category": "ide" -} diff --git a/content/uses/vscode.md b/content/uses/vscode.md new file mode 100644 index 0000000..35b3787 --- /dev/null +++ b/content/uses/vscode.md @@ -0,0 +1,5 @@ +--- +name: Visual Studio Code +description: Built for flexibility and performance, Visual Studio Code is my main development environment. Lightweight yet powerful, it supports Python, JavaScript, TypeScript, SQL, and more. I rely on its extensions and AI integrations to code faster, better, and with full control over my workspace. +category: ide +--- \ No newline at end of file diff --git a/content/uses/warp.json b/content/uses/warp.json deleted file mode 100644 index c697abe..0000000 --- a/content/uses/warp.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Warp", - "description": "Warp is a modern, Rust-based terminal reimagined with AI and collaborative tools for better productivity. I'm loving it so far!", - "category": "software" -} diff --git a/content/uses/warp.md b/content/uses/warp.md new file mode 100644 index 0000000..2c9adf9 --- /dev/null +++ b/content/uses/warp.md @@ -0,0 +1,5 @@ +--- +name: Warp +description: Warp is a modern, Rust-based terminal reimagined with AI and collaborative tools for better productivity. I'm loving it so far! +category: software +--- \ No newline at end of file