import fs from "fs" import path from "path" import matter from "gray-matter" import Link from "next/link" import { Play, MessageCircle, Users, Book, Database, Code } from "lucide-react" import Footer2 from "@/components/footer2" const guidesDirectory = path.join(process.cwd(), "..", "guides") interface Guide { title: string description: string slug: string } function getGuides(): Guide[] { const guides: Guide[] = [] function findGuides(dir: string, basePath = "") { fs.readdirSync(dir, { withFileTypes: true }).forEach((entry) => { const fullPath = path.join(dir, entry.name) const relativePath = path.join(basePath, entry.name) if (entry.isDirectory()) { findGuides(fullPath, relativePath) } else if (entry.isFile() && entry.name.endsWith(".md")) { const slug = relativePath.replace(/\.md$/, "") const fileContents = fs.readFileSync(fullPath, "utf8") const { data } = matter(fileContents) guides.push({ title: data.title || slug.replace(/_/g, " "), description: data.description || "No description available.", slug, }) } }) } findGuides(guidesDirectory) return guides } export default function GuidesPage() { const guides = getGuides() return (

ProxMenux Guides

Complementary guides to make the most of your Proxmox VE.

{/* Dynamic Guides */}
{guides.map((guide) => (

{guide.title}

{guide.description}

))}
{/* Additional Resources */}

Additional Resources

Community Helper-Scripts

User-submitted guides and scripts for Proxmox VE from the community.

Official Documentation

Comprehensive Proxmox VE documentation and administration guide available.

{/* PBS Documentation */}

Backup Server Documentation

Backup Server Docs

Information about Proxmox Backup Server, a powerful backup solution for Proxmox VE.

{/* Video Tutorials */}

Video Tutorials

Official Video Training

Access official Proxmox video tutorials and training courses for skill development.

{/* Community Discussion */}

Community Discussion

Proxmox Forum

Access the official Proxmox forum for questions, troubleshooting, and shared experiences.

Proxmox Reddit

Access the Proxmox community on Reddit for discussions, tips, and technical support.

) }