{"id":26510196,"url":"https://github.com/toolsprods/latchforoctoprint","last_synced_at":"2025-06-28T04:32:09.491Z","repository":{"id":83326064,"uuid":"64462857","full_name":"toolsprods/LatchForOctoPrint","owner":"toolsprods","description":"A hack to implement Latch on a OctoPrint server","archived":false,"fork":false,"pushed_at":"2016-07-29T08:10:13.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T01:46:09.050Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toolsprods.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,"zenodo":null}},"created_at":"2016-07-29T08:07:02.000Z","updated_at":"2016-07-29T08:10:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ca90e04-5719-491f-83b5-5d413a49538b","html_url":"https://github.com/toolsprods/LatchForOctoPrint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/toolsprods/LatchForOctoPrint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolsprods%2FLatchForOctoPrint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolsprods%2FLatchForOctoPrint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolsprods%2FLatchForOctoPrint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolsprods%2FLatchForOctoPrint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toolsprods","download_url":"https://codeload.github.com/toolsprods/LatchForOctoPrint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolsprods%2FLatchForOctoPrint/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262375814,"owners_count":23301341,"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-03-21T01:46:12.616Z","updated_at":"2025-06-28T04:32:09.477Z","avatar_url":"https://github.com/toolsprods.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Version](https://img.shields.io/badge/OctoPrint-Latch%20for%20OctoPrint%20v1.0-red.svg?style=flat-square)\r\n![License](https://img.shields.io/badge/license-GNU-green.svg?style=flat-square)\r\n![Supported Python versions](https://img.shields.io/badge/python-2.7-blue.svg?style=flat-square)\r\n\r\n# Latch for OctoPrint\r\n\r\n\"Latch for OctoPrint\" is a hack to implement Latch on a OctoPrint server.\r\n\r\nPatching OctoPrint\r\n==================\r\n\r\nDownload and copy the content of \"octoprint\" folder in the directory with the same name at OctoPrint project that is \"src\".\r\n\r\n```\r\ngit clone https://github.com/foosel/OctoPrint.git\r\ngit clone https://github.com/toolsprods/LatchForOctoPrint\r\ncp -r LatchForOctoPrint/octoprint OctoPrint/src/\r\n```\r\n\r\nPairing Latch\r\n=============\r\n\r\n**Note:** For this step you must create an application from the Latch developer panel and have the App ID and the secret.\r\n\r\nEdit the \"config.py\" file in \"src/octoprint/server/latch\" with the App ID and the secret.\r\n\r\nPair from the OctoPrint directory:\r\n\r\n```\r\npython src/octoprint/server/latch -p PAIRING_CODE_HERE\r\n```\r\n\r\nBack to edit the \"config.py\" file, adding now the Account ID received.\r\n\r\nTo unpair:\r\n\r\n```\r\npython src/octoprint/server/latch -u\r\n```\r\n\r\nInstalling OctoPrint\r\n====================\r\n\r\nFinally it ends with the installation of OctoPrint. Run at OctoPrint directory:\r\n\r\n```\r\nvirtualenv venv\r\n./venv/bin/python setup.py install\r\n```\r\n\r\nRun OctoPrint:\r\n\r\n```\r\n./venv/bin/octoprint\r\n```\r\n\r\nAuthors\r\n=======\r\n\r\n**Álvaro Núñez** - \u003ctoolsprods@gmail.com\u003e\r\n\r\n**Latch** - [Eleven Paths](https://latch.elevenpaths.com)\r\n\r\nLicense\r\n=======\r\n\r\nThis project is licensed under the GNU General Public License - see the LICENSE file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolsprods%2Flatchforoctoprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoolsprods%2Flatchforoctoprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolsprods%2Flatchforoctoprint/lists"}