{"id":24811086,"url":"https://github.com/thin-edge/homebrew-tedge","last_synced_at":"2025-03-25T13:24:09.268Z","repository":{"id":225539236,"uuid":"766239565","full_name":"thin-edge/homebrew-tedge","owner":"thin-edge","description":"Homebrew tap to install thin-edge.io on MacOS","archived":false,"fork":false,"pushed_at":"2025-03-19T03:31:13.000Z","size":131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T04:27:54.500Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thin-edge.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-02T18:03:06.000Z","updated_at":"2025-03-19T03:31:16.000Z","dependencies_parsed_at":"2024-03-02T19:28:09.977Z","dependency_job_id":"a6090ae6-6f64-478c-a550-5a3c905310dd","html_url":"https://github.com/thin-edge/homebrew-tedge","commit_stats":null,"previous_names":["reubenmiller/homebrew-tedge","thin-edge/homebrew-tedge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Fhomebrew-tedge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Fhomebrew-tedge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Fhomebrew-tedge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Fhomebrew-tedge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thin-edge","download_url":"https://codeload.github.com/thin-edge/homebrew-tedge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245468697,"owners_count":20620435,"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":"2025-01-30T12:19:16.019Z","updated_at":"2025-03-25T13:24:09.253Z","avatar_url":"https://github.com/thin-edge.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## tedge\n\nA homebrew formula to install the thin-edge.io binaries on MacOS (x86_64 and aarch64).\n\nThe goal of installing thin-edge.io on MacOS is not to have a fully functional thin-edge.io installation, but it is more to be able to let MacOS users to run the binaries natively to assist with development and experiments without having to install a container.\n\nThe formula is automatically updated to the last thin-edge.io version in the main branch (e.g. not the official version). Upon the next thin-edge.io release (~1.1.0), the formula can be updated to use the official release (since some code changes were required to compile thin-edge.io for MacOS targets).\n\n## Install\n\nInstall thin-edge.io using the following commands:\n\n```sh\nbrew tap thin-edge/tedge\nbrew install tedge\n```\n\nMake sure you read the console output after installing thin-edge.io as it will help guide you how to run each of the different components (based on your context!).\n\nBelow is an example of the output when run on MacOS with Apple Silicon (M*):\n\n```sh\nthin-edge.io has been installed with a default configuration file.\nYou can make changes to the configuration by editing:\n    /opt/homebrew/etc/tedge/tedge.toml\n\nYou need to manually edit the mosquitto configuration to add the following line:\n    sh -c 'echo include_dir /opt/homebrew/etc/tedge/mosquitto-conf \u003e\u003e \"/opt/homebrew/etc/mosquitto/mosquitto.conf\"'\n\nThe following components can be started manually using:\n\ntedge:\n    export TEDGE_CONFIG_DIR=/opt/homebrew/etc/tedge\n    /opt/homebrew/bin/tedge config set c8y.url \"example.c8y.io\"\n\ntedge-agent:\n    export TEDGE_CONFIG_DIR=/opt/homebrew/etc/tedge\n    /opt/homebrew/bin/tedge-agent\n\ntedge-mapper-c8y:\n    export TEDGE_CONFIG_DIR=/opt/homebrew/etc/tedge\n    /opt/homebrew/bin/tedge-mapper c8y\n```\n\nYou can check the installed version by using the following command:\n\n```sh\ntedge --version\n```\n\n### Install main branch release\n\nYou can install the latest pre-release version (which is built from the main branch of the project). This is useful if you want to try out the new features as soon as they've been merged and not have to wait until the next release.\n\nIt's best to also install official version as well as you still need to run the same post installation instructions on the first time, so be sure to follow the on-screen instructions when installing any homebrew packages.\n\nInstall the latest pre-release version using:\n\n```sh\nbrew tap thin-edge/tedge\nbrew install tedge-main\n```\n\nIf you've previously install the `tedge` package then after the installation you'll need to unlink the `tedge` package and then link the `tedge-main` package (though both packages provide the `tedge` binary, hence why we're linking/unlinking things in homebrew).\n\n```sh\nbrew unlink tedge; brew link tedge-main\n```\n\nIf you want to switch back to the official release (and you have the `tedge` package installed), then run:\n\n```sh\nbrew unlink tedge-main; brew link tedge\n```\n\n## Testing\n\nYou can manually test the homebrew formula by checking out the project, and then running:\n\n```sh\nHOMEBREW_NO_INSTALL_FROM_API=1 brew install --verbose --build-from-source Formula/tedge.rb\n```\n\nOr if you have already installed the package, then you need to run `reinstall`:\n\n```sh\nHOMEBREW_NO_INSTALL_FROM_API=1 brew reinstall --verbose --build-from-source Formula/tedge.rb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthin-edge%2Fhomebrew-tedge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthin-edge%2Fhomebrew-tedge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthin-edge%2Fhomebrew-tedge/lists"}