Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

bayarcoek

> 编程语言
Open source

Sebuah script node.js untuk meng-"encrypt" source code project client kamu yang gak mau bayar

100 stars0 likes1 views
WebsiteGitHub

About

Sebuah script node.js untuk meng-"encrypt" source code project client kamu yang gak mau bayar

bayarcoek encryptor

Sebuah script node.js untuk meng-encrypt source code project client kamu yang gak mau bayar. Terinspirasi oleh SnowFag

         

 

Requirements

  • Node.js (v14 or higher)
  • NPM / Yarn / pnpm

Warning

Gunakan script ini dengan hati-hati. Secara default, script ini akan meng-encrypt semua file dan folder di mana anda menjalankan command bayarcoek (Current Working Directory). Jangan sampai kalian tanpa sengaja meng-encrypt seluruh storage kalian. Saya tidak bertanggung jawab atas segala kesalahan yang terjadi karena kecerobohan user.

Installation

  1. Install package
  • Local
    • NPM
      bash
      npm install bayarcoek --save-dev
    • Yarn
      bash
      yarn add bayarcoek --dev
    • pnpm
      bash
      pnpm add -D bayarcoek
  • Global (bisa dijalankan di mana saja, tapi tidak direkomendasikan karena sangat berisiko)
    • NPM
      bash
      npm install -g bayarcoek
    • Yarn
      bash
      yarn global add bayarcoek
    • pnpm
      bash
      pnpm add -g bayarcoek

Usage

  1. Masuk ke folder project yang ingin di-encrypt
bash
cd path/to/project
  1. Run command
  • Local

    • NPM

      bash
      # encrypt
      npx bayarcoek encrypt
      
      # decrypt
      npx bayarcoek decrypt
    • Yarn

      bash
      # encrypt
      yarn run bayarcoek encrypt
      
      # decrypt
      yarn run bayarcoek decrypt
    • pnpm

      bash
      # encrypt
      pnpm exec bayarcoek encrypt
      
      # decrypt
      pnpm exec bayarcoek decrypt
  • Global

    bash
    # encrypt
    bayarcoek encrypt
    
    # decrypt
    bayarcoek decrypt

Advanced Usage

Meng-encrypt satu file (atau lebih)

bash
npx bayarcoek encrypt [nama_file_1] [nama_file_2] [dst]

Mengubah extension

bash
npx bayarcoek encrypt [nama_file] -x plongaplongo
# npx bayarcoek encrypt [nama_file] --extension plongaplongo

Mengubah secret key

bash
npx bayarcoek encrypt [nama_file] -k awokawokawok
# npx bayarcoek encrypt [nama_file] --secret-key awokawokawok

Men-decrypt satu file (atau lebih)

bash
npx bayarcoek decrypt [nama_file_1] [nama_file_2] [dst]

Men-decrypt satu file dan timpa (file yang encrypted secara otomatis terhapus setelah di-decrypt)

bash
npx bayarcoek decrypt [nama_file_1] -o
# npx bayarcoek decrypt [nama_file_1] --overwrite

Menampilkan menu bantuan

bash
npx bayarcoek -h
# npx bayarcoek --help

Menampilkan nomor versi

bash
npx bayarcoek -v
# npx bayarcoek --version

New Features (v3.3+)

Dry Run Mode

Preview operasi tanpa benar-benar mengeksekusinya:

bash
npx bayarcoek encrypt --dry-run
npx bayarcoek decrypt --dry-run

Verbose Output

Tampilkan informasi detail tentang operasi:

bash
npx bayarcoek encrypt -v
# npx bayarcoek encrypt --verbose

Quiet Mode

Supresi semua output kecuali error:

bash
npx bayarcoek encrypt -q
# npx bayarcoek encrypt --quiet

Backup Files

Buat backup sebelum enkripsi/dekripsi:

bash
npx bayarcoek encrypt -b
# npx bayarcoek encrypt --backup

Logging

Simpan hasil operasi ke file log:

bash
npx bayarcoek encrypt --log-file ./bayarcoek.log

Gitignore Support

Bayarcoek secara otomatis menghormati file .gitignore di root direktori project.

Environment Variable

  • BAYARCOEK_KEY = Secret key untuk enkripsi
  • BAYARCOEK_EXT = Extension file hasil enkripsi

Support

Klik tombol di bawah untuk mendukung saya lewat donasi

Testing

Jalankan test suite dengan:

bash
npm test
# atau
pnpm test

Dengan UI:

bash
npm run test:ui
# atau
pnpm test:ui

Linting

Periksa kualitas kode:

bash
npm run lint
# Perbaiki otomatis:
npm run lint:fix

Troubleshooting

"Decryption failed - you may be using an incorrect secret key"

Ini berarti secret key yang Anda gunakan untuk dekripsi tidak sesuai dengan yang digunakan untuk enkripsi. Pastikan Anda menggunakan secret key yang benar atau set environment variable BAYARCOEK_KEY.

"Permission denied"

Jalankan dengan privilege yang sesuai atau pastikan Anda memiliki akses tulis ke direktori yang akan dienkripsi/dekripsi.

"File not found"

Pastikan path file atau direktori yang Anda berikan sudah benar dan file/direktori tersebut ada.

Informasi lebih lanjut

Apabila ada yang mau ditanyakan soal skrip ini, bisa langsung pm saya:

Issues· 3 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言