{"id":14065797,"url":"https://github.com/CAVIND46016/Folder_Customization-Icons","last_synced_at":"2025-07-29T21:33:56.186Z","repository":{"id":86930291,"uuid":"100329840","full_name":"CAVIND46016/Folder_Customization-Icons","owner":"CAVIND46016","description":"Automating applying icons to folders in Windows OS.","archived":false,"fork":false,"pushed_at":"2023-12-02T14:39:20.000Z","size":35817,"stargazers_count":20,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-14T07:09:47.375Z","etag":null,"topics":["executable","google-image-search","gui","icon","icon-theme","icons","pyinstaller","pylint","python-script","python3","tkinter","tkinter-graphic-interface","tkinter-gui","tkinter-python","tkinter-widgets","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CAVIND46016.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-08-15T02:29:26.000Z","updated_at":"2024-06-14T12:31:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"f073a893-df7b-4cf0-a987-d9b8e148cc61","html_url":"https://github.com/CAVIND46016/Folder_Customization-Icons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CAVIND46016%2FFolder_Customization-Icons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CAVIND46016%2FFolder_Customization-Icons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CAVIND46016%2FFolder_Customization-Icons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CAVIND46016%2FFolder_Customization-Icons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CAVIND46016","download_url":"https://codeload.github.com/CAVIND46016/Folder_Customization-Icons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228052622,"owners_count":17862103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["executable","google-image-search","gui","icon","icon-theme","icons","pyinstaller","pylint","python-script","python3","tkinter","tkinter-graphic-interface","tkinter-gui","tkinter-python","tkinter-widgets","windows"],"created_at":"2024-08-13T07:04:43.944Z","updated_at":"2025-07-29T21:33:56.154Z","avatar_url":"https://github.com/CAVIND46016.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Folder customization (Advanced)\nThe Python script takes a directory name as input. It then searches for suitable images (size = 256x256) related to the folder name on https://images.google.com/. The script downloads 'n' images (where n is a parameter, n \u003c= 100), selects one randomly, and converts it into an .ico file.\n\nThe value of 'n' is customizable, but it's important to note that a higher 'n' will increase the execution time, and the icons may or may not be appropriate for the folder, similar to the manual image search on Google.\n\nThe chosen image is converted to the .ico format and saved in the relevant subdirectory. Subsequently, it is applied as the folder's icon.\n\n### Before:\n![alt text](https://github.com/CAVIND46016/Folder_Customization-Icons/blob/master/data/friends_before.png)\n### After:\n![alt text](https://github.com/CAVIND46016/Folder_Customization-Icons/blob/master/data/friends_after.png)\n\n# Folder customization (Basic)\nIn this process, the icons must be manually created and saved in their respective directory or subdirectory. The Python script is responsible for applying these pre-created icons to the corresponding folders.\n\n### Before:\n![alt text](https://github.com/CAVIND46016/Bulk-Icon-Apply/blob/master/data/before.png)\n### After:\n![alt text](https://github.com/CAVIND46016/Bulk-Icon-Apply/blob/master/data/after.png)\n\nYou can easily create a Windows Application (.exe) file by following the steps outlined on the website: https://mborgerson.com/creating-an-executable-from-a-python-script/.\n\nTo generate the executable, you can use the following commands:\n\n```bash\npyinstaller.exe --onefile --windowed app.py\npyinstaller.exe --onefile --windowed --icon=app.ico app.py\n```\n\nExplanation of options:\n\n- _--onefile_: Packages everything into a single executable. Without this option, libraries, etc., will be distributed as separate files alongside the main executable.\n- _--windowed_: Prevents a console window from being displayed when the application is run. Useful for graphical applications; for non-graphical (console) applications, this option is not necessary.\n- _app.py_: The main source file of the application. The basename of this script will be used to name the executable. You can specify an alternative name using the --name option.\n\n##### For more details, you can refer to the [LinkedIn post](https://www.linkedin.com/feed/update/urn:li:activity:6372596933311156224).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCAVIND46016%2FFolder_Customization-Icons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCAVIND46016%2FFolder_Customization-Icons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCAVIND46016%2FFolder_Customization-Icons/lists"}