{"id":21101700,"url":"https://github.com/decodedco/arduinoproxy","last_synced_at":"2025-06-26T23:45:01.848Z","repository":{"id":34154684,"uuid":"37994026","full_name":"DecodedCo/ArduinoProxy","owner":"DecodedCo","description":"Allow an Arduino to hit a URL while connected over USB","archived":false,"fork":false,"pushed_at":"2017-01-18T21:56:37.000Z","size":230,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-01-21T02:43:47.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://futuretech.decoded.com.com","language":"Python","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/DecodedCo.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}},"created_at":"2015-06-24T15:42:14.000Z","updated_at":"2017-01-18T21:47:58.000Z","dependencies_parsed_at":"2022-09-02T14:01:39.213Z","dependency_job_id":null,"html_url":"https://github.com/DecodedCo/ArduinoProxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DecodedCo%2FArduinoProxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DecodedCo%2FArduinoProxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DecodedCo%2FArduinoProxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DecodedCo%2FArduinoProxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DecodedCo","download_url":"https://codeload.github.com/DecodedCo/ArduinoProxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243544535,"owners_count":20308171,"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-11-19T23:48:16.585Z","updated_at":"2025-03-14T08:20:46.581Z","avatar_url":"https://github.com/DecodedCo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arduino Proxy\n\n*Prototyping IoT without direct internet connectivity*\n\n## Description\n\nHave you ever needed to test an Internet of Things prototype while programming your Arduino over USB, and you don't have a WiFi or Ethernet shield setup?\n\nThis simple python script will listen to the serial output from your Arduino, and perform a GET request on any URLs output. It will pipe any non-URL serial output to the terminal.\n\n## Installation\n\n* You will need the `pySerial` library installed e.g. `pip install pySerial`\n\n## Usage\n\n### In your Arduino code\n\n```\nvoid setup() {\n\tSerial.begin(9600);\n}\n\nvoid loop() {\n\tif () { // Logic to trigger an API call\n\t\tSerial.println(\"http://api.to.hit/\"); // URL of API\n\t\tSerial.println(\"Debugging message\");\n\t} else {\n\t\tSerial.println(\"Debugging message\");\n\t}\n}\n```\n\n### When you're ready to test\n\n```\npython arduinoProxy.py [9600]\n```\n\n* Optional argument for baud rate defined in your Arduino code (default: 9600)\n* To quit do a CTRL-C and it will gracefully exit\n\nThe python script will parse all serial input, and perform a GET request on any URLs detected.\n\n## Binaries\n\nIn the `binaries/` folder are ready-to-use binaries for the classroom, that can be launched from a GUI.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Decoded\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecodedco%2Farduinoproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecodedco%2Farduinoproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecodedco%2Farduinoproxy/lists"}