{"id":21940732,"url":"https://github.com/garno/catalog","last_synced_at":"2026-04-24T21:33:59.181Z","repository":{"id":20329202,"uuid":"23603599","full_name":"garno/catalog","owner":"garno","description":"Catalog prevents your download folder from being a mess on your Mac.","archived":false,"fork":false,"pushed_at":"2014-09-22T04:02:10.000Z","size":208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-25T06:54:35.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/garno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-03T02:28:00.000Z","updated_at":"2014-09-05T03:21:53.000Z","dependencies_parsed_at":"2022-08-05T07:31:06.307Z","dependency_job_id":null,"html_url":"https://github.com/garno/catalog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/garno/catalog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garno%2Fcatalog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garno%2Fcatalog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garno%2Fcatalog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garno%2Fcatalog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garno","download_url":"https://codeload.github.com/garno/catalog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garno%2Fcatalog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32241794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-29T02:36:06.233Z","updated_at":"2026-04-24T21:33:59.167Z","avatar_url":"https://github.com/garno.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Catalog\n*Catalog prevents your download folder from being a mess on your Mac.*\n\n## The problem\n\nThe *Downloads* folder on a Mac is the most cluttered folder there is. Even with the best intentions, we end up not cleaning it as often as we should.\n\n*Catalog* allow us to create rules to automatically organize your downloads based on their origin (*i.e. http://someurl.com/path/to/file.pdf*).\n\n## Installation\n\n```bash\n# Install `catalog` gem\n$ gem install catalog\n\n# Create the configuration file\n$ touch ~/.catalog\n```\n\n## State of project\n\nThe current version **doesn't include a CLI**. You'll have to use it through IRB as you can see in the [How to use](#how-to-use) section. The next step will be to provide a CLI and a way to easily deamonize this.\n\n## How to use\n\nAs mentionned above, *catalog* does not offer a CLI at the moment. You have to load it with IRB.\n\n```ruby\n\u003e require 'catalog'\n=\u003e true\n\n# Default location is ~/Downloads\n\u003e Catalog::Organizer.new.run!\n=\u003e true\n\n# However, you can specify your own\n\u003e Catalog::Organizer.new(base_path: '/Volumes/Downloads/').run!\n=\u003e true\n```\n\n#### `~/.catalog` example\n\n```yaml\ndrawers:\n  # Basecamp related files\n  - rule: basecamp.com\\/39\\/projects\\/12837347\\/\n    path: /Users/garno/Downloads/Basecamp/ProjectName/\n  - rule: basecamp.com\n    path: /Users/garno/Downloads/Basecamp/\n\n  # DMGs\n  - rule: \\.(?:dmg)$\n    path: /Users/garno/Downloads/DMGs/\n\n  # Alfred workflows\n  - rule: \\.(?:alfredworkflow)$\n    path: /Users/garno/Downloads/Alfred workflows/\n```\n\n**Rules order is really important** since a file will be moved according to the first matched rule.\n\n## License\n\nCatalog is © 2014 Samuel Garneau and may be freely distributed under the MIT license. See the LICENSE.md file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarno%2Fcatalog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarno%2Fcatalog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarno%2Fcatalog/lists"}