#git-hook #git #environment #binary #cli

app besafe

A simple git pre-commit hook to prevent accidental publishing of .env files!

1 stable release

1.0.0 May 28, 2024

#2539 in Command line utilities

MIT license

7KB
110 lines

besafe

A simple git pre-commit hook to prevent youfrom accidentally leaking your .env files.

Dependencies

To install and run

Cargo:

cargo install besafe --locked
besafe install

Scoop:

scoop install https://raw.githubusercontent.com/pybash1/besafe/main/besafe.json
besafe install

Features

  • Single command installation
  • Superfast(written in Rust)
  • Has default exceptions like .env.example and gitignored files
  • Only 1 dependency

OSes tested

  • Windows

Dependencies

~1MB
~15K SLoC