GithubHelp home page GithubHelp logo

williamvenner / blackhole Goto Github PK

View Code? Open in Web Editor NEW
55.0 7.0 3.0 221 KB

๐ŸŒŒ A semi-temporary directory for Windows & macOS

License: GNU General Public License v3.0

Rust 90.28% Objective-C 9.72%
rust blackhole organization organisation organisation-tool organization-tool black-hole ramdisk forget file-management

blackhole's Introduction

Logo

Blackhole

GitHub Actions Build Status

Blackhole is a simple program that creates a folder in your computer's home directory where files may not return.

Every time you start your computer/log into your user account, if contents are present, the Blackhole directory is moved to your computer's Recycle Bin/Trash, where you can restore it if needed.

Use Cases

  • Temporary downloads
  • Temporary torrents
  • Temporary extractions of specific files in archives (.zip, .tar, .rar, etc)
  • Temporary storage for files waiting to be uploaded elsewhere, e.g. via FTP
  • Temporary downloads of files from instant messaging
  • A recoverable/very large/non-volatile (but slower) ramdisk
  • A glorified temp folder/recycle bin

And much more...

Releases

Click here for pre-built binaries.

Windows

  • Blackhole will automatically add itself to your startup programs via the registry.
  • The BLACKHOLE directory will be moved to the Recycle Bin every time you login, if contents are present.
  • The BLACKHOLE directory will automatically be added to the Quick Access locations.

File Location

%USERPROFILE%/BLACKHOLE

macOS

  • Blackhole will automatically add itself to your login items when you first run the program.
  • The BLACKHOLE directory will be moved to the Trash every time you login, if contents are present.
  • The BLACKHOLE directory will automatically be added to the Finder sidebar.

File Location

$HOME/BLACKHOLE

Screenshots

Windows

Credits

Icon made by Flat Icons from www.flaticon.com

blackhole's People

Contributors

williamvenner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

blackhole's Issues

Optimize this

let found_file = self.path.read_dir()?.into_iter().filter(
|entry| !entry.is_err() &&
!EMPTY_DIR_FILTER.contains(
entry.as_ref().unwrap().file_name().to_str().unwrap_or_default()
)
).next();

Error upon startup

When the user logs in and startup applications begin to start the following error popups for Blackhole.
image

Send to Blackhole issues

When I click "Blackhole" in the Context menu, I get an error . I have tried with different file types, but still get a same error. However, I can open these files just fine, so I do believe it may be Blackhole's issue.

For Context, I am on Windows 11 so it may be an incompatibility there.

Final small note, I think it would be better to name the action "Send to Blackhole" to be more clear

Recycle Bin issue

I am unsure if these errors relate to Windows 11 as I didnt get these on Window 10. Anyway, when you click "Blackbin" on the recycle bin it pops up with this error.
image

Remove $ from folder name to prevent confusion with variable interpolation

You shouldn't name directories on macOS/Linux with $NAME, because $ is used to prefix environment variables. So if the directory is ever accessed without quotes it will fail because the shell or script environment will treat it as an undefined variable. It would also just look much cleaner (regardless of platform) to have the directory called Blackhole (without the $). If you're by chance worried about the user thinking it's a 'normal' folder, you could badge the folder icon, add your own, etc (which it looks like you might already be doing).

https://www.reddit.com/r/software/comments/lrsehh/blackhole_a_semi_temporary_directory_for_windows/goq9g8n/

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.