{"id":16981532,"url":"https://github.com/saadbazaz/arduino-rest-server","last_synced_at":"2025-04-15T02:18:27.731Z","repository":{"id":109372622,"uuid":"307171842","full_name":"SaadBazaz/Arduino-REST-Server","owner":"SaadBazaz","description":"🔌 Create REST APIs on an Arduino Uno!","archived":false,"fork":false,"pushed_at":"2021-05-17T18:18:54.000Z","size":152,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T02:18:21.146Z","etag":null,"topics":["arduino-boards","cpp","internet-of-things","microcontroller","rest-api","rest-server","web-framework","web-server"],"latest_commit_sha":null,"homepage":"","language":"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/SaadBazaz.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":"2020-10-25T19:04:56.000Z","updated_at":"2025-02-20T13:51:20.000Z","dependencies_parsed_at":"2023-03-07T10:00:14.768Z","dependency_job_id":null,"html_url":"https://github.com/SaadBazaz/Arduino-REST-Server","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/SaadBazaz%2FArduino-REST-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaadBazaz%2FArduino-REST-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaadBazaz%2FArduino-REST-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaadBazaz%2FArduino-REST-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaadBazaz","download_url":"https://codeload.github.com/SaadBazaz/Arduino-REST-Server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991561,"owners_count":21194894,"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":["arduino-boards","cpp","internet-of-things","microcontroller","rest-api","rest-server","web-framework","web-server"],"created_at":"2024-10-14T02:05:43.491Z","updated_at":"2025-04-15T02:18:27.725Z","avatar_url":"https://github.com/SaadBazaz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arduino-Web-Server\nSimple, super-compact webserver code for Arduino boards\n\n### Features\n- Simple routing\n- Time-logging from an actual timeserver\n- Extracts and parses request body\n- CORS Enabled\n- Optimized yet easily editable\n- Does not consume enough memory to cause instability (Consuming just ~85% Program memory, ~68% SRAM)\n\n### Notes\nFor production, comment all Serial.print statements and it'll save ~20% SRAM compared to uncommented.\n\nYou can edit the MAXLENGTH_FIRSTLINE preprocessor definition according to your needs. I recommend building very very small routes, preferably 1 character only. This would optimize performance.\n\nYou can also remove unnecessary messages being returned to the client. The browser/app should be capable enough to understand the response just with the HTTP response code.\n\nIf the Arduino hangs or takes more than 8 seconds, it is automatically rebooted.\n\nIncase of file corruption, please try to delete the files from the SD card. \n\n##### Tested on\nArduino Uno with Ethernet Shield, and a 16GB (overkill) SD card.\n\n\nHave fun! If you're able to optimize this or make it better, please make a Pull Request.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaadbazaz%2Farduino-rest-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaadbazaz%2Farduino-rest-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaadbazaz%2Farduino-rest-server/lists"}