This is the source code for my personal website, chahat.dev. It serves as my portfolio and a space to share my exploration of Linux, open source, and software engineering.
The site is built with a focus on privacy, efficiency, and minimalism. It maximizes resources and strips away the bloat, relying on a robust custom architecture rather than pre-built themes.
- High Performance: Built with Hugo for incredibly fast static site generation.
- Custom Design: Uses a bespoke single-page layout with smooth scroll-snap transitions.
- Auto Theme Support: Seamlessly switches between light and dark modes based on your OS settings using CSS variables.
- Responsive & Accessible: Adapts perfectly to different screen sizes and devices.
- No Bloat: Built with Vanilla HTML/CSS. Minimal JavaScript is used only for initializing icons.
- Static Site Generator: Hugo (Extended)
- Styling: Vanilla CSS
- Icons: Lucide
- Hosting/Deployment: GitHub Pages & GitHub Actions
If you'd like to run this site locally, follow these steps:
You will need to have Hugo Extended (v0.152.2 or later recommended) installed on your system.
-
Clone the repository:
git clone https://github.com/singhc7/chahat.dev.git cd chahat.dev -
Start the development server:
hugo server -D
The
-Dflag includes draft content. -
View the site: Open your browser and navigate to
http://localhost:1313/. The server supports live reloading, so changes will appear instantly.
To generate the static HTML files for production:
hugo --gc --minifyThis will create a public/ directory containing the optimized, minified site ready for deployment.
This repository is configured with a GitHub Actions workflow (.github/workflows/deploy.yaml). Any push to the main branch automatically builds the site using Hugo and deploys the generated public/ folder to GitHub Pages.
The source code for this project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). You are free to reuse the layout and styling for your own purposes, provided you maintain the same license and provide source code access if you modify the software. However, all personal content (biography, text, and branding) remains the copyrighted property of Chahat Sandhu.
Note for Commercial/Proprietary Use: If you wish to implement this code in a proprietary product without releasing your codebase, please contact me at chahat@disroot.org to negotiate a separate license.
See the LICENSE file for the full terms and conditions.
© 2026 Chahat Sandhu. All rights reserved.