silent-akinator-pro 1.0.1 → 1.0.6
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.
- package/README.md +13 -19
- package/index.js +25 -16
- package/package.json +4 -12
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
|
-
|
|
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
|
-
|
|
6
|
+
## 🚀 INSTALL
|
|
7
|
+
`npm install silent-akinator-pro`
|
|
8
8
|
|
|
9
|
-
##
|
|
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
|
|
12
|
+
const manager = new SilentAki({region:'en'});
|
|
18
13
|
|
|
19
14
|
(async () => {
|
|
20
|
-
|
|
21
|
-
|
|
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
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
const { HttpsProxyAgent } = require(
|
|
1
|
+
const { Akinator } = require("@aqul/akinator-api");
|
|
2
|
+
const { HttpsProxyAgent } = require("https-proxy-agent");
|
|
3
3
|
|
|
4
|
-
class SilentAki {
|
|
5
|
-
constructor(
|
|
6
|
-
|
|
4
|
+
class SilentAki extends Akinator {
|
|
5
|
+
constructor(config = { region: 'en', childMode: false }) {
|
|
6
|
+
super(config);
|
|
7
7
|
this.proxies = [
|
|
8
8
|
"http://kfcqidym:pb146svuz0dy@31.59.20.176:6754",
|
|
9
9
|
"http://kfcqidym:pb146svuz0dy@23.95.150.145:6114",
|
|
@@ -19,17 +19,26 @@ class SilentAki {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
async start() {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
let success = false;
|
|
23
|
+
let shuffled = this.proxies.sort(() => 0.5 - Math.random());
|
|
24
|
+
|
|
25
|
+
for (let proxy of shuffled) {
|
|
26
|
+
try {
|
|
27
|
+
// Inject Proxy into the base library's Axios client
|
|
28
|
+
const agent = new HttpsProxyAgent(proxy);
|
|
29
|
+
this.client.defaults.httpsAgent = agent;
|
|
30
|
+
this.client.defaults.proxy = false;
|
|
31
|
+
|
|
32
|
+
await super.start();
|
|
33
|
+
success = true;
|
|
34
|
+
console.log("🛡️ Silent-Tech Shield: Bypass Successful via " + proxy.split('@')[1]);
|
|
35
|
+
break;
|
|
36
|
+
} catch (e) {
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
32
39
|
}
|
|
40
|
+
if (!success) throw new Error("CRITICAL: All 10 Silent-Tech Proxies are blocked.");
|
|
33
41
|
}
|
|
34
42
|
}
|
|
35
|
-
|
|
43
|
+
|
|
44
|
+
module.exports = { Akinator: SilentAki };
|
package/package.json
CHANGED
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "silent-akinator-pro",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"description": "Premium Akinator API with built-in Proxy-Shield and Silent Tech branding. Fixes 'Failed to get session and signature' on VPS/Pterodactyl.",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
9
|
-
"keywords": [
|
|
10
|
-
"akinator",
|
|
11
|
-
"whatsapp-bot",
|
|
12
|
-
"proxy",
|
|
13
|
-
"bypass"
|
|
14
|
-
],
|
|
6
|
+
"keywords": ["akinator", "aki", "@aqul/akinator-api", "baileys", "wa-bot", "cloudflare-bypass", "silent-tech"],
|
|
15
7
|
"author": "Silent Tech",
|
|
16
8
|
"license": "MIT",
|
|
17
9
|
"dependencies": {
|
|
18
|
-
"
|
|
10
|
+
"@aqul/akinator-api": "^3.0.1",
|
|
19
11
|
"https-proxy-agent": "^7.0.2"
|
|
20
12
|
}
|
|
21
13
|
}
|