Skip to content

🀫 CLI-tool to quickly and securely share `.env` files using 1Password written in RustπŸ¦€

License

Notifications You must be signed in to change notification settings

juliangra/sendenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” sendenv - 1Password .env Sharer πŸš€

πŸ“€ Easily upload and share files as secure notes in 1Password!

🌟 Features

  • πŸ“ Upload any file as a secure note to 1Password
  • πŸ”— Generate shareable links
  • πŸ“‹ Automatically copy share links to clipboard
  • πŸ“§ Optional email-gated sharing
  • πŸ”’ One-time view option for extra security

πŸ› οΈ Installation

Ensure you have Rust and cargo installed on your system. You also need the 1Password CLI installed on your system.

# Install 1Password CLI using your package manager (apt, yum, alpine, brew)
brew install --cask 1password-cli

# Authenticate using the 1Password CLI
eval $(op login)

# Install the application
cargo install sendenv

Thats it! πŸ™Œ

πŸš€ Usage

sendenv [OPTIONS] --path <PATH_TO_FILE>

πŸ“ Example usage

# Uploads and creates a link for the `.env` file in the current directory
sendenv

# Uploads and creates a link for file `.env.development` in the cwd
sendenv -p env.development

# Uploads and shares link that can only be displayed once
# and which requires email verification from "[email protected]"
sendenv [email protected] --display-once

πŸŽ›οΈ Options

  • -p, --path <PATH_TO_FILE>: Path to the file you want to share (default: .env of current working directory)
  • -e, --email <EMAIL>: Require email to access the shared note
  • -d, --display-once: Make the link expire after a single use

πŸ“š Dependencies

  • πŸ€– Clap - a tool that simplifies the creation of CLI applications
  • πŸ“‹ Arboard - a tool that streamlines clipboard management

πŸ”‘ Prerequisites

  • 1Password CLI installed and configured
  • Active 1Password session (eval $(op signin))

πŸ›‘οΈ Security

This tool uses 1Password's secure infrastructure to protect your sensitive data.

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“„ License

This project is licensed under the MIT License.

πŸ§‘β€πŸ’» Developer

Developed by Julian Grande


πŸ’‘ Need help? Open an issue or contact me via email

About

🀫 CLI-tool to quickly and securely share `.env` files using 1Password written in RustπŸ¦€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages