Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

FolderIcon 📂✨

FolderIcon is a sleek, premium macOS utility designed to help you organize and personalize your workspace by customizing folder icons with ease. Whether you want to color-code your projects, add descriptive SF Symbols, or use your own logos, FolderIcon makes it simple and fast.

Preview

Gradient colors SF Symbols
Gradient color controls SF Symbols browser
Icon styling History
Icon styling controls Applied icon history

🚀 Features

  • Exact Color Matching: Colors are applied via a luminance-mapping technique — the folder keeps Apple's native shading, gloss and volume, while the hue is exactly the color you picked. No blue tint bleeds through.
  • Solid & Gradient Tinting: Full HSB control for a solid color, or blend two colors at any angle. 24 handcrafted solid presets and 16 gradient presets.
  • Opacity Control: Folder opacity starts at 100% and can fade to fully transparent without revealing the original blue system folder.
  • SF Symbols Integration: Browse 64 built-in symbols, or open Apple's SF Symbols app, copy any symbol name, and paste it into FolderIcon. A selectable example and Copy button make the workflow clear; invalid names are detected before rendering.
  • Emoji & Text: Add up to four characters — a short label, several emoji, or a combination. Choose from 72 quick emoji presets; plain text follows the selected icon color/style.
  • Custom Images & SVG: Choose or drag and drop PNG, JPEG, WebP, and SVG images (including transparency), or paste SVG code copied from SimpleIcons. Color and Inverted styles also work with SVG artwork.
  • Icon Style Controls: Adjust icon size, position, color, and Vibrant, Original, Color, or Inverted rendering from the Style tab.
  • History: The latest 100 applied icons are saved automatically. Click any entry to re-apply its exact settings, or remove it with the ✕ button.
  • Real-time Preview: See exactly how your folder will look before applying changes.
  • Bulk Processing: Drag multiple folders at once to update them all in one click.
  • Reset to Default: Restore original folder icons at any time.
  • Native Look & Feel: A focused macOS-native interface built with SwiftUI and AppKit.

⬇️ Download

Prebuilt versions are published automatically on the Releases page. Every release contains:

  • FolderIcon-vX.Y.Z.dmg — open it and drag FolderIcon into Applications.
  • FolderIcon-vX.Y.Z.zip — unzip and move FolderIcon into Applications.

Important

The app is built by GitHub Actions and signed ad-hoc — it is not signed with an Apple Developer ID and not notarized. macOS Gatekeeper will therefore warn you on the first launch. See the instructions below.

🛡 Removing the quarantine (first launch)

Option A — Finder (no terminal):

  1. Open Applications, right-click (or Control-click) on FolderIcon → Open.
  2. In the warning dialog click Open again. This is required only once — afterwards the app launches normally.

Option B — Terminal:

xattr -dr com.apple.quarantine /Applications/FolderIcon.app

Tip: type xattr -dr com.apple.quarantine (with a trailing space), then drag FolderIcon.app from Finder into the Terminal window and press Enter.

If macOS says “FolderIcon is damaged or missing necessary files”: this usually means the archive was extracted incorrectly. Re-download the .dmg/.zip, open it with the built-in Archive Utility/DiskImage Mounter, and make sure the whole FolderIcon.app bundle ends up in /Applications — then remove the quarantine as shown above.

🛠 Building from Source

Option 1: Terminal

Build and install directly from the command line:

git clone https://github.com/ChornyiDev/FolderIcon.git
cd FolderIcon

# Build the release binary
xcodebuild -project FolderIcon.xcodeproj \
  -scheme FolderIcon \
  -configuration Release \
  -derivedDataPath build_output \
  build

# Install to /Applications
cp -R build_output/Build/Products/Release/FolderIcon.app /Applications/

# Optional: clean up build artifacts
rm -rf build_output

# Launch the app
open /Applications/FolderIcon.app

One-liner (copy-paste the whole block):

git clone https://github.com/ChornyiDev/FolderIcon.git && cd FolderIcon && \
xcodebuild -project FolderIcon.xcodeproj -scheme FolderIcon -configuration Release -derivedDataPath build_output build && \
cp -R build_output/Build/Products/Release/FolderIcon.app /Applications/ && \
rm -rf build_output && open /Applications/FolderIcon.app

Option 2: Xcode

  1. Open FolderIcon.xcodeproj in Xcode 16 or newer.
  2. Press Cmd + R to run the app or Cmd + B to build it.

📖 How to Use

  1. Add Folders: Drag one or more folders into the application window.
  2. Choose Style:
    • Color: Pick Solid or Gradient tint, adjust hue/saturation/brightness, or change opacity from its 100% default.
    • Icon: Choose an included SF Symbol or paste any valid SF Symbol name; enter up to four emoji/text characters; or choose, drop, or paste SVG code for a Custom image.
    • Style: Refine icon size, position, color, and rendering mode (Vibrant, Original, Color, Inverted).
    • History: Browse previously applied icons; click one to re-apply its settings.
  3. Apply: Click the "Colorize" button to apply the new icon to your folders instantly, or Reset to restore the default folder icons.

🍎 Technical Details

  • Language mode: Swift 5
  • Framework: SwiftUI & AppKit
  • Platform: macOS 14.0+
  • Icon rendering: Luminance-map recolor (CGBlendMode.multiply over the folder silhouette) for pixel-accurate colors with native shading.
  • Sandbox: Read/write access is limited to folders explicitly selected by the user.

✅ Tests

Run the unit test suite from Terminal:

xcodebuild test \
  -project FolderIcon.xcodeproj \
  -scheme FolderIcon \
  -destination 'platform=macOS'

The tests cover the SF Symbols grid, emoji/text input limits, PNG/SVG image loading (including dropped SVG data), default and zero-opacity rendering, history pruning, and history state restoration.

🔄 Releases (maintainers)

Releases are fully automated with GitHub Actions:

  1. Make sure MARKETING_VERSION in the project matches the version you want to ship (the v* tag is authoritative — CI overrides the version with the tag number).
  2. Push a tag:
    git tag v1.0.1
    git push origin v1.0.1
  3. The Release workflow builds the app on a macOS runner, packages .zip + .dmg, and publishes a GitHub Release with auto-generated notes.

Every push/PR to main is additionally built by the CI workflow, with the .app available as a downloadable artifact.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Created with ❤️ by ChornyiDev

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages