百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

bayarcoek

> 编程语言
开源

有一个名为 Node.js 的脚本,用于"加密"那些不愿支付费用的客户端源代码项目

100 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

有一个名为 Node.js 的脚本,用于"加密"那些不愿支付费用的客户端源代码项目

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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