silent-akinator-pro 1.0.0 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +13 -19
  2. package/index.js +36 -0
  3. package/package.json +4 -7
package/README.md CHANGED
@@ -1,30 +1,24 @@
1
- # 🧞 SILENT-AKINATOR PRO 🧞
1
+ # 🧞 SILENT-AKINATOR PRO
2
2
  ### 🛡️ THE ONLY BYPASS-READY AKINATOR SDK
3
3
 
4
- Are you tired of the **"Failed to get session and signature"** error on your WhatsApp Bot?
5
- Standard libraries like `aki-api` are blocked by Cloudflare on VPS/Pterodactyl.
4
+ Standard libraries like `aki-api` are blocked by Cloudflare on VPS/Pterodactyl. This package wraps the core logic with a **Proxy-Shield** that rotates through private residential IPs automatically.
6
5
 
7
- **Silent-Akinator Pro** uses the **Silent-Tech Proxy-Shield** to rotate through 10 private residential proxies automatically, ensuring your game never crashes.
6
+ ## 🚀 INSTALL
7
+ `npm install silent-akinator-pro`
8
8
 
9
- ## 🚀 INSTALLATION
10
- ```bash
11
- npm install silent-akinator-pro
12
- ```
13
-
14
- ## 💻 QUICK START
9
+ ## 💻 USAGE (Exact aqul-logic)
15
10
  ```javascript
16
11
  const SilentAki = require('silent-akinator-pro');
17
- const aki = new SilentAki('en');
12
+ const manager = new SilentAki({region:'en'});
18
13
 
19
14
  (async () => {
20
- const firstQuestion = await aki.start();
21
- console.log(firstQuestion.question);
15
+ // This will try 10 proxies automatically until it connects
16
+ const api = await manager.start();
17
+ console.log(api.question);
18
+
19
+ // Answer using 0-4
20
+ await api.answer(0);
21
+ console.log(api.question);
22
22
  })();
23
23
  ```
24
-
25
- ## 👑 FEATURES
26
- - ✅ **Auto-Proxy Rotation:** 10 Private proxies built-in.
27
- - ✅ **VPS Optimized:** Works on Pterodactyl, Heroku, and Railway.
28
- - ✅ **Anti-Cloudflare:** Mimics real browser fingerprints.
29
-
30
24
  Built by **Silent Tech** 💀
package/index.js ADDED
@@ -0,0 +1,36 @@
1
+ const { Akinator } = require("@aqul/akinator-api");
2
+ const { HttpsProxyAgent } = require("https-proxy-agent");
3
+ class SilentAki {
4
+ constructor(config = { region: 'en', childMode: false }) {
5
+ this.config = config;
6
+ this.proxies = [
7
+ "http://kfcqidym:pb146svuz0dy@31.59.20.176:6754",
8
+ "http://kfcqidym:pb146svuz0dy@23.95.150.145:6114",
9
+ "http://kfcqidym:pb146svuz0dy@198.23.239.134:6540",
10
+ "http://kfcqidym:pb146svuz0dy@45.38.107.97:6014",
11
+ "http://kfcqidym:pb146svuz0dy@107.172.163.27:6543",
12
+ "http://kfcqidym:pb146svuz0dy@198.105.121.200:6462",
13
+ "http://kfcqidym:pb146svuz0dy@64.137.96.74:6641",
14
+ "http://kfcqidym:pb146svuz0dy@216.10.27.159:6837",
15
+ "http://kfcqidym:pb146svuz0dy@142.111.67.146:5611",
16
+ "http://kfcqidym:pb146svuz0dy@191.96.254.138:6185"
17
+ ];
18
+ }
19
+ async start() {
20
+ let shuffled = this.proxies.sort(() => 0.5 - Math.random());
21
+ for (let proxy of shuffled) {
22
+ try {
23
+ const aki = new Akinator(this.config);
24
+ aki.client.defaults.httpsAgent = new HttpsProxyAgent(proxy);
25
+ aki.client.defaults.proxy = false;
26
+ await aki.start();
27
+ return aki;
28
+ } catch (e) {
29
+ console.log("Rotating Proxy Shield...");
30
+ continue;
31
+ }
32
+ }
33
+ throw new Error("Cloudflare Block: All 10 Silent-Tech Proxies failed.");
34
+ }
35
+ }
36
+ module.exports = SilentAki;
package/package.json CHANGED
@@ -1,16 +1,13 @@
1
1
  {
2
2
  "name": "silent-akinator-pro",
3
- "version": "1.0.0",
4
- "description": "The only Akinator API that bypasses VPS/Pterodactyl blocks using Silent-Tech Proxy-Shield.",
3
+ "version": "1.0.5",
4
+ "description": "Premium Akinator API with built-in Proxy-Shield. Fixes 'Failed to get session and signature' on VPS, Pterodactyl, and Heroku.",
5
5
  "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "keywords": ["akinator", "whatsapp-bot", "proxy", "bypass"],
6
+ "keywords": ["akinator", "aki", "akinator-api", "akinator-bot", "baileys", "wa-bot", "cloudflare-bypass", "proxy-akinator", "pterodactyl-fix", "silent-tech"],
10
7
  "author": "Silent Tech",
11
8
  "license": "MIT",
12
9
  "dependencies": {
13
- "axios": "^1.6.0",
10
+ "@aqul/akinator-api": "^3.0.1",
14
11
  "https-proxy-agent": "^7.0.2"
15
12
  }
16
13
  }