[PR #214] [MERGED] Make website portable using vite-envs plugin, bump node version in Dockerfiles & automatically build docker images #220

Closed
opened 2026-02-27 04:59:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/guyzyl/whatsapp-contact-sync/pull/214
Author: @MRDGH2821
Created: 7/20/2025
Status: Merged
Merged: 1/24/2026
Merged by: @guyzyl

Base: mainHead: main


📝 Commits (10+)

  • 1453247 Fix typo
  • c511c7b Add docker compose file
  • bcae223 Use vite-envs plugin
  • 79ccc0d Add docker compose files for individual services
  • a08b5bb Add project name
  • 4139033 Merge remote-tracking branch 'upstream/main'
  • 20939bb Update node to latest LTS versions and add health check
  • ed1ff0a Remove redundant quotes
  • e88fda9 Add image building workflow
  • b2742b9 Bump website package to 1.0.0

📊 Changes

44 files changed (+3716 additions, -3334 deletions)

View changed files

📝 .dockerignore (+1 -0)
.github/FUNDING.yml (+2 -0)
📝 .github/dependabot.yml (+7 -7)
.github/workflows/build-image.yml (+74 -0)
.prettierignore (+2 -0)
.prettierrc.json (+18 -0)
.vscode/settings.json (+4 -0)
📝 .vscode/tasks.json (+10 -5)
📝 Dockerfile (+58 -25)
📝 LICENSE (+2 -2)
📝 README.md (+26 -8)
📝 assets/entrypoint.sh (+1 -1)
assets/healthcheck.sh (+19 -0)
docker-compose.yml (+45 -0)
📝 server/Dockerfile (+41 -21)
server/docker-compose.yml (+15 -0)
📝 server/main.ts (+6 -6)
📝 server/package-lock.json (+1962 -1959)
📝 server/package.json (+41 -18)
📝 server/routes/api.ts (+28 -12)

...and 24 more files

📄 Description

Tried and tested using local node version (v24.4.1) & docker container methods (which are using node-22).

This PR makes use of vite-envs plugin, so no hardcoding of secrets required, just changing values in .env file should work.

Added docker-compose files for convenience.

Removed quotes from yaml files using yamllint.

Added GitHub action to automatically build & publish docker image.

Bumped version number to v1.0.0 & added description & funding. Also renamed package names.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/guyzyl/whatsapp-contact-sync/pull/214 **Author:** [@MRDGH2821](https://github.com/MRDGH2821) **Created:** 7/20/2025 **Status:** ✅ Merged **Merged:** 1/24/2026 **Merged by:** [@guyzyl](https://github.com/guyzyl) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`1453247`](https://github.com/guyzyl/whatsapp-contact-sync/commit/1453247c625eb730ece47cebcda5411257e34ffe) Fix typo - [`c511c7b`](https://github.com/guyzyl/whatsapp-contact-sync/commit/c511c7baa5c1a9ef5d2b2c2f2dcb8d066f24dd85) Add docker compose file - [`bcae223`](https://github.com/guyzyl/whatsapp-contact-sync/commit/bcae223f4ee1bcb69ab9db5a135e5890493f79dd) Use vite-envs plugin - [`79ccc0d`](https://github.com/guyzyl/whatsapp-contact-sync/commit/79ccc0d6e672628cc12fd5281b109ffbf0dd9d5c) Add docker compose files for individual services - [`a08b5bb`](https://github.com/guyzyl/whatsapp-contact-sync/commit/a08b5bba98114c59fd743a8281d396f666c64a64) Add project name - [`4139033`](https://github.com/guyzyl/whatsapp-contact-sync/commit/413903394936403c5581e4e0017b4cd2ea457c51) Merge remote-tracking branch 'upstream/main' - [`20939bb`](https://github.com/guyzyl/whatsapp-contact-sync/commit/20939bb0a7dde8227e4e41e5118f9cb9889126cc) Update node to latest LTS versions and add health check - [`ed1ff0a`](https://github.com/guyzyl/whatsapp-contact-sync/commit/ed1ff0ac9e55e3155f387fb04ce5ed080b4189a6) Remove redundant quotes - [`e88fda9`](https://github.com/guyzyl/whatsapp-contact-sync/commit/e88fda905243ab4bdd11d5f722e6e176f5077a0f) Add image building workflow - [`b2742b9`](https://github.com/guyzyl/whatsapp-contact-sync/commit/b2742b91f3a32adfc222d2fec537d6ebe983887b) Bump website package to 1.0.0 ### 📊 Changes **44 files changed** (+3716 additions, -3334 deletions) <details> <summary>View changed files</summary> 📝 `.dockerignore` (+1 -0) ➕ `.github/FUNDING.yml` (+2 -0) 📝 `.github/dependabot.yml` (+7 -7) ➕ `.github/workflows/build-image.yml` (+74 -0) ➕ `.prettierignore` (+2 -0) ➕ `.prettierrc.json` (+18 -0) ➕ `.vscode/settings.json` (+4 -0) 📝 `.vscode/tasks.json` (+10 -5) 📝 `Dockerfile` (+58 -25) 📝 `LICENSE` (+2 -2) 📝 `README.md` (+26 -8) 📝 `assets/entrypoint.sh` (+1 -1) ➕ `assets/healthcheck.sh` (+19 -0) ➕ `docker-compose.yml` (+45 -0) 📝 `server/Dockerfile` (+41 -21) ➕ `server/docker-compose.yml` (+15 -0) 📝 `server/main.ts` (+6 -6) 📝 `server/package-lock.json` (+1962 -1959) 📝 `server/package.json` (+41 -18) 📝 `server/routes/api.ts` (+28 -12) _...and 24 more files_ </details> ### 📄 Description Tried and tested using local node version (v24.4.1) & docker container methods (which are using node-22). This PR makes use of [`vite-envs`](https://github.com/garronej/vite-envs) plugin, so no hardcoding of secrets required, just changing values in `.env` file should work. Added docker-compose files for convenience. Removed quotes from yaml files using [`yamllint`](https://github.com/adrienverge/yamllint). Added GitHub action to automatically build & publish docker image. Bumped version number to `v1.0.0` & added description & funding. Also renamed package names. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 04:59:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whatsapp-contact-sync#220
No description provided.