MCPcopy Index your code
hub / github.com/alimsk/bfs

github.com/alimsk/bfs @v1.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.1 ↗ · + Follow
111 symbols 229 edges 14 files 5 documented · 5%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Disclaimer

Pembuat bot ini tidak bertanggung jawab jika anda kena banned/blokir shopee

Fitur

  • Tidak mengandalkan webdriver atau selenium dapat membuat bot lebih cepat & ringan, dan support running di android via Termux
  • Gratis (donasi)
  • Multi akun
  • Interactive CLI / Simple

Install

Termux

Copas command dibawah

curl -L https://github.com/alimsk/bfs/releases/latest/download/bfs-android-arm64 > bfs && chmod +x bfs

gunakan command yang sama ketika mau update

Linux

curl -L https://github.com/alimsk/bfs/releases/latest/download/bfs-linux-amd64 > bfs && chmod +x bfs

Windows

Download file exe nya manual di release

Simple CLI

Kalo mau running botnya di vps/rdp, mungkin lebih enak menggunakan CLI yg simpel.
untuk itu udah saya sediakan, bisa compile sendiri di folder bfs-simple (butuh go1.18).

Versi ini nggak ada bedanya dengan versi yg biasa, kecuali lebih simpel saja.

Penggunaan

Untuk login bisa ambil cookie shopee dari chrome menggunakan ekstensi Copy Cookies, lalu pastekan ke textinputnya.

Kalo kurang jelas bisa cek video tutorial.

CLI Arguments

-state

nama state file.

state file adalah tempat bfs menyimpan akun dan data. (default "bfs_state.json")

-d

delay antar request (pada bagian checkout).
bot akan mengirimkan request secara bersamaan, opsi ini mengatur berapa lama harus menunggu sebelum mengirimkan request selanjutnya.

jika disetting ke 0 maka request akan dikirimkan satu-persatu.

nilai dapat berisi durasi seperti 1s, 500ms, atau 2m

-sub

mengurangi waktu flash sale dengan nilai yg diberikan.
misal waktu fs adalah 12:00:00, jika argumen ini 1s maka bot akan mulai checkout pada 11:59:59.
karena 12:00:00 - 1s adalah 11:59:59.

Note: jika flash sale sudah dimulai maka opsi ini di abaikan.

nilai dapat berisi durasi seperti 1s, 500ms, atau 2m

Subcommand

info

mengambil informasi produk.

penggunaan:
bfs info <url produk>

version

tampilkan versi bfs.

penggunaan:
bfs version

Grup Telegram

https://t.me/+n9NofX8hLwo5OGVl

Support

Star repo ini dengan menekan tombol di pojok kanan atas.
jangan cuma make doang dong, biar sama-sama untung :D

bisa juga donate ke saya via: - Saweria: https://saweria.co/alimsk - Trakteer: https://trakteer.id/ali-m-uqlok/tip

kalo nemu bug atau masalah lain bisa buat issue di halaman issue.

Contribution

Contributions are welcome

Author

alimsk

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

fatalIf
called by 11
cmd/bfs-simple/main.go
ternary
called by 11
cmd/bfs/utils.go
formatPrice
called by 6
cmd/bfs/utils.go
PushReplacement
called by 5
navigator/navigator.go
inputint
called by 4
cmd/bfs-simple/utils.go
keyhelp
called by 4
cmd/bfs/style.go
formatPrice
called by 3
cmd/bfs-simple/utils.go
min
called by 3
cmd/bfs/utils.go

Shape

Function 49
Method 34
Struct 20
Interface 4
TypeAlias 4

Languages

Go100%

Modules by API surface

navigator/navigator.go15 symbols
cmd/bfs/timer.go15 symbols
cmd/bfs/login.go13 symbols
cmd/bfs-simple/utils.go11 symbols
cmd/bfs/utils.go9 symbols
cmd/bfs-simple/main.go9 symbols
cmd/bfs/logistic.go7 symbols
cmd/bfs/url.go6 symbols
cmd/bfs/state.go6 symbols
cmd/bfs/item.go6 symbols
cmd/bfs/payment.go5 symbols
cmd/bfs/singleline_adapter.go4 symbols

For agents

$ claude mcp add bfs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page