Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroX11 committed Dec 3, 2024
1 parent 27c6012 commit 30cb873
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 4 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
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"]
46 changes: 42 additions & 4 deletions README.md
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

![image](https://github.com/user-attachments/assets/4d45804c-3d44-4f54-b74d-95617f28e2ef)
- **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).

0 comments on commit 30cb873

Please sign in to comment.