Skip to content

keeporsweep/keeporsweep-desktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

43 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Randomly declutter your computer!

Install

This is the desktop app (v0.1.0) for โŠžWindows, ๐ŸmacOS & ๐ŸงLinux.

Thereโ€™s also a โ˜๏ธNextcloud app, and more info at ๐Ÿ”€keeporsweep.net.

Contribute

Contributions are always welcome! ๐Ÿ˜ Check out the list of issues and see what you like to contribute. Keep or Sweep is written in ๐ŸPython so if you know about that โ€“ come on board!

Development setup

  1. Install the dependencies: We need Pillow (Python library for image handling) and Send2Trash (to move files to trash cross-platform instead of permanently removing them). Type these commands in a terminal window:
sudo easy_install pip
pip3 install -r requirements.txt
  1. Make keeporsweep.py executable by right-click โ†’ Properties โ†’ Allow executing file as program. (Or in the terminal with chmod +x keeporsweep.py)
  2. Then place keeporsweep.py in any folder and click it! ๐ŸŽ‰ (Or in the terminal run python3 keeporsweep.py)

Building an executable app

  1. Install PyInstaller via terminal:
pip3 install pyinstaller
  1. Then use this command to build the application for your operating system (use icon.icns instead of icon.ico when building on macOS):
pyinstaller --name="Keep or Sweep" --onefile --noconsole --icon="images/icon.ico" --clean keeporsweep.py
  1. The executable file will be in the dist subfolder.

In case the icon was changed, we need to generate those again. Windows .ico uses the 256px icon and can be saved using GIMP, macOS .icns uses icons ranging from 16px to 1024px and can be generated using png2icns.