behindTheTechz is a modern, high-performance blog platform designed for interlinked content. It combines the simplicity of Markdown with the power of a digital garden, featuring an interactive graph visualization of your knowledge base.
- 🕸️ Interactive Graph View: Visualize connections between posts in a 2D force-directed graph.
- 📝 DB-Backed Content: Posts are served directly from PostgreSQL via Prisma.
- 📓 Notion-Style Sidebar: A clean, collapsible sidebar for easy navigation through categories and favorite posts.
- 🔍 Smart Search: Instant search and filtering to find exactly what you're looking for.
- 🎨 Stunning Aesthetics: Modern design with glassmorphism, smooth animations, and a focus on readability.
- 🔢 Math & Code: First-class support for KaTeX math blocks and Shiki-powered syntax highlighting.
- 🇧🇩 Bengali Support: Optimized typography and interlinking specifically for Bengali language content.
- ⭐ Post Favorites & Interactions: Save favorite articles locally, clap for posts, and track post views seamlessly.
- 📚 Post Series: Read and manage posts as a curated series or collection.
- 📱 Fully Responsive: Thoughtfully adjusted layouts to ensure a seamless experience across mobile and desktop.
- ☁️ Scalable Media: Integrated Supabase storage for fast and reliable image/file hosting.
- 🚀 Analytics & Monitoring: Deployed on Vercel with integrated Speed Insights and Analytics.
- 💻 CLI Content Management: A standalone
techzCLI tool to create, manage, sync markdown files, and upload images directly to the blog.
- Framework: Next.js 16 (App Router) & React 19
- Styling: Tailwind CSS 4 & Base UI (shadcn)
- Visuals: React Force Graph & Framer Motion
- Icons: Hugeicons
- Content Rendering: next-mdx-remote & Shiki
- Database & Storage: Supabase (Postgres + Storage buckets)
- ORM: Prisma 7
- Validation: Zod
- Typography: Geist Sans & Geist Mono
- Node.js 20+
- npm / pnpm / yarn
-
Clone the repository:
git clone https://github.com/your-username/behindthetechz.git cd behindthetechz -
Install dependencies:
pnpm install
-
Run the development server:
pnpm run dev
-
Open http://localhost:3000 in your browser.
/app: Next.js App Router pages and layouts./components: Reusable UI components (Sidebar, Graph, Blog cards, etc.)./scripts/backup-db-posts.mjs: DB JSON backup script./lib: Utility functions and shared logic./hooks: Custom React hooks.
- Export DB snapshot:
pnpm run db:backup:json
- Endpoint:
POST /api/revalidate - Protect with
REVALIDATE_SECRET(optional)
Contributions are welcome! If you find a bug or have a feature request, please open an issue or submit a pull request.
Built with ❤️ for the Bangladeshi developer community.