c-capcut 1.0.3 → 1.0.4
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/index.js +2 -2
- package/package.json +5 -1
- package/src/commands/create.js +2 -1
- package/src/config.js +36 -0
- package/assets/logo.svg +0 -37
- package/config.json +0 -24
- package/data/accounts.json +0 -15
- package/data/email-db.json +0 -13
- package/data/result.txt +0 -1
package/index.js
CHANGED
package/package.json
CHANGED
package/src/commands/create.js
CHANGED
|
@@ -15,7 +15,8 @@ import {
|
|
|
15
15
|
ACCOUNT_API_KEY,
|
|
16
16
|
OTP_TIMEOUT,
|
|
17
17
|
OTP_POLL,
|
|
18
|
-
} from "../config.js";
|
|
18
|
+
} from "../config.js"; // Pastikan sudah "../.." (dua kali titik-titik)
|
|
19
|
+
|
|
19
20
|
import { createAccountGenerator } from "../lib/email-gen.js";
|
|
20
21
|
import { createOtpWaiter } from "../lib/otp.js";
|
|
21
22
|
import { registerAccount, TOTAL_STEPS } from "../lib/capcut.js";
|
package/src/config.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* config.js
|
|
3
|
+
* Loads config.json and exports all constants.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { readFileSync } from "fs";
|
|
7
|
+
import { resolve, dirname } from "path";
|
|
8
|
+
import { fileURLToPath } from "url";
|
|
9
|
+
|
|
10
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
11
|
+
const raw = readFileSync(resolve(__dirname, "../config.json"), "utf-8");
|
|
12
|
+
const config = JSON.parse(raw);
|
|
13
|
+
|
|
14
|
+
// ─── Account / Email Service ──────────────────────────────────────────────────
|
|
15
|
+
export const PASSWORD = config.password;
|
|
16
|
+
export const ACCOUNT_API_URL = config.account.apiUrl;
|
|
17
|
+
export const ACCOUNT_API_KEY = config.account.apiKey;
|
|
18
|
+
|
|
19
|
+
// ─── Process ──────────────────────────────────────────────────────────────────
|
|
20
|
+
export const BATCH_SIZE = config.batchSize;
|
|
21
|
+
|
|
22
|
+
// ─── OTP ──────────────────────────────────────────────────────────────────────
|
|
23
|
+
export const OTP_TIMEOUT = config.otp.timeout;
|
|
24
|
+
export const OTP_POLL = config.otp.pollInterval;
|
|
25
|
+
|
|
26
|
+
// ─── CapCut Passport ────────────────────────────────────────────────────────────
|
|
27
|
+
export const CAPCUT_AID = config.capcut.aid;
|
|
28
|
+
export const CAPCUT_SDK_VERSION = config.capcut.sdkVersion;
|
|
29
|
+
export const CAPCUT_LANGUAGE = config.capcut.language;
|
|
30
|
+
export const CAPCUT_REGION = config.capcut.region;
|
|
31
|
+
export const CAPCUT_LOGIN_DOMAIN = config.capcut.loginDomain;
|
|
32
|
+
|
|
33
|
+
// ─── File Paths ───────────────────────────────────────────────────────────────
|
|
34
|
+
export const ACCOUNTS_FILE = config.paths.accounts;
|
|
35
|
+
export const RESULT_FILE = config.paths.result;
|
|
36
|
+
export const EMAIL_DB_FILE = config.paths.emailDb;
|
package/assets/logo.svg
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<svg width="160" height="160" viewBox="0 0 160 160" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="BROM4KER - CapCut Account Creator">
|
|
2
|
-
<defs>
|
|
3
|
-
<linearGradient id="brand" x1="0" y1="0" x2="160" y2="160" gradientUnits="userSpaceOnUse">
|
|
4
|
-
<stop offset="0" stop-color="#00D4AA"/>
|
|
5
|
-
<stop offset="0.5" stop-color="#0092F8"/>
|
|
6
|
-
<stop offset="1" stop-color="#CC3AFF"/>
|
|
7
|
-
</linearGradient>
|
|
8
|
-
<linearGradient id="screen" x1="24" y1="34" x2="136" y2="126" gradientUnits="userSpaceOnUse">
|
|
9
|
-
<stop offset="0" stop-color="#0d1b2a"/>
|
|
10
|
-
<stop offset="1" stop-color="#10263b"/>
|
|
11
|
-
</linearGradient>
|
|
12
|
-
</defs>
|
|
13
|
-
|
|
14
|
-
<!-- outer rounded badge -->
|
|
15
|
-
<rect x="4" y="4" width="152" height="152" rx="34" fill="url(#brand)"/>
|
|
16
|
-
<rect x="9" y="9" width="142" height="142" rx="29" fill="#0a1622"/>
|
|
17
|
-
|
|
18
|
-
<!-- terminal window -->
|
|
19
|
-
<rect x="26" y="34" width="108" height="80" rx="12" fill="url(#screen)" stroke="url(#brand)" stroke-width="2.5"/>
|
|
20
|
-
|
|
21
|
-
<!-- title bar dots -->
|
|
22
|
-
<circle cx="40" cy="48" r="3.4" fill="#00D4AA"/>
|
|
23
|
-
<circle cx="52" cy="48" r="3.4" fill="#0092F8"/>
|
|
24
|
-
<circle cx="64" cy="48" r="3.4" fill="#CC3AFF"/>
|
|
25
|
-
<line x1="26" y1="59" x2="134" y2="59" stroke="#1d3650" stroke-width="2"/>
|
|
26
|
-
|
|
27
|
-
<!-- prompt arrow + command line -->
|
|
28
|
-
<path d="M40 74 L48 81 L40 88" stroke="#00D4AA" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
|
|
29
|
-
<rect x="56" y="77" width="42" height="6" rx="3" fill="#2b4a6b"/>
|
|
30
|
-
|
|
31
|
-
<!-- play / video button (CapCut) inside chat bubble -->
|
|
32
|
-
<path d="M70 95 h40 a8 8 0 0 1 8 8 v10 a8 8 0 0 1 -8 8 h-26 l-10 9 v-9 h-4 a8 8 0 0 1 -8 -8 v-10 a8 8 0 0 1 8 -8 z" fill="url(#brand)"/>
|
|
33
|
-
<path d="M85 103 L85 117 L98 110 Z" fill="#0a1622"/>
|
|
34
|
-
|
|
35
|
-
<!-- brand mark -->
|
|
36
|
-
<text x="80" y="140" text-anchor="middle" font-family="'Segoe UI', Arial, sans-serif" font-size="15" font-weight="700" letter-spacing="1.5" fill="url(#brand)">BROM4KER</text>
|
|
37
|
-
</svg>
|
package/config.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"password": "T3SAKUNRYOTA",
|
|
3
|
-
"batchSize": 5,
|
|
4
|
-
"otp": {
|
|
5
|
-
"timeout": 90000,
|
|
6
|
-
"pollInterval": 4000
|
|
7
|
-
},
|
|
8
|
-
"account": {
|
|
9
|
-
"apiUrl": "https://mail.gopretstudio.com",
|
|
10
|
-
"apiKey": "GOMAIL-FqcmbaAGbPnwHIxKElNq"
|
|
11
|
-
},
|
|
12
|
-
"capcut": {
|
|
13
|
-
"aid": "348188",
|
|
14
|
-
"sdkVersion": "2.1.10-tiktok",
|
|
15
|
-
"language": "en",
|
|
16
|
-
"region": "ID",
|
|
17
|
-
"loginDomain": "https://login-row.www.capcut.com"
|
|
18
|
-
},
|
|
19
|
-
"paths": {
|
|
20
|
-
"accounts": "./data/accounts.json",
|
|
21
|
-
"result": "./data/result.txt",
|
|
22
|
-
"emailDb": "./data/email-db.json"
|
|
23
|
-
}
|
|
24
|
-
}
|
package/data/accounts.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"email": "montelangworth@srimuna.me",
|
|
4
|
-
"password": "@RyotaXD666",
|
|
5
|
-
"firstName": "Monte",
|
|
6
|
-
"lastName": "Langworth",
|
|
7
|
-
"fullName": "Monte Langworth",
|
|
8
|
-
"userId": "7660221668682695688",
|
|
9
|
-
"screenName": "user4863042956006",
|
|
10
|
-
"birthday": "2001-06-03",
|
|
11
|
-
"sessionId": "3ffd61fb6e2d673dfc6504360dfe37a1",
|
|
12
|
-
"status": "verified",
|
|
13
|
-
"createdAt": "2026-07-08T18:12:46.142Z"
|
|
14
|
-
}
|
|
15
|
-
]
|
package/data/email-db.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
"gracelangosh@gomal.tech",
|
|
3
|
-
"chanellewiegand@xaexi.tech",
|
|
4
|
-
"annettebechtelar@srimuna.me",
|
|
5
|
-
"hunternitzsche@neoxr.me",
|
|
6
|
-
"alessandraryan@xaexi.tech",
|
|
7
|
-
"chaunceycollins@gomal.tech",
|
|
8
|
-
"terrencefay@plexai.xyz",
|
|
9
|
-
"magnusdach@plexai.xyz",
|
|
10
|
-
"fatimamcclure@plexai.xyz",
|
|
11
|
-
"patmetz@xaexi.tech",
|
|
12
|
-
"montelangworth@srimuna.me"
|
|
13
|
-
]
|
package/data/result.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
montelangworth@srimuna.me @RyotaXD666 Monte Langworth
|