{"id":20092684,"url":"https://github.com/codeyarduk/homebrew-mordecai","last_synced_at":"2026-04-17T04:04:46.329Z","repository":{"id":262448727,"uuid":"876763208","full_name":"codeyarduk/homebrew-mordecai","owner":"codeyarduk","description":"Mordecai Brew Tap","archived":false,"fork":false,"pushed_at":"2024-12-09T19:26:08.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-13T03:15:16.917Z","etag":null,"topics":["cli","homebrew","homebrew-tap"],"latest_commit_sha":null,"homepage":"https://mordecaiapp.com","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/codeyarduk.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,"publiccode":null,"codemeta":null}},"created_at":"2024-10-22T14:13:52.000Z","updated_at":"2024-12-09T19:26:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ac0ee69-a732-4f60-b41f-755b398793d3","html_url":"https://github.com/codeyarduk/homebrew-mordecai","commit_stats":null,"previous_names":["codeyarduk/homebrew-mordecai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeyarduk%2Fhomebrew-mordecai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeyarduk%2Fhomebrew-mordecai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeyarduk%2Fhomebrew-mordecai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeyarduk%2Fhomebrew-mordecai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeyarduk","download_url":"https://codeload.github.com/codeyarduk/homebrew-mordecai/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241533648,"owners_count":19977826,"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":["cli","homebrew","homebrew-tap"],"created_at":"2024-11-13T16:44:17.901Z","updated_at":"2026-04-17T04:04:41.307Z","avatar_url":"https://github.com/codeyarduk.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mordecai CLI\n\nMordecai is a command-line interface (CLI) tool designed to link your local codebase with a remote workspace and synchronise file changes in real-time.\n\n**Installation**\n\n```brew tap codeyarduk/mordecai```\n\n```brew install mordecai```\n\n**Usage**\n\nThe basic syntax for using Mordecai is:\n\n```mordecai \u003ccommand\u003e```\n\n### Available Commands\n\n**link** \n\n```mordecai link```\n\nThis command:\n\n- Authenticates the user (if not already authenticated)\n- Reads the current directory\n- Prompts the user to select a remote workspace\n- Sends the initial codebase to the selected workspace\n- Starts watching the directory for changes and syncs them in real-time\n\n**logout**\n\n```mordecai logout```\n\nLogs out the current user by deleting the stored authentication token.\n\n**--help**\n\n```mordecai --help```\n\nDisplays usage information and available commands.\n\n**Key Features**\n\n- Authentication: Uses a browser-based OAuth flow for secure user authentication.\n- Workspace Selection: Allows users to choose from available remote workspaces.\n- File Synchronization: Watches the local directory for changes and syncs them to the remote workspace.\n- Gitignore Support: Respects .gitignore rules when scanning directories.\n- File Type Filtering: Syncs only specific file types (e.g., .go, .js, .ts, .py, .html, .css, .json, .rb, .md).\n\n**Advanced Concepts**\n\n- Token Management: Securely stores and manages authentication tokens.\n- File System Watcher: Utilizes fsnotify for efficient file change detection.\n- Debounced Updates: Implements a 5-second debounce to batch file updates.\n- Interactive CLI: Uses charmbracelet/bubbles for an enhanced user interface.\n\n**Error Handling**\n\nThe CLI provides informative error messages for various scenarios, including authentication failures, file reading errors, and network issues.\n\n**Security Considerations**\n\n- Tokens are stored securely in the user's home directory.\n- HTTPS is used for all communications with the server.\n\n**Limitations**\n\n- Currently supports a predefined list of file extensions.\n- Requires an active internet connection for synchronization.\n\n\nFor more information or support, please contact [David on X](https://x.com/davidwrossiter).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeyarduk%2Fhomebrew-mordecai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeyarduk%2Fhomebrew-mordecai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeyarduk%2Fhomebrew-mordecai/lists"}