-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
49 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM node:alpine | ||
WORKDIR /app | ||
RUN apk add --no-cache git bash | ||
RUN git clone https://github.com/AstroX11/XstroSession . | ||
RUN yarn install --production | ||
EXPOSE 8000 | ||
CMD ["npm", "start"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,45 @@ | ||
# Express-pairing-code | ||
Baileys Session Gen Using Express | ||
### Full Featured Web Pair API / Baileys Pair Code | ||
|
||
Xstro Session Generator provides an easy and reliable way to generate and manage Baileys session using the latest version of `@whiskeysockets/baileys`. | ||
|
||
session.guruapi.tech is using this repo , so don't disturb me by asking if i use any other repo for session | ||
### About | ||
|
||
 | ||
- **Session Persistence**: Auto saves and load session data for easy use. | ||
- **Lightweight & Fast**: Built with a minimal footprint using Node.js and `@whiskeysockets/baileys`. | ||
- **Web Interface**: Accessible Web interface for pairing. | ||
|
||
### Installation | ||
|
||
#### Clone the Repository (Local) | ||
|
||
```bash | ||
git clone https://github.com/AstroX11/XstroSession | ||
cd XstroSession | ||
``` | ||
|
||
#### Install Dependencies with Yarn | ||
|
||
```bash | ||
yarn install | ||
``` | ||
|
||
#### Start the Server | ||
|
||
```bash | ||
npm start | ||
``` | ||
|
||
### Usage | ||
|
||
- Access the web interface by navigating to `http://localhost:3000` after starting the server. | ||
- Use the pair code to connect to WA, your creds are saved locally. | ||
|
||
### Requirements | ||
|
||
- Node.js (v18+) | ||
- Yarn (for dependency management) | ||
- Git (for cloning the repository) | ||
|
||
### License | ||
|
||
This project is licensed under [MIT License](LICENSE). |