{"id":20745285,"url":"https://github.com/ev0clu/portfolio","last_synced_at":"2026-04-08T12:33:32.170Z","repository":{"id":254298188,"uuid":"846089585","full_name":"ev0clu/portfolio","owner":"ev0clu","description":"Full stack (Next.js) Portfolio Website","archived":false,"fork":false,"pushed_at":"2024-12-19T11:07:51.000Z","size":4913,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T12:24:46.741Z","etag":null,"topics":["docker","framer-motion","google-recaptcha-v3","intersection-observer","lucide-icons","nextjs","nginx-proxy-manager","plausible-analytics","react","react-email","react-hook-form","resend","self-hosted","server-actions","shadcn-ui","tailwindcss","toast-notifications","typescript","zod"],"latest_commit_sha":null,"homepage":"https://laszlokis.site","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ev0clu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-22T14:06:25.000Z","updated_at":"2025-01-29T14:14:01.000Z","dependencies_parsed_at":"2025-03-11T12:47:58.082Z","dependency_job_id":"912da7aa-84ee-495a-8aba-680e47a8acfb","html_url":"https://github.com/ev0clu/portfolio","commit_stats":null,"previous_names":["ev0clu/portfolio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ev0clu/portfolio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ev0clu%2Fportfolio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ev0clu%2Fportfolio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ev0clu%2Fportfolio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ev0clu%2Fportfolio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ev0clu","download_url":"https://codeload.github.com/ev0clu/portfolio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ev0clu%2Fportfolio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31556233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","framer-motion","google-recaptcha-v3","intersection-observer","lucide-icons","nextjs","nginx-proxy-manager","plausible-analytics","react","react-email","react-hook-form","resend","self-hosted","server-actions","shadcn-ui","tailwindcss","toast-notifications","typescript","zod"],"created_at":"2024-11-17T07:19:28.503Z","updated_at":"2026-04-08T12:33:32.149Z","avatar_url":"https://github.com/ev0clu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Portfolio**\n\nMy personal portfolio project has built with Next.js, Typescript and TailwindCSS. Website is self-hosted on VPS with Nginx Proxy Manager and docker container. Plausible for analytics is also self-hosted in docker container. Cloudflare is used as DNS provider and for traffic protection.\n\n### Demo: [Link](https://laszlokis.site)\n\n## Features\n\n- Google reCAPTCHA v3 used to help to protect the sites from fraudulent activities, spam, and abuse\n- Scrolling to target feature is added to header navigations\n- Intersection observer used to detect view area\n- Resend used for SMTP email sending\n- React email used for email template\n- Next.js with server actions used for SEO optimalization\n- React context used for state management\n- React Hook form used to create forms\n- Zod used for form validation\n- Tailwind CSS used for styling\n- Framer motion used for animations\n- Toast notification use to improve UX\n- Responsive design for mobile and desktop as well\n- Self-hosted deployement in Docker container\n- Nginx Proxy Manager uses as reverse proxy with Let's encrypt for SSL.\n- Cloudflare uses as DNS provider and protecting traffic.\n- Self-hosted Plausible uses for analytics\n\n## How to run from local repository\n\n1. Clone the repository\n2. Create `.env.local` file and add enviromental variables according to the `.env.example`:\n\n```env\nNODE_ENV=development\nRESEND_API_KEY=\nGOOGLE_RECAPTHCA_SECRET_KEY=\n\nNEXT_PUBLIC_NODE_ENV=development\nNEXT_PUBLIC_GOOGLE_RECAPTHCA_SITE_KEY=\nNEXT_PUBLIC_PRODUCTION_HOST=https://example.com\nNEXT_PUBLIC_PLAUSIBLE_HOST=https://plausible.example.com\nNEXT_PUBLIC_GOOGLE_DRIVE_URL=\n```\n\nRename `Dockerfile.example` to `Dockerfile` and add the same variables into the **ENV** section with the correct _values_ and _keys_\n\n## How to self-hosted with Docker container in the same machine\n\n0. Docker setup:\n\n- Install [Docker](https://docs.docker.com/get-started/get-docker/) on your machine.\n- You need to have the `Dockerfile` in the root folder with the same content as it is in this repository already (add **ENV** according to the previous section). Need to update the `next.config.mjs` same as it is in this repository also.\n\n1. Build your container: `docker build -t nextjs-portfolio .`\n2. Run your container: `docker run -p 3000:3000 nextjs-portfolio`\n3. Next.js server running at `http://localhost:3000/`\n\n## How to self-hosted with Docker container in Machine-B\n\n0. Docker setup:\n\n- Install [Docker](https://docs.docker.com/get-started/get-docker/) on your machine.\n- You need to have the `Dockerfile` in the root folder with the same content as it is in this repository already (add **ENV** according to the previous section). Need to update the `next.config.mjs` same as it is in this repository also.\n\n0. Check docker is active: `systemctl is-active docker`.\n1. Build your container: `docker build --platform linux/amd64 -t nextjs-portfolio .` If you get error: _ERROR: Cannot connect to the Docker daemon at unix:///home/path-to-docker/.docker/desktop/docker.sock. Is the docker daemon running?_, than you should run the followings: `sudo systemctl start docker`, `sudo systemctl enable docker`, `export DOCKER_HOST=unix:///var/run/docker.sock`. Now you can try to build the image again.\n2. Save docker image into **\\*.tar** file in the project root folder: `docker save -o nextjs-portfolio.tar nextjs-portfolio`\n3. Copy **\\*.tar** file into the Machine-B `scp /path-to-tar-file/nextjs-portfolio.tar machine-b-username@192.xxx.x.xx:/path-to-machine-b-folder/`\n4. Load docker container: `docker load -i /path-to-machine-b-folder/nextjs-portfolio.tar`\u003cbr/\u003e\n   You can check the does the image exist: `docker images`\n5. Run your container: `docker run -d --name nextjs-portfolio -p 3000:3000 nextjs-portfolio`\u003cbr/\u003e\n6. Next.js server running at `http://192.xxx.x.xx:3000/`\n7. Redeploy new version:\u003cbr/\u003e\n\n- Remove previous container. Run `docker container ls` than `docker container rm -f \u003ccontainer-name\u003e`\n- Remove previous image. Run `docker image ls` than `docker image rm -f \u003cimage-name\u003e`\n\n### Useful links and informations\n\n- Google reCAPTCHA docs:\n  - [Google](https://developers.google.com/recaptcha/intro)\n- Next.js standalone build for Docker:\n  - [Next.js](https://nextjs.org/docs/app/api-reference/next-config-js/output#automatically-copying-traced-files)\n  - [GitHub](https://github.com/vercel/next.js/tree/canary/examples/with-docker)\n- Scroll to target:\n  - [ReactHustle](https://reacthustle.com/blog/nextjs-scroll-to-element)\n- Cubic Bezier:\n  - [CSS Portal](https://www.cssportal.com/css-cubic-bezier-generator/)\n  - [Cubic Bezier site](https://cubic-bezier.com/)\n- Tooltip mobile handling:\n  - [GitHub](https://github.com/shadcn-ui/ui/issues/86)\n- React Hook Form usage with UI component needs to has `ref={null}` property to avoid ref warning:\n  - [Stackoverflow](https://stackoverflow.com/questions/67877887/react-hook-form-v7-function-components-cannot-be-given-refs-attempts-to-access)\n  - [GitHub](https://github.com/react-hook-form/react-hook-form/issues/3411)\n- Self-hosted with cloudflare dns:\n  - [Cloudflare Archive](https://community.cloudflare.com/tdeprecated-redirect-www-example-com-to-example-com/78347)\n  - [Cloudflare test redirection](https://community.cloudflare.com/t/redirect-to-non-www/596929)\n- Self-hosted analytics:\n  - Plausible (Community Edition)\n    - [Plausible](https://plausible.io/)\n    - [Github](https://github.com/plausible/community-edition/)\n  - Umami\n    - [umami](https://umami.is/)\n    - [Github](https://github.com/umami-software/umami)\n- Self-hosted NGINX Proxy Manager\n  - [Youtube #1](https://www.youtube.com/watch?v=qlcVx-k-02E)\n  - [Youtube #2](https://www.youtube.com/watch?v=GarMdDTAZJo)\n\n### Dependencies\n\n- [Next.js](https://nextjs.org/)\n- [React](https://react.dev/)\n- [React DOM](https://www.npmjs.com/package/react-dom)\n- [Typescript](https://www.typescriptlang.org/)\n- [Tailwind CSS](https://tailwindcss.com/)\n- [shadcn/ui](https://ui.shadcn.com/)\n- [Framer Motion](https://www.framer.com/)\n- [Sonner toast](https://sonner.emilkowal.ski/)\n- [Lucide icons](https://lucide.dev/)\n- [React Intersection Observer](https://www.npmjs.com/package/react-intersection-observer)\n- [React Hook Form](https://react-hook-form.com/)\n- [@hookform/resolvers](https://www.npmjs.com/package/@hookform/resolvers)\n- [Zod](https://zod.dev/)\n- [Resend](https://resend.com/)\n- [React email](https://react.email/)\n- [Google reCAPTCHA v3](https://www.google.com/recaptcha/about/)\n\n### Layout\n\n![layout picture](https://github.com/ev0clu/portfolio/blob/main/public/og.jpg?raw=true)\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fev0clu%2Fportfolio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fev0clu%2Fportfolio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fev0clu%2Fportfolio/lists"}