shan-server 1.0.2 → 1.0.3
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/.github/workflows/shan.yml +21 -0
- package/LICENSE +21 -0
- package/README.md +74 -2
- package/package.json +5 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: "publish npm"
|
|
2
|
+
|
|
3
|
+
on: push
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
publish:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- name: Checkout
|
|
10
|
+
uses: actions/checkout@v4
|
|
11
|
+
|
|
12
|
+
- name: Setup Node.js
|
|
13
|
+
uses: actions/setup-node@v4
|
|
14
|
+
with:
|
|
15
|
+
node-version: 16
|
|
16
|
+
registry-url: https://registry.npmjs.org
|
|
17
|
+
|
|
18
|
+
- name: Publish to NPM
|
|
19
|
+
run: npm publish --access public
|
|
20
|
+
env:
|
|
21
|
+
NODE_AUTH_TOKEN: ${{ secrets.SHAN }}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 SH AN
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
```
|
|
14
14
|
## Last Update
|
|
15
15
|
```print
|
|
16
|
-
|
|
16
|
+
Baby Ai and Baby Ai Teach
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Example (all platform supported)
|
|
@@ -383,7 +383,7 @@ const { ShAnImgur } = require("shan-server");
|
|
|
383
383
|
const author = "♡︎ 𝗦𝗵𝗔𝗻 ♡︎";
|
|
384
384
|
|
|
385
385
|
const url = 'url' // past achievement url
|
|
386
|
-
const res = ShAnImgur(url, author);
|
|
386
|
+
const res = await ShAnImgur(url, author);
|
|
387
387
|
console.log(res)
|
|
388
388
|
```
|
|
389
389
|
## Output Example (Imgur upload)
|
|
@@ -397,6 +397,78 @@ console.log(res)
|
|
|
397
397
|
}
|
|
398
398
|
```
|
|
399
399
|
|
|
400
|
+
## Example (Baby Ai)
|
|
401
|
+
```js
|
|
402
|
+
const { ShAnBaby } = require('shan-server');
|
|
403
|
+
const author = "♡︎ 𝗦𝗵𝗔𝗻 ♡︎";
|
|
404
|
+
const text = "Who created you";
|
|
405
|
+
const uid = "100045644423035"; //facebook uid
|
|
406
|
+
const font = "3"; // font style
|
|
407
|
+
|
|
408
|
+
const res = await ShAnBaby(text, uid, font, author);
|
|
409
|
+
console.log(res);
|
|
410
|
+
```
|
|
411
|
+
## Output Example (Baby Ai)
|
|
412
|
+
```
|
|
413
|
+
{
|
|
414
|
+
"status": "Success",
|
|
415
|
+
"author": "♡︎ 𝗦𝗵𝗔𝗻 ♡︎",
|
|
416
|
+
"devfb": "https://m.facebook.com/Sh4n.Dev1",
|
|
417
|
+
"devwp": "https://wa.me/+8801825829588",
|
|
418
|
+
"ShAn": "𝐌𝐲 𝐨𝐰𝐧𝐞𝐫 ♡︎ 𝗦𝗵𝗔𝗻 ♡︎ 𝐛𝐛𝐲",
|
|
419
|
+
"react": "😊"
|
|
420
|
+
}
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
## Example (Baby Ai Teach)
|
|
424
|
+
```js
|
|
425
|
+
const { ShAnBteach } = require('shan-server');
|
|
426
|
+
const author = "♡︎ 𝗦𝗵𝗔𝗻 ♡︎";
|
|
427
|
+
const ask = "Who created you";
|
|
428
|
+
const ans = "My Boss ♡︎ 𝗦𝗵𝗔𝗻 ♡︎"; // Multiple teach available eg: const ans = " My boss ♡︎ 𝗦𝗵𝗔𝗻 ♡︎, My Owner ♡︎ 𝗦𝗵𝗔𝗻 ♡︎";
|
|
429
|
+
const uid = "100045644423035"; //facebook uid
|
|
430
|
+
const font = "3"; // font style
|
|
431
|
+
|
|
432
|
+
const res = await ShAnBteach: (ask, ans, uid, font, author);
|
|
433
|
+
console.log(res);
|
|
434
|
+
```
|
|
435
|
+
## Output Example (Baby Ai Teach)
|
|
436
|
+
```
|
|
437
|
+
{
|
|
438
|
+
"status": "Success",
|
|
439
|
+
"author": "♡︎ 𝗦𝗵𝗔𝗻 ♡︎",
|
|
440
|
+
"devfb": "https://m.facebook.com/Sh4n.Dev1",
|
|
441
|
+
"devwp": "https://wa.me/+8801825829588",
|
|
442
|
+
"react": "🎉",
|
|
443
|
+
"ShAn": "✅ 𝐒𝐮𝐜𝐜𝐞𝐬𝐬𝐟𝐮𝐥𝐥𝐲 𝐭𝐚𝐮𝐠𝐡𝐭 𝐧𝐞𝐰 𝐪𝐮𝐞𝐬𝐭𝐢𝐨𝐧!\n📖 𝐐𝐮𝐞𝐬𝐭𝐢𝐨𝐧: 𝐖𝐡𝐨 𝐜𝐫𝐞𝐚𝐭𝐞𝐝 𝐲𝐨𝐮\n📝 𝐀𝐧𝐬𝐰𝐞𝐫𝐬: 𝐌𝐲 𝐨𝐰𝐧𝐞𝐫 ♡︎ 𝗦𝗵𝗔𝗻 ♡︎\n🏆 𝐘𝐨𝐮𝐫 𝐓𝐨𝐭𝐚𝐥 𝐓𝐞𝐚𝐜𝐡𝐢𝐧𝐠𝐬: 𝟐𝟒𝟑𝟎",
|
|
444
|
+
"ask": "𝐖𝐡𝐨 𝐜𝐫𝐞𝐚𝐭𝐞𝐝 𝐲𝐨𝐮",
|
|
445
|
+
"ans": "𝐌𝐲 𝐨𝐰𝐧𝐞𝐫 ♡︎ 𝗦𝗵𝗔𝗻 ♡︎",
|
|
446
|
+
"totalTeachings": "𝐓𝐨𝐭𝐚𝐥 𝐓𝐞𝐚𝐜𝐡: 𝟐𝟒𝟑𝟎"
|
|
447
|
+
}
|
|
448
|
+
```
|
|
449
|
+
```
|
|
450
|
+
{
|
|
451
|
+
"status": "Partial Success",
|
|
452
|
+
"dev": "♡︎ 𝗦𝗵𝗔𝗻 ♡︎",
|
|
453
|
+
"devfb": "https://m.facebook.com/Sh4n.Dev1",
|
|
454
|
+
"devwp": "https://wa.me/+8801825829588",
|
|
455
|
+
"react": "📖",
|
|
456
|
+
"ShAn": "🔄 𝐀𝐝𝐝𝐞𝐝 𝐧𝐞𝐰 𝐚𝐧𝐬𝐰𝐞𝐫𝐬 𝐭𝐨 𝐞𝐱𝐢𝐬𝐭𝐢𝐧𝐠 𝐪𝐮𝐞𝐬𝐭𝐢𝐨𝐧!\n📖 𝐐𝐮𝐞𝐬𝐭𝐢𝐨𝐧: 𝐖𝐡𝐨 𝐜𝐫𝐞𝐚𝐭𝐞𝐝 𝐲𝐨𝐮\n➕ 𝐍𝐞𝐰 𝐀𝐧𝐬𝐰𝐞𝐫𝐬: 𝐌𝐲 𝐁𝐨𝐬𝐬 ♡︎ 𝗦𝗵𝗔𝗻 ♡︎\n🏆 𝐘𝐨𝐮𝐫 𝐓𝐨𝐭𝐚𝐥 𝐓𝐞𝐚𝐜𝐡𝐢𝐧𝐠𝐬: 𝟐𝟒𝟑𝟏",
|
|
457
|
+
"ask": "𝐖𝐡𝐨 𝐜𝐫𝐞𝐚𝐭𝐞𝐝 𝐲𝐨𝐮",
|
|
458
|
+
"newAns": "𝐌𝐲 𝐁𝐨𝐬𝐬 ♡︎ 𝗦𝗵𝗔𝗻 ♡︎",
|
|
459
|
+
"totalTeachings": "𝐓𝐨𝐭𝐚𝐥 𝐓𝐞𝐚𝐜𝐡: 𝟐𝟒𝟑𝟏"
|
|
460
|
+
}
|
|
461
|
+
```
|
|
462
|
+
```
|
|
463
|
+
{
|
|
464
|
+
"status": "Already Exists",
|
|
465
|
+
"dev": "♡︎ 𝗦𝗵𝗔𝗻 ♡︎",
|
|
466
|
+
"devfb": "https://m.facebook.com/Sh4n.Dev1",
|
|
467
|
+
"devwp": "https://wa.me/+8801825829588",
|
|
468
|
+
"ShAn": "🎀 𝐀𝐧𝐬𝐰𝐞𝐫𝐬 𝐡𝐚𝐯𝐞 𝐚𝐥𝐫𝐞𝐚𝐝𝐲 𝐛𝐞𝐞𝐧 𝐭𝐚𝐮𝐠𝐡𝐭!"
|
|
469
|
+
}
|
|
470
|
+
```
|
|
471
|
+
|
|
400
472
|
|
|
401
473
|
[](https://wa.me/+8801825829588)
|
|
402
474
|
[](https://www.facebook.com/Sh4n.Dev1)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shan-server",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "All-platform social media video downloader supporting YouTube, Instagram, TikTok, Facebook, Twitter, Threads, CapCut, Pinterest and more. made ♡︎ 𝗦𝗵𝗔𝗻 ♡︎",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "Chat with baby Ai and All-platform social media video downloader supporting YouTube, Instagram, TikTok, Facebook, Twitter, Threads, CapCut, Pinterest and more. made ♡︎ 𝗦𝗵𝗔𝗻 ♡︎",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"alldl",
|
|
7
7
|
"instaDL",
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
"threaDL",
|
|
20
20
|
"capcutDL",
|
|
21
21
|
"pinDL",
|
|
22
|
+
"bby",
|
|
23
|
+
"baby",
|
|
24
|
+
"baby-Ai",
|
|
22
25
|
"all-platform",
|
|
23
26
|
"video-downloader",
|
|
24
27
|
"social-media-downloader",
|