Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
3d1539c
Update .vars.json
AutoFTbot Mar 29, 2025
b87fac6
Update app.js
AutoFTbot Mar 29, 2025
6aa1bea
Update app.js
AutoFTbot Mar 29, 2025
748d24a
Update start
AutoFTbot Mar 29, 2025
aaca3db
Update start
AutoFTbot Mar 29, 2025
741e9b0
Update README.md
AutoFTbot Mar 29, 2025
c1247fb
Update app.js
AutoFTbot Mar 29, 2025
73c7925
Update README.md
AutoFTbot Mar 29, 2025
04029c6
Update app.js
AutoFTbot Mar 29, 2025
e342f68
Update start
AutoFTbot Mar 29, 2025
a4be418
Update .vars.json
AutoFTbot Mar 29, 2025
9cea533
Update README.md
AutoFTbot Mar 29, 2025
01d6c62
Update package.json
AutoFTbot Mar 29, 2025
10a0e35
Update README.md
AutoFTbot Mar 29, 2025
f08eae2
Update app.js
AutoFTbot Mar 29, 2025
76dc5c2
Update app.js
AutoFTbot Mar 29, 2025
99b0ac6
Update README.md
AutoFTbot Mar 29, 2025
91fb6af
Update README.md
AutoFTbot Mar 29, 2025
a9e1adb
Update README.md
AutoFTbot Mar 30, 2025
e800c7a
Update app.js
AutoFTbot Apr 2, 2025
65c9480
Update app.js
AutoFTbot Apr 2, 2025
2f8aef8
Update .vars.json
AutoFTbot Apr 2, 2025
b76741f
Update app.js
AutoFTbot Apr 2, 2025
f83bd27
Update .vars.json
AutoFTbot Apr 2, 2025
a8029ee
Update start
AutoFTbot Apr 2, 2025
e5920b9
Update README.md
AutoFTbot Apr 2, 2025
79c565e
Update app.js
AutoFTbot May 2, 2025
01ee9f6
Update package.json
AutoFTbot May 2, 2025
a9efebe
Update .vars.json
AutoFTbot May 2, 2025
0a09615
Add files via upload
AutoFTbot May 2, 2025
98a8674
Rename Black and Blue Simple Creative Illustrative Dragons E-Sport Lo…
AutoFTbot May 2, 2025
4c3bc06
Update app.js
AutoFTbot May 2, 2025
9ea9b2b
Update app.js
AutoFTbot May 2, 2025
7fa1712
Update app.js
AutoFTbot May 2, 2025
f1cbfc3
Update app.js
AutoFTbot May 2, 2025
fa882ae
Update app.js
AutoFTbot May 2, 2025
85981d2
Create app1.js
AutoFTbot May 2, 2025
f715aae
Update start
AutoFTbot May 3, 2025
bca6270
Update app.js
AutoFTbot May 3, 2025
37e53d0
Update start
AutoFTbot May 3, 2025
3320266
Update README.md
AutoFTbot May 3, 2025
a2e6e2a
Update app.js
AutoFTbot May 3, 2025
3c96633
Update app.js
AutoFTbot May 3, 2025
f92cce3
Release: versi baru, notifikasi grup, auto hapus receipts, menu baru,…
Jun 11, 2025
643bb4d
Update: migrasi autoft-qris, update README & start script
AutoFTbot Jul 16, 2025
f264241
Delete package-lock.json
AutoFTbot Jul 16, 2025
1c2d6e5
Update package.json
AutoFTbot Aug 16, 2025
d12d34a
Merge branch 'FighterTunnel:main' into main
AutoFTbot Nov 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .vars.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"BOT_TOKEN": "ISIDISNI",
"USER_ID": "ISIDISNI",
"NAMA_STORE": "ISIDISNI",
"PORT": "50123",
"PAYDISINI_KEY": "ISIDISNI"
"GROUP_ID": "ISIDISNI",
"PORT": "6969",
"DATA_QRIS": "ISIDISNI",
"USERNAME_ORKUT": "ISIDISNI",
"AUTH_TOKEN": "ISIDISNI"
}
79 changes: 61 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,105 @@
# FTVPN Bot

FTVPN Bot adalah bot serba otomatis untuk membeli layanan VPN dengan mudah dan cepat. Nikmati kemudahan dan kecepatan dalam layanan VPN dengan bot kami!
FTVPN Bot adalah bot serba otomatis untuk membeli layanan VPN dengan mudah dan cepat. Nikmati kemudahan dan kecepatan dalam layanan VPN dengan bot kami! Dilengkapi dengan sistem pembayaran QRIS untuk kemudahan transaksi.

## Fitur

- **Service Create**: Membuat akun VPN baru.
- **Service Renew**: Memperbarui akun VPN yang sudah ada.
- **Top Up Saldo**: Menambah saldo akun pengguna.
- **Cek Saldo**: Memeriksa saldo akun pengguna.
- **Service Create**: Membuat akun VPN baru
- **Service Renew**: Memperbarui akun VPN yang sudah ada
- **Top Up Saldo**: Menambah saldo akun pengguna via QRIS
- **Notifikasi Grup**: Setiap top up dan pembelian/renew akun akan otomatis mengirim notifikasi ke grup Telegram
- **Auto Hapus Receipts**: File di folder receipts akan otomatis dihapus setelah pembayaran sukses
- **QRIS Payment**: Sistem pembayaran menggunakan QRIS (Quick Response Code Indonesian Standard) dengan API OrderKuota
- **Auto Receipt**: Generate PDF receipt otomatis saat pembayaran sukses
- **Real-time Payment Check**: Polling pembayaran secara real-time

## Teknologi yang Digunakan

- Node.js
- SQLite3
- Axios
- Telegraf (untuk integrasi dengan Telegram Bot)
- AutoFT QRIS Payment Gateway (menggunakan API OrderKuota)

## Installasi Otomatis
```
sysctl -w net.ipv6.conf.all.disable_ipv6=1 && sysctl -w net.ipv6.conf.default.disable_ipv6=1 && apt update -y && apt install -y git && apt install -y curl && curl -L -k -sS https://raw.githubusercontent.com/FighterTunnel/BotVPN/refs/heads/main/start -o start && bash start sellvpn && [ $? -eq 0 ] && rm -f start
```bash
sysctl -w net.ipv6.conf.all.disable_ipv6=1 && sysctl -w net.ipv6.conf.default.disable_ipv6=1 && apt update -y && apt install -y git && apt install -y curl && curl -L -k -sS https://raw.githubusercontent.com/AutoFTbot/BotVPN/refs/heads/main/start -o start && bash start sellvpn && [ $? -eq 0 ] && rm -f start
```

## Cara Menggunakan
## install Manual

1. Clone repository ini:
```bash
git clone https://github.com/FighterTunnel/BotVPN.git
git clone https://github.com/AutoFTbot/BotVPN.git
```
2. Masuk ke direktori proyek:
```bash
cd BotVPN
```
3. Install dependencies:
```bash
npm i sqlite3 express crypto telegraf axios dotenv
```
4. Buat file `.env` dan tambahkan variabel berikut:
npm install
```
BOT_TOKEN=your_telegram_bot_token
4. Siapkan konfigurasi di `.vars.json`:
```json
{
"BOT_TOKEN": "your_telegram_bot_token",
"USER_ID": "your_admin_telegram_id",
"NAMA_STORE": "your_store_name",
"GROUP_ID": "your_group_id",
"PORT": "6969",
"DATA_QRIS": "your_qris_data",
"USERNAME_ORKUT": "your_orderkuota_username",
"AUTH_TOKEN": "your_orderkuota_auth_token"
}
```
5. Jalankan bot:
```bash
node app.js
```
6. Service BOT:
```bash
npm i -g pm2
pm2 start app.js --name sellvpn
pm2 startup
pm2 save
```

## Konfigurasi QRIS

Untuk menggunakan sistem pembayaran QRIS, Anda perlu menyiapkan:
1. **DATA QRIS**: Data QRIS bisa diambil dari web https://scanqr.org/, dengan mengupload QRIS Anda dan menyalin hasil scan datanya
2. **USERNAME_ORKUT**: Username autentikasi OrderKuota
3. **AUTH_TOKEN**: Token autentikasi OrderKuota
4. **GROUP ID**: ID grup Telegram (misal: -1001234567890) untuk notifikasi

**Untuk mendapatkan kredensial API OrderKuota, hubungi [@AutoFtBot69](https://t.me/AutoFtBot69)**

## Struktur Proyek

- `app.js`: File utama yang mengatur bot dan server.
- `modules/create.js`: Modul untuk membuat akun VPN baru.
- `modules/renew.js`: Modul untuk memperbarui akun VPN yang sudah ada.
- `sellvpn.db`: Database SQLite yang menyimpan data pengguna dan server.
- `app.js`: File utama yang mengatur bot dan server
- `modules/create.js`: Modul untuk membuat akun VPN baru
- `modules/renew.js`: Modul untuk memperbarui akun VPN yang sudah ada
- `sellvpn.db`: Database SQLite yang menyimpan data pengguna dan server
- `.vars.json`: File konfigurasi untuk menyimpan pengaturan bot, QRIS, dan grup

## Kontribusi

Jika Anda ingin berkontribusi pada proyek ini, silakan fork repository ini dan buat pull request dengan perubahan yang Anda usulkan.

## Kontak

Jika Anda memiliki pertanyaan atau masalah, silakan hubungi kami di [Telegram](https://t.me/yha_bot).
Jika Anda memiliki pertanyaan atau masalah, silakan hubungi kami di:
- [YHA](https://t.me/yha_bot)
- [AutoFTbot69](https://t.me/Autoftbot69)

## Thanks To
```
____ ____ ___ _ __
/ __ \_______ ____ ___ _____/ __ \_______ ____ ___ _ / _ )___ _(_) /__
/ /_/ / __/ _ `/ _ \/ _ `/___/ /_/ / __/ _ `/ _ \/ _ `/ / _ / _ `/ / '_/
\____/_/ \_,_/_//_/\_, / \____/_/ \_,_/_//_/\_, / /____/\_,_/_/_/\_\
/___/ /___/
```

✨ Selamat menggunakan layanan kami! ✨
Loading