Code Monkey home page Code Monkey logo

bayardulu's Introduction

bayardulu encryption.

Sebuah script node.js untuk meng-encrypt source code project client kamu yang bandel.

NPM Version

Requirements

  • Node.js
  • NPM / Yarn

Warning

Gunakan script ini dengan hati-hati. Secara default, script ini akan meng-encrypt semua file dan folder di mana anda menjalankan command bayardulu (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
      npm install bayardulu --save-dev
    • Yarn
      yarn add bayardulu --dev
  • Global (bisa dijalankan di mana saja, tapi tidak direkomendasikan karena sangat berisiko)
    • NPM
      npm install -g bayardulu
    • Yarn
      yarn global add bayardulu

Usage

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

    • NPM

      # encrypt
      npx bayardulu encrypt
      
      # decrypt
      npx bayardulu decrypt
    • Yarn

      # encrypt
      yarn run bayardulu encrypt
      
      # decrypt
      yarn run bayardulu decrypt
  • Global

    # encrypt
    bayardulu encrypt
    
    # decrypt
    bayardulu decrypt

Advanced Usage

Meng-encrypt satu file (atau lebih)

npx bayardulu encrypt [nama_file_1] [nama_file_2] [dst]

Mengubah extension

npx bayardulu encrypt [nama_file] -x plongaplongo
# npx bayardulu encrypt [nama_file] --extension plongaplongo

Mengubah secret key

npx bayardulu encrypt [nama_file] -k awokawokawok
# npx bayardulu encrypt [nama_file] --secret-key awokawokawok

Men-decrypt satu file (atau lebih)

npx bayardulu decrypt [nama_file_1] [nama_file_2] [dst]

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

npx bayardulu decrypt [nama_file_1] -o
# npx bayardulu decrypt [nama_file_1] --overwrite

Menampilkan menu bantuan

npx bayardulu -h
# npx bayardulu --help

Menampilkan nomor versi

npx bayardulu -v
# npx bayardulu --version

Environment Variable

  • BAYARDULU_KEY = Secret key untuk enkripsi
  • BAYARDULU_EXT = Extension file hasil enkripsi

๐Ÿ’Œ Support

You guys can support me on the tracteer platform! Your support will be very helpful for me, but with you this star project has also been very helpful, you know!

Trakteer Saya kdandy kdandy

bayardulu's People

Contributors

kdandy avatar

Stargazers

 avatar Derva Anargya Ghaly avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.