Skip to content

Commit 04146ef

Browse files
committed
Update to v1.3.0
1 parent 79c760f commit 04146ef

File tree

10 files changed

+118
-23
lines changed

10 files changed

+118
-23
lines changed

README.md

Lines changed: 85 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,23 @@ based in node.js, puppeteer and third-party providers (zefoy.com & freer.es).
1818
1919
- [Bot Tok](#bot-tok)
2020
- [Features](#features)
21-
- [Install](#install)
22-
- [Windows](#windows)
23-
- [Linux](#linux)
24-
- [Android (Termux)](#android-termux)
25-
- [Manual Install](#manual-install)
21+
- [Quick Start](#quick-start)
22+
- [Windows](#windows)
23+
- [Linux](#linux)
24+
- [MacOS](#macos)
25+
- [Android (Termux)](#android-termux)
26+
- [Classic Install](#classic-install)
2627
- [Windows](#windows-1)
2728
- [Linux](#linux-1)
2829
- [Android (Termux)](#android-termux-1)
29-
- [Update](#update)
30+
- [Manual Install](#manual-install)
3031
- [Windows](#windows-2)
3132
- [Linux](#linux-2)
3233
- [Android (Termux)](#android-termux-2)
34+
- [Update](#update)
35+
- [Windows](#windows-3)
36+
- [Linux](#linux-3)
37+
- [Android (Termux)](#android-termux-3)
3338
- [Use](#use)
3439
- [Options](#options)
3540
- [Advanced](#advanced)
@@ -56,16 +61,16 @@ based in node.js, puppeteer and third-party providers (zefoy.com & freer.es).
5661
- [Connect to an Existing Browser Instance](#connect-to-an-existing-browser-instance)
5762
- [New Bypass Cloudflare Manually](#new-bypass-cloudflare-manually)
5863
- [Android](#android)
59-
- [Linux](#linux-3)
60-
- [Windows](#windows-3)
61-
- [Bypass Cloudflare Manually](#bypass-cloudflare-manually)
62-
- [Android](#android-1)
6364
- [Linux](#linux-4)
6465
- [Windows](#windows-4)
65-
- [Trick to avoid being banned on Freer captcha](#trick-to-avoid-being-banned-on-freer-captcha)
66-
- [Android](#android-2)
66+
- [Bypass Cloudflare Manually](#bypass-cloudflare-manually)
67+
- [Android](#android-1)
6768
- [Linux](#linux-5)
6869
- [Windows](#windows-5)
70+
- [Trick to avoid being banned on Freer captcha](#trick-to-avoid-being-banned-on-freer-captcha)
71+
- [Android](#android-2)
72+
- [Linux](#linux-6)
73+
- [Windows](#windows-6)
6974
- [Expert](#expert)
7075
- [Detach Mode](#detach-mode)
7176
- [Multi Task Mode](#multi-task-mode)
@@ -101,7 +106,67 @@ based in node.js, puppeteer and third-party providers (zefoy.com & freer.es).
101106
💎 Multi Task (Premium Mode)
102107
💎 Run as a Detach Process (Premium Mode)
103108

104-
## Install
109+
## Quick Start
110+
111+
> **Attention:** For more advanced usage, such as running Bot Tok in *detach mode* or using *multi-task scripts*, it is recommended to perform a [classic install](#classic-install) .
112+
> The `npx` method, however, is sufficient for most users, especially beginners.
113+
114+
The easiest way to run Bot Tok is via `npx`.
115+
No installation is required: simply install Node.js and run the command.
116+
This method automatically downloads the latest version of Bottok and Chromium.
117+
No Git, SSH, or other dependencies are needed.
118+
119+
120+
### Windows
121+
122+
1. Install Node.js ≥ 18 (recommended 18 LTS or 22 LTS) from [nodejs.org](https://nodejs.org)
123+
2. Open a terminal (PowerShell or CMD) and run:
124+
```bash
125+
npx bottok
126+
```
127+
128+
### Linux
129+
130+
1. Install Node.js ≥ 18 (recommended 18 LTS or 22 LTS) (e.g., `sudo apt install nodejs npm`).
131+
2. Open a terminal and run:
132+
```bash
133+
npx bottok
134+
```
135+
136+
### MacOS
137+
138+
1. Install Node.js ≥ 18 (recommended 18 LTS or 22 LTS) (using Homebrew or from [nodejs.org](https://nodejs.org)).
139+
2. Open a terminal and run:
140+
```bash
141+
npx bottok
142+
```
143+
144+
### Android (Termux)
145+
146+
Requirements: [termux](https://termux.dev/en/) (install Termux in your Android phone from F-Droid store, The PlayStore version ins outdated and not work)
147+
148+
1. Run in Termux terminal (Install Alpine in Termux)
149+
150+
```bash
151+
pkg upgrade && pkg install wget && wget https://raw.githubusercontent.com/jfadev/bottok/main/termux-install.sh && chmod +x termux-install.sh && ./termux-install.sh
152+
```
153+
154+
2. Run in Alpine terminal (Install Node environment and launch NPX)
155+
156+
```bash
157+
wget https://raw.githubusercontent.com/jfadev/bottok/main/alpine-npx-install.sh && chmod +x alpine-npx-install.sh && ./alpine-npx-install.sh
158+
```
159+
160+
*Note:* To enter Alpine from Termux with [proot-distro](https://github.com/termux/proot-distro) use the following command:
161+
```bash
162+
proot-distro login alpine
163+
```
164+
and run:
165+
```bash
166+
npx bottok
167+
```
168+
169+
## Classic Install
105170

106171
>**Attention:** To use Git and clone the repository you will need to have *SSH Public Key*. Take a look at this: [Adding a new SSH key to your GitHub account](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account)
107172
Without this you may have problems installing. This will make it much easier to upgrade your BotTok to the latest version available with a single command.
@@ -301,6 +366,9 @@ proot-distro login alpine
301366

302367
## Update
303368

369+
>**Attention:** When running Bot Tok via `npx`, you **always use the latest version**.
370+
No additional update command is required
371+
304372
#### Windows
305373

306374
1. Run in terminal
@@ -331,6 +399,8 @@ cd bottok
331399

332400
## Use
333401

402+
>**Attention:** When running Bot Tok via `npx`, run `npx bottok`
403+
334404
Type the following command in your terminal:
335405

336406
```bash
@@ -349,6 +419,8 @@ node bottok.js -b "C:\Program Files\Google\Chrome\Application\Chrome.exe"
349419

350420
## Options
351421

422+
>**Attention:** When running Bot Tok via `npx`, you should pass any command-line options directly to `npx bottok [options]`
423+
352424
```txt
353425
Usage: node bottok.js [options]
354426

alpine-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
echo "Bot Tok Alpine Install"
44

5-
echo "Install BotTok Dependenties:"
5+
echo "Install BotTok Dependencies:"
66

77
# install OpenSSH
88
apk add openssh

alpine-npx-install.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
3+
echo "Bot Tok Alpine Install (for NPX)"
4+
5+
echo "Install BotTok Dependencies:"
6+
7+
# Install Node from Alpine v3.22 repositories
8+
apk add --repository=https://dl-cdn.alpinelinux.org/alpine/v3.22/main --repository=https://dl-cdn.alpinelinux.org/alpine/v3.22/community chromium --no-cache
9+
10+
# Install Chromium from Alpine v3.17 repositories
11+
apk add --repository=https://dl-cdn.alpinelinux.org/alpine/v3.17/main --repository=https://dl-cdn.alpinelinux.org/alpine/v3.17/community chromium --no-cache
12+
13+
echo "Starting BotTok..."
14+
npx bottok

alpine-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ echo "Bot Tok Alpine Update"
55
echo "Latest version:"
66
git describe --tags --abbrev=0
77

8-
echo "Check BotTok Dependenties:"
8+
echo "Check BotTok Dependencies:"
99
programs="nodejs yarn git openssh"
1010
for program in $programs; do
1111
echo $program

bottok.js

100644100755
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"name": "bottok",
3-
"version": "1.2.6",
3+
"version": "1.3.0",
44
"description": "Bot Tok is an TikTok Up Bot (likes, shares, favorites and views) based in node.js, puppeteer and third-party providers (zefoy.com & freer.es). (Android, Windows, Linux)",
55
"type": "module",
66
"main": "bottok.js",
7+
"bin": {
8+
"bottok": "bottok.js"
9+
},
710
"scripts": {
811
"start": "node ./bottok.js"
912
},
@@ -33,12 +36,18 @@
3336
"puppeteer": "19.8.5",
3437
"sync-fetch": "^0.6.0-2",
3538
"terminal-image": "2.0.0",
36-
"tesseract.js": "^5.1.1"
39+
"tesseract.js": "^7.0.0"
3740
},
3841
"resolutions": {
3942
"whatwg-url": "^14.1.0"
4043
},
4144
"overrides": {
4245
"whatwg-url": "^14.1.0"
43-
}
46+
},
47+
"engines": {
48+
"node": ">=18"
49+
},
50+
"files": [
51+
"bottok.js"
52+
]
4453
}

ubuntu-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
echo "Bot Tok Ubuntu Install"
44

5-
echo "Install BotTok Dependenties:"
5+
echo "Install BotTok Dependencies:"
66
sudo apt update
77
declare -a programs=("nodejs" "npm" "git" "openssh-client")
88
for program in "${programs[@]}"; do

ubuntu-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ echo "Bot Tok Ubuntu Update"
55
echo "Latest version:"
66
git describe --tags --abbrev=0
77

8-
echo "Check BotTok Dependenties:"
8+
echo "Check BotTok Dependencies:"
99
declare -a programs=("nodejs" "npm" "git" "openssh-client")
1010
for program in "${programs[@]}"; do
1111
echo $program

win-install.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@echo off
22
echo Bot Tok Windows Install
33

4-
echo Install BotTok Dependenties:
4+
echo Install BotTok Dependencies:
55
where node >nul 2>&1
66
if %ERRORLEVEL% NEQ 0 (
77
echo Installing Node.js...

win-update.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ echo Bot Tok Windows Update
44
echo Latest versions:
55
git describe --tags --abbrev=0
66

7-
echo Check BotTok Dependenties:
7+
echo Check BotTok Dependencies:
88
echo Node.js
99
node --version
1010
echo Git

0 commit comments

Comments
 (0)