Bhej

Share files like a dev.

How does it work?

Bhej is a CLI tool that lets you send large files in the most convenient way possible. You just have to download Bhej, run bhej up <filename> and you're done! 😮

Upon upload, you'll get a 6-digit code that can be used to download the file using the command bhej down <code>. You'll also get a link where you can directly download the file.

In the background, we automatically compress and decompress your files for the fastest possible transfer. Loaded files expire in 1 day.

The free version of Bhej support files that, when compressed, are less than 1GB. If you'd like to remove this limit, please contact at [email protected].

Installation

We currently only support Python 3.6+. If you'd like to see support for other versions, please let us know at [email protected].

To install this CLI, just run the following command.

python3 -m pip install bhej

Type in the bhej command to confirm that it was successfully installed.

While we recommend using bhej in your projects virtual environment, you can also install it globally with pipx.

pipx install bhej

Usage

To upload a file, just run the following command.

bhej up <filename>
# You'll receive a 6 digit code to share.
# You'll also get a link for direct download.

To download a file, you can use the direct download link or just run the following command.

bhej down <code> # Use the 6 digit code from the upload step.

Downloads using the CLI will be much faster than the direct link. This is because when you use the CLI, we decompress the file on the client-side. When you use the download link, we decompress on the server-side.

FAQs

Are files encrypted?

Yes! All files are encrypted at rest.

Troubleshooting

I'm getting an error "Could not find a version that satisfies the requirement bhej (from versions: )

This means that the version of Python that you're using isn't compatible. Please ensure that you're using Python ^3.6.

I'm getting "bhej: command not found"

If the bhej command isn't available, but the install seemed successful, your user level Python packages may not be accessible from your PATH. For some Debian/Ubuntu systems, you can add it to your PATH by executing echo "export PATH=\"\$HOME/.local/bin:\$PATH\"" >> ~/.bashrc in your terminal.

Contact

If you have any comments, questions, or concerns, please don't hesitate to reach out to us at [email protected]. Also, if you'd like to chat about specific requirements you'd like to see, we'd love to talk with you--just book a time at this link.