Skip to content

Commit bd25602

Browse files
committed
chore: update project references and naming to reflect rebranding to whatsapp-web-api
1 parent c036844 commit bd25602

7 files changed

Lines changed: 48 additions & 58 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v3
26-
- run: docker build -t whatsapp-web-http .
26+
- run: docker build -t whatsapp-web-api .

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- 'v*'
1010

1111
env:
12-
IMAGE_NAME: cpolive/whatsapp-web-http
12+
IMAGE_NAME: cpolive/whatsapp-web-api
1313

1414
jobs:
1515
build-and-push:

CHANGELOG.md

Lines changed: 26 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,65 @@
1-
# [1.4.0](https://github.com/caiopizzol/whatsapp-web-http/compare/v1.3.1...v1.4.0) (2025-07-26)
2-
1+
# [1.4.0](https://github.com/caiopizzol/whatsapp-web-api/compare/v1.3.1...v1.4.0) (2025-07-26)
32

43
### Features
54

6-
* unify message sending to support text and media ([940f9ec](https://github.com/caiopizzol/whatsapp-web-http/commit/940f9ec336fd65119daf90b8cb5c41752cc212f0))
7-
8-
## [1.3.1](https://github.com/caiopizzol/whatsapp-web-http/compare/v1.3.0...v1.3.1) (2025-07-24)
5+
- unify message sending to support text and media ([940f9ec](https://github.com/caiopizzol/whatsapp-web-api/commit/940f9ec336fd65119daf90b8cb5c41752cc212f0))
96

7+
## [1.3.1](https://github.com/caiopizzol/whatsapp-web-api/compare/v1.3.0...v1.3.1) (2025-07-24)
108

119
### Bug Fixes
1210

13-
* add MacOS support for Puppeteer executable path ([4c3599b](https://github.com/caiopizzol/whatsapp-web-http/commit/4c3599b321dc02ee53eebfdf41f3cd3f84a85e4c))
14-
15-
# [1.3.0](https://github.com/caiopizzol/whatsapp-web-http/compare/v1.2.0...v1.3.0) (2025-07-24)
11+
- add MacOS support for Puppeteer executable path ([4c3599b](https://github.com/caiopizzol/whatsapp-web-api/commit/4c3599b321dc02ee53eebfdf41f3cd3f84a85e4c))
1612

13+
# [1.3.0](https://github.com/caiopizzol/whatsapp-web-api/compare/v1.2.0...v1.3.0) (2025-07-24)
1714

1815
### Features
1916

20-
* enhance session recovery for disconnected sessions ([2e77f3c](https://github.com/caiopizzol/whatsapp-web-http/commit/2e77f3c938dca8db89f32b63ecb72717f3ded979))
21-
22-
# [1.2.0](https://github.com/caiopizzol/whatsapp-web-http/compare/v1.1.3...v1.2.0) (2025-07-24)
17+
- enhance session recovery for disconnected sessions ([2e77f3c](https://github.com/caiopizzol/whatsapp-web-api/commit/2e77f3c938dca8db89f32b63ecb72717f3ded979))
2318

19+
# [1.2.0](https://github.com/caiopizzol/whatsapp-web-api/compare/v1.1.3...v1.2.0) (2025-07-24)
2420

2521
### Features
2622

27-
* enhance session management with disk persistence ([3bc712a](https://github.com/caiopizzol/whatsapp-web-http/commit/3bc712a0f57618cb9a46258e49dd307022f7701b))
28-
29-
## [1.1.3](https://github.com/caiopizzol/whatsapp-web-http/compare/v1.1.2...v1.1.3) (2025-07-24)
23+
- enhance session management with disk persistence ([3bc712a](https://github.com/caiopizzol/whatsapp-web-api/commit/3bc712a0f57618cb9a46258e49dd307022f7701b))
3024

25+
## [1.1.3](https://github.com/caiopizzol/whatsapp-web-api/compare/v1.1.2...v1.1.3) (2025-07-24)
3126

3227
### Bug Fixes
3328

34-
* update qrMaxRetries in SessionManager for improved session handling ([06010bb](https://github.com/caiopizzol/whatsapp-web-http/commit/06010bb686a611765ba8ee7912fca573b1cbff69))
35-
36-
## [1.1.2](https://github.com/caiopizzol/whatsapp-web-http/compare/v1.1.1...v1.1.2) (2025-07-24)
29+
- update qrMaxRetries in SessionManager for improved session handling ([06010bb](https://github.com/caiopizzol/whatsapp-web-api/commit/06010bb686a611765ba8ee7912fca573b1cbff69))
3730

31+
## [1.1.2](https://github.com/caiopizzol/whatsapp-web-api/compare/v1.1.1...v1.1.2) (2025-07-24)
3832

3933
### Bug Fixes
4034

41-
* enhance session creation logic to allow for optional session ID ([2f3712c](https://github.com/caiopizzol/whatsapp-web-http/commit/2f3712c9c448d1b78008365d69bfc91a64fb8ecd))
42-
43-
## [1.1.1](https://github.com/caiopizzol/whatsapp-web-http/compare/v1.1.0...v1.1.1) (2025-07-24)
35+
- enhance session creation logic to allow for optional session ID ([2f3712c](https://github.com/caiopizzol/whatsapp-web-api/commit/2f3712c9c448d1b78008365d69bfc91a64fb8ecd))
4436

37+
## [1.1.1](https://github.com/caiopizzol/whatsapp-web-api/compare/v1.1.0...v1.1.1) (2025-07-24)
4538

4639
### Bug Fixes
4740

48-
* simplify session creation and update README for clearer usage instructions ([d059f4f](https://github.com/caiopizzol/whatsapp-web-http/commit/d059f4f893c7eadedf0e7468621abfec2bce2c83))
49-
50-
# [1.1.0](https://github.com/caiopizzol/whatsapp-web-http/compare/v1.0.0...v1.1.0) (2025-07-24)
41+
- simplify session creation and update README for clearer usage instructions ([d059f4f](https://github.com/caiopizzol/whatsapp-web-api/commit/d059f4f893c7eadedf0e7468621abfec2bce2c83))
5142

43+
# [1.1.0](https://github.com/caiopizzol/whatsapp-web-api/compare/v1.0.0...v1.1.0) (2025-07-24)
5244

5345
### Features
5446

55-
* update Dockerfile and package.json for improved structure and dependencies; add session management features and middleware ([213150d](https://github.com/caiopizzol/whatsapp-web-http/commit/213150d89c7afbcdf3f9b0d2ae3b278f0183da88))
47+
- update Dockerfile and package.json for improved structure and dependencies; add session management features and middleware ([213150d](https://github.com/caiopizzol/whatsapp-web-api/commit/213150d89c7afbcdf3f9b0d2ae3b278f0183da88))
5648

5749
# 1.0.0 (2025-07-23)
5850

59-
6051
### Bug Fixes
6152

62-
* update API endpoint prefixes in README, test-local.sh, and app.ts ([14f6b3b](https://github.com/caiopizzol/whatsapp-web-http/commit/14f6b3befd571a2766c11e83b703d432153dadf4))
63-
* update Brazilian phone number formatting for WhatsApp compatibility by removing the 9th digit ([34491e5](https://github.com/caiopizzol/whatsapp-web-http/commit/34491e5549b3e4c64bac9b247d9dde46d178e28b))
64-
53+
- update API endpoint prefixes in README, test-local.sh, and app.ts ([14f6b3b](https://github.com/caiopizzol/whatsapp-web-api/commit/14f6b3befd571a2766c11e83b703d432153dadf4))
54+
- update Brazilian phone number formatting for WhatsApp compatibility by removing the 9th digit ([34491e5](https://github.com/caiopizzol/whatsapp-web-api/commit/34491e5549b3e4c64bac9b247d9dde46d178e28b))
6555

6656
### Features
6757

68-
* add .env.example file for environment variable configuration and update session route from /session to /sessions ([143c7cd](https://github.com/caiopizzol/whatsapp-web-http/commit/143c7cd971aae6d39d0531ef391db33e5ab79562))
69-
* add Caddy labels for reverse proxy configuration in docker-compose ([977e232](https://github.com/caiopizzol/whatsapp-web-http/commit/977e23246ee4558428c4cdb1c49b54bcb0cc8bec))
70-
* add CONTRIBUTING.md, SECURITY.md, and LICENSE files; update README for clarity and structure ([f8ff2d5](https://github.com/caiopizzol/whatsapp-web-http/commit/f8ff2d581f0c73ae3e1bbcb125e4dbba56d7e7ba))
71-
* add load and reliability testing scripts, enhance API authentication ([cb6d210](https://github.com/caiopizzol/whatsapp-web-http/commit/cb6d2104a95ff5bc502bbe64b0b84ce7d2da9c01))
72-
* add QR code display functionality to test-local.sh ([4ec56b9](https://github.com/caiopizzol/whatsapp-web-http/commit/4ec56b9b774d598c34784c1b31185d94071377a3))
73-
* add root route for API information and update auth hook to skip root route ([3c3fd0b](https://github.com/caiopizzol/whatsapp-web-http/commit/3c3fd0bfecb9861fc853070074a72a7d78f24d5e))
74-
* enhance session management in WhatsApp service; update README and add SESSION_USAGE.md for detailed session handling instructions ([25da677](https://github.com/caiopizzol/whatsapp-web-http/commit/25da677976d071875b58bb5a45941a4659a0ae6b))
75-
* implement phone number formatting for WhatsApp compatibility, including handling Brazilian numbers ([ef8de5e](https://github.com/caiopizzol/whatsapp-web-http/commit/ef8de5ea7ddec3b46554d264d89f9927d648ddb6))
58+
- add .env.example file for environment variable configuration and update session route from /session to /sessions ([143c7cd](https://github.com/caiopizzol/whatsapp-web-api/commit/143c7cd971aae6d39d0531ef391db33e5ab79562))
59+
- add Caddy labels for reverse proxy configuration in docker-compose ([977e232](https://github.com/caiopizzol/whatsapp-web-api/commit/977e23246ee4558428c4cdb1c49b54bcb0cc8bec))
60+
- add CONTRIBUTING.md, SECURITY.md, and LICENSE files; update README for clarity and structure ([f8ff2d5](https://github.com/caiopizzol/whatsapp-web-api/commit/f8ff2d581f0c73ae3e1bbcb125e4dbba56d7e7ba))
61+
- add load and reliability testing scripts, enhance API authentication ([cb6d210](https://github.com/caiopizzol/whatsapp-web-api/commit/cb6d2104a95ff5bc502bbe64b0b84ce7d2da9c01))
62+
- add QR code display functionality to test-local.sh ([4ec56b9](https://github.com/caiopizzol/whatsapp-web-api/commit/4ec56b9b774d598c34784c1b31185d94071377a3))
63+
- add root route for API information and update auth hook to skip root route ([3c3fd0b](https://github.com/caiopizzol/whatsapp-web-api/commit/3c3fd0bfecb9861fc853070074a72a7d78f24d5e))
64+
- enhance session management in WhatsApp service; update README and add SESSION_USAGE.md for detailed session handling instructions ([25da677](https://github.com/caiopizzol/whatsapp-web-api/commit/25da677976d071875b58bb5a45941a4659a0ae6b))
65+
- implement phone number formatting for WhatsApp compatibility, including handling Brazilian numbers ([ef8de5e](https://github.com/caiopizzol/whatsapp-web-api/commit/ef8de5ea7ddec3b46554d264d89f9927d648ddb6))

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Keep it simple. This service does one thing: send WhatsApp messages through ONE
2525
### Getting Started
2626

2727
1. Fork the repository
28-
2. Clone your fork: `git clone https://github.com/caiopizzol/whatsapp-web-http.git`
28+
2. Clone your fork: `git clone https://github.com/caiopizzol/whatsapp-web-api.git`
2929
3. Install dependencies: `npm install`
3030
4. Create a branch: `git checkout -b feature/your-feature`
3131

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# WhatsApp HTTP Service
22

3-
[![Docker Pulls](https://img.shields.io/docker/pulls/cpolive/whatsapp-web-http)](https://hub.docker.com/r/cpolive/whatsapp-web-http)
4-
[![Docker Image Size](https://img.shields.io/docker/image-size/cpolive/whatsapp-web-http/latest)](https://hub.docker.com/r/cpolive/whatsapp-web-http)
3+
[![Docker Pulls](https://img.shields.io/docker/pulls/cpolive/whatsapp-web-api)](https://hub.docker.com/r/cpolive/whatsapp-web-api)
4+
[![Docker Image Size](https://img.shields.io/docker/image-size/cpolive/whatsapp-web-api/latest)](https://hub.docker.com/r/cpolive/whatsapp-web-api)
55

66
HTTP service for WhatsApp messages. Built on [whatsapp-web.js](https://wwebjs.dev/).
77

@@ -24,21 +24,21 @@ HTTP service for WhatsApp messages. Built on [whatsapp-web.js](https://wwebjs.de
2424

2525
```bash
2626
# Pull the image
27-
docker pull cpolive/whatsapp-web-http:latest
27+
docker pull cpolive/whatsapp-web-api:latest
2828

2929
# Run the container
3030
docker run -d \
3131
-p 3000:3000 \
3232
-e AUTH_TOKEN=your-secret-token-here \
3333
-v ./whatsapp-sessions:/app/.wwebjs_auth \
3434
--name whatsapp \
35-
cpolive/whatsapp-web-http:latest
35+
cpolive/whatsapp-web-api:latest
3636

3737
# Or use Docker Compose
3838
cat > docker-compose.yml << 'EOF'
3939
services:
4040
whatsapp:
41-
image: cpolive/whatsapp-web-http:latest
41+
image: cpolive/whatsapp-web-api:latest
4242
ports:
4343
- "3000:3000"
4444
environment:
@@ -55,8 +55,8 @@ docker-compose up -d
5555

5656
```bash
5757
# Clone and configure
58-
git clone https://github.com/caiopizzol/whatsapp-web-http.git
59-
cd whatsapp-web-http
58+
git clone https://github.com/caiopizzol/whatsapp-web-api.git
59+
cd whatsapp-web-api
6060
export AUTH_TOKEN=your-secret-token-here
6161

6262
# Run with Docker
@@ -187,8 +187,8 @@ HTTP service para mensagens WhatsApp. Construído sobre [whatsapp-web.js](https:
187187

188188
```bash
189189
# Clone e configure
190-
git clone https://github.com/caiopizzol/whatsapp-web-http.git
191-
cd whatsapp-web-http
190+
git clone https://github.com/caiopizzol/whatsapp-web-api.git
191+
cd whatsapp-web-api
192192
export AUTH_TOKEN=seu-token-secreto-aqui
193193

194194
# Execute com Docker
@@ -288,7 +288,7 @@ NODE_ENV=production
288288
# docker-compose.yml
289289
services:
290290
whatsapp:
291-
image: cpolive/whatsapp-web-http:1.4.0 # Or use :latest for latest version
291+
image: cpolive/whatsapp-web-api:1.4.0 # Or use :latest for latest version
292292
ports:
293293
- '3000:3000'
294294
environment:

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This service uses whatsapp-web.js which:
1717

1818
## Reporting a Vulnerability
1919

20-
Please report security vulnerabilities via GitHub Issues at: https://github.com/caiopizzol/whatsapp-web-http/issues
20+
Please report security vulnerabilities via GitHub Issues at: https://github.com/caiopizzol/whatsapp-web-api/issues
2121

2222
Include:
2323

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "whatsapp-web-http",
2+
"name": "whatsapp-web-api",
33
"version": "1.4.0",
44
"description": "WhatsApp HTTP - Simple HTTP service for WhatsApp. Built on whatsapp-web.js.",
55
"keywords": [
@@ -20,11 +20,11 @@
2020
"lint:fix": "eslint src lib middleware examples --fix",
2121
"format": "prettier --write \"src/**/*.js\" \"lib/**/*.js\" \"middleware/**/*.js\" \"examples/**/*.js\"",
2222
"format:check": "prettier --check \"src/**/*.js\" \"lib/**/*.js\" \"middleware/**/*.js\" \"examples/**/*.js\"",
23-
"docker:build": "docker build -t cpolive/whatsapp-web-http:latest .",
24-
"docker:build:version": "docker build -t cpolive/whatsapp-web-http:$(node -p \"require('./package.json').version\") .",
23+
"docker:build": "docker build -t cpolive/whatsapp-web-api:latest .",
24+
"docker:build:version": "docker build -t cpolive/whatsapp-web-api:$(node -p \"require('./package.json').version\") .",
2525
"docker:push": "npm run docker:push:latest && npm run docker:push:version",
26-
"docker:push:latest": "docker push cpolive/whatsapp-web-http:latest",
27-
"docker:push:version": "docker push cpolive/whatsapp-web-http:$(node -p \"require('./package.json').version\")",
26+
"docker:push:latest": "docker push cpolive/whatsapp-web-api:latest",
27+
"docker:push:version": "docker push cpolive/whatsapp-web-api:$(node -p \"require('./package.json').version\")",
2828
"docker:release": "npm run docker:build && npm run docker:build:version && npm run docker:push",
2929
"docker:run": "docker-compose up -d",
3030
"docker:logs": "docker-compose logs -f",
@@ -55,15 +55,15 @@
5555
},
5656
"repository": {
5757
"type": "git",
58-
"url": "git+https://github.com/caiopizzol/whatsapp-web-http.git"
58+
"url": "git+https://github.com/caiopizzol/whatsapp-web-api.git"
5959
},
6060
"publishConfig": {
6161
"access": "public"
6262
},
6363
"bugs": {
64-
"url": "https://github.com/caiopizzol/whatsapp-web-http/issues"
64+
"url": "https://github.com/caiopizzol/whatsapp-web-api/issues"
6565
},
66-
"homepage": "https://github.com/caiopizzol/whatsapp-web-http#readme",
66+
"homepage": "https://github.com/caiopizzol/whatsapp-web-api#readme",
6767
"engines": {
6868
"node": ">=18.0.0"
6969
}

0 commit comments

Comments
 (0)