{"id":22580457,"url":"https://github.com/boisy/drivewire-mac","last_synced_at":"2025-08-05T01:31:34.748Z","repository":{"id":30493846,"uuid":"34047996","full_name":"boisy/drivewire-mac","owner":"boisy","description":"The official DriveWire Server for macOS","archived":false,"fork":false,"pushed_at":"2023-09-28T01:09:13.000Z","size":12326,"stargazers_count":10,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-09-28T09:12:25.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boisy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-04-16T09:55:53.000Z","updated_at":"2023-07-03T01:12:52.000Z","dependencies_parsed_at":"2023-09-26T17:11:34.091Z","dependency_job_id":null,"html_url":"https://github.com/boisy/drivewire-mac","commit_stats":null,"previous_names":[],"tags_count":39,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boisy%2Fdrivewire-mac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boisy%2Fdrivewire-mac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boisy%2Fdrivewire-mac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boisy%2Fdrivewire-mac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boisy","download_url":"https://codeload.github.com/boisy/drivewire-mac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228691914,"owners_count":17958007,"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":[],"created_at":"2024-12-08T05:22:25.276Z","updated_at":"2024-12-08T05:22:29.229Z","avatar_url":"https://github.com/boisy.png","language":"Objective-C","readme":"# DriveWire Server for macOS\nThis is the official DriveWire server for macOS. Integrations are performed as commits are made, and Sparkle is used for in-app updating.\n\n\n## Obtaining Dependency Frameworks with CocoaPods\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Xcode projects which automates and simplifies the process of using 3rd-party libraries. You can install it with the following command:\n\n```bash\n$ sudo gem install cocoapods\n```\n\n## Building\n\nOnce you have installed CocoaPods, run the following command:\n\n```bash\n$ pod install\n```\n\nThis will fetch the required frameworks and create the DriveWire.xcworkspace file. You can open the workspace file in Xcode and build the server. Use Xcode 9 or later.\n\n## AppleScript Support\nYou can use AppleScript to communicate with DriveWire server for macOS using the Script Editor application on the Mac. This is convenient if you want to automate your disk image creation and test workflow. Below are several \"recipes\" that you can use. Note that each script accesses the \"first document\" but you can also reference a document by name if you have more than one opened.\n\n\n### Set the baud rate:\n```AppleScript\ntell application \"DriveWire\"\n    tell server of first document\n        set baudRate to 57600\n    end tell\nend tell\n```\n\n### Eject the virtual disk in drive 3:\n```AppleScript\ntell application \"DriveWire\"\n    tell server of first document\n        -- an error is returned if the drive number is illegal\n        eject drive 3\n    end tell\nend tell\n```\n\n### Insert virtual disk \"mydisk.dsk\" into drive 0 and set the serial port:\n```AppleScript\ntell application \"DriveWire\"\n    tell server of first document\n        -- the insert command ejects any virtual disk from the drive before inserting the new one\n        insert image POSIX path of (\"/Users/boisy/mydisk.dsk\") into drive 0\n        change to port \"usbserial-FT079LCRB\"\n    end tell\nend tell\n```\n\n### Reload the virtual disk in drive 0:\nThis command is useful if you have altered the contents of the underlying disk image and want the server to detect those changes.\n\n```AppleScript\ntell application \"DriveWire\"\n    tell server of first document\n    -- the insert command ejects any virtual disk from the drive before inserting the new one\n        reload drive 0\n    end tell\nend tell\n```\n\n### Turn off the serial port:\nSometimes you need to get DriveWire out of the way and not control the serial port.\n\n```AppleScript\ntell application \"DriveWire\"\n    tell server of first document\n    -- turn off the serial port\n        change to port \"\" \n    end tell\nend tell\n```\n\n### Create a new document, set the baud rate to 57,600 bits per second, and insert a few disk images:\n```AppleScript\ntell application \"DriveWire\"\n    set newDocument to make new document\n    tell server of newDocument\n        set baudrate to 57600\n        -- an error is returned if the drive number is illegal or the path does not exist\n        insert image POSIX path of (\"/Users/boisy/nitros9.dsk\") into drive 0\n        insert image POSIX path of (\"/Users/boisy/utilities.dsk\") into drive 1\n    end tell\nend tell\n```\n\n## DriveWire Specification\nThis server follows the specifications [found here]( https://sourceforge.net/p/drivewireserver/wiki/DriveWire_Specification/).\n\n\n","funding_links":[],"categories":["Protocols"],"sub_categories":["DriveWire"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboisy%2Fdrivewire-mac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboisy%2Fdrivewire-mac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboisy%2Fdrivewire-mac/lists"}