Personal portfolio and blog site for sendyka.dev
Project ready to deploy on Github Pages and Cloudflare Pages
This project is built using:
- Framework: React 18 with Vite
- Routing: React Router DOM
- Styling: Tailwind CSS with shadcn/ui
- Theme Handling: shadcn-ui
- Content Processing:
- Markdown processing with unified
- Various remark/rehype plugins for content enhancement
 
- UI Components:
- Radix UI primitives
- Lucide icons
- Embla Carousel
- React Day Picker
 
- Clone the repository
git clone https://github.com/yourusername/sendyka.dev-site.git
cd sendyka.dev-site- Install dependencies
npm install
# or
yarn
# or
pnpm install
# or
bun install- Run the development server
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev- Open http://localhost:8080 in your browser
For live hosting services, I use Cloudflare Pages due to its reliability, performance, and ease of use. Previously, I used GitHub Pages through the Student Pack, then Netlify, but moved everything to Cloudflare to centralize services.
This project is configured to be deployed to Cloudflare Pages.
- Cloudflare Pages runs bun install --frozen-lockfileby default
- We use cloudflare-pages.tomlto override the default build command
- Always commit the bun.lockbfile to your repository
- Before deploying, run bun installlocally to ensure the lockfile is up to date
- Push changes to the main branch
- Cloudflare Pages will automatically deploy the site
- If you encounter any issues with the lockfile, run bun installlocally and commit the updatedbun.lockbfile
This project includes multiple options for deploying on your own server:
This project includes a nixpacks.toml configuration file for deploying on self-hosted servers using Nixpacks.
- Docker installed on your server
- Nixpacks installed
- Git access to clone the repository
- 
Clone the repository on your server git clone https://github.com/yourusername/sendyka.dev-site.git cd sendyka.dev-site
- 
Build the Docker image using Nixpacks nixpacks build . -n sendyka-dev-site
- 
Run the container docker run -p 3000:3000 sendyka-dev-site 
- 
Access your site at http://your-server-ip:3000 
This project includes a Dockerfile for direct Docker builds.
- 
Clone the repository git clone https://github.com/yourusername/sendyka.dev-site.git cd sendyka.dev-site
- 
Build the Docker image docker build -t sendyka-dev-site .
- 
Run the container docker run -p 3000:3000 sendyka-dev-site 
For the easiest deployment, use the included Docker Compose file.
- 
Clone the repository git clone https://github.com/yourusername/sendyka.dev-site.git cd sendyka.dev-site
- 
Create a .envfile with your environment variables (optional)echo "NEXT_PUBLIC_BASE_URL=https://your-domain.com" > .env echo "NEXT_PUBLIC_SITE_URL=https://your-domain.com" >> .env 
- 
Start the service docker-compose up -d 
- 
Access your site at http://your-server-ip:3000 
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run buildFeel free to check the code, fork it, and use what you need for your own projects. If you'd like to contribute:
- Fork the repository
- Create a new branch (git checkout -b feature/amazing-feature)
- Make your changes
- Commit your changes (git commit -m 'Add some amazing feature')
- Push to the branch (git push origin feature/amazing-feature)
- Open a Pull Request
This project is available for free use and modification for personal or commercial purposes. Attribution is appreciated but not required.

