srini.codes
A modern personal portfolio website showcasing projects, blog posts, and professional work
Live Website
๐ About
This is my personal portfolio website, built with modern web technologies to showcase my work, blog posts, conference talks, and workshops. The site features a sleek design with glassmorphism effects, custom animations, and integrated blog content from Hashnode.
โจ Features
- Modern Portfolio Interface: Clean, responsive design with custom animations and glassmorphism effects
- Blog Integration: Automatically fetches and displays blog posts from Hashnode
- Interactive Elements: Custom cursor, tilt effects, and smooth animations
- Animated Starfield: CSS-driven hero background, no JavaScript at runtime
- Contact Page: Easy way to get in touch
- Analytics: Integrated with Vercel Analytics and Plausible Analytics for privacy-friendly tracking
- Performance Optimized: Uses Partytown for off-main-thread script execution
- Fully Responsive: Works seamlessly across all device sizes
๐ ๏ธ Tech Stack
Core
- React 18.2 - UI library
- TypeScript 5.1 - Type-safe JavaScript
- Vite 4.3 - Fast build tool and dev server
- React Router DOM 7.6 - Client-side routing
Styling
- TailwindCSS 3.3 - Utility-first CSS framework
- Tailwind Typography - Beautiful typographic defaults
- Custom Design System - Glassmorphism, custom fonts, and animations
Special Features
- three.js / react-globe.gl - WebGL globe on the speaker map, loaded on demand
- Partytown 0.8 - Web worker for third-party scripts
- React Twitter Widgets - Embedded Twitter content
Analytics & Monitoring
- Vercel Analytics - Web analytics
- Plausible Analytics - Privacy-friendly analytics
Development Tools
- ESLint - Code linting
- Prettier - Code formatting
- PostCSS - CSS processing
- Autoprefixer - CSS vendor prefixes
๐ Getting Started
Prerequisites
- Node.js (v16 or higher recommended)
- npm or yarn
Installation
- Clone the repository:
git clone https://github.com/SrinivasanTarget/srini.codes.git
cd srini.codes
- Install dependencies:
npm install
- Start the development server:
npm run dev
The site will be available at http://localhost:5173
๐ Available Scripts
npm run dev - Start development server
npm run build - Build for production (TypeScript compilation + Partytown + Vite build)
npm run preview - Preview production build locally
npm run lint - Run ESLint
npm run lint:fix - Fix ESLint errors automatically
npm run format - Format code with Prettier
npm run partytown - Copy Partytown library files
๐๏ธ Build and Deployment
Build Process
npm run build
This command:
- Compiles TypeScript files
- Copies Partytown library files to the build directory
- Builds the optimized production bundle with Vite
The output is generated in the /build directory.
Deployment
The site is deployed to GitHub Pages and is accessible at srini.codes.
๐ Project Structure
srini.codes/
โโโ src/
โ โโโ components/ # Reusable UI components
โ โโโ screens/ # Page-level components
โ โโโ portfolio/ # Data files (projects, blogs, conferences)
โ โโโ services/ # API integration services
โ โโโ assets/ # Images and static assets
โ โโโ App.tsx # Main application component
โ โโโ main.tsx # Application entry point
โโโ public/ # Static public assets
โโโ build/ # Production build output
โโโ package.json # Dependencies and scripts
๐ง Configuration Files
vite.config.ts - Vite bundler configuration
tsconfig.json - TypeScript configuration (strict mode)
tailwind.config.js - Tailwind CSS customization
postcss.config.js - PostCSS configuration
.eslintrc.json - ESLint rules
.prettierrc - Prettier formatting rules
๐ค Contributing
This is a personal portfolio project, but if you find any bugs or have suggestions, feel free to open an issue or submit a pull request.
๐ค Author
Srinivasan Sekar
๐ Dependency Management
This project uses Dependabot to automatically keep dependencies up to date with weekly checks for npm packages.
Built with โค๏ธ using React and TailwindCSS