{"id":18689148,"url":"https://github.com/luc-github/espluaengine","last_synced_at":"2025-09-01T07:39:57.719Z","repository":{"id":253528005,"uuid":"843770015","full_name":"luc-github/EspLuaEngine","owner":"luc-github","description":"Add Lua engine to your firmware using ESP boards","archived":false,"fork":false,"pushed_at":"2024-10-15T10:41:12.000Z","size":418,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T05:41:42.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/luc-github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"ko_fi":"ESP3D","liberapay":"ESP3D","custom":"https://www.paypal.com/donate/?hosted_button_id=FQL59C749A78L"}},"created_at":"2024-08-17T11:15:11.000Z","updated_at":"2024-11-16T04:52:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f58ec22e-441d-4419-bcc5-8fe861b1a244","html_url":"https://github.com/luc-github/EspLuaEngine","commit_stats":null,"previous_names":["luc-github/espluaengine"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/luc-github/EspLuaEngine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luc-github%2FEspLuaEngine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luc-github%2FEspLuaEngine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luc-github%2FEspLuaEngine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luc-github%2FEspLuaEngine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luc-github","download_url":"https://codeload.github.com/luc-github/EspLuaEngine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luc-github%2FEspLuaEngine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273089874,"owners_count":25043856,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07T10:40:40.715Z","updated_at":"2025-09-01T07:39:57.680Z","avatar_url":"https://github.com/luc-github.png","language":"C","readme":"# EspLuaEngine for ESP boards\n\n\n\nUnleash the power of flexible scripting on your ESP32 with EspLuaEngine! This library brings the versatility of Lua 5.4.7 to ESP devices, enabling dynamic and adaptable IoT applications.\n\nWhile primarily optimized for ESP32, EspLuaEngine is also compatible with ESP8266 and ESP8685 platforms, albeit with reduced performance. This cross-platform support allows you to leverage Lua scripting across a range of ESP microcontrollers.\n\n[![Lua 5.4.7](https://img.shields.io/badge/Lua%205.4.7-blue?style=plastic)](https://www.lua.org)    \n\n## 🌟 Key Features\n\n- **Highly Flexible**: Easily extend Lua with custom C functions and constants tailored to your project needs.\n- **Resource-Efficient**: Optimized Lua 5.4.7 implementation designed for ESP32's constrained environment.\n- **Arduino-Compatible**: Seamless integration with the Arduino framework for ESP32.\n- **Customizable**: Add only the functionalities you need, keeping your project lean and efficient.\n\n## 🚀 Quick Start\n\n```cpp\n#include \"EspLuaEngine.h\"\n\nEspLuaEngine* lua;\n\nvoid setup() {\n  Serial.begin(115200);\n  lua = new EspLuaEngine();\n  \n  // Register custom functions and constants\n  lua-\u003eregisterFunction(\"myCustomFunction\", l_myCustomFunction);\n  lua-\u003eregisterConstant(\"MY_CONSTANT\", 42);\n  \n  // Execute a Lua script\n  lua-\u003eexecuteScript(\"print('Hello from ' .. _VERSION)\");\n}\n\nvoid loop() {\n  // Your Arduino loop code here\n}\n```\n\n## 💡 Example Scripts\n\nEspLuaEngine comes with several example scripts demonstrating its capabilities:\n\n1. **HelloWorld**: A basic introduction to Lua scripting on ESP32.\n2. **GPIO**: Demonstrates GPIO control using Lua scripts.\n3. **Files**: Showcases file operations using the ESP32's file system.\n\nCheck out the `examples/` directory for the full scripts and more advanced use cases.\n\n## 🔧 Customization\n\nEspLuaEngine shines in its ability to adapt to your project's specific needs:\n\n- **Add Custom Functions**: Extend Lua with C functions tailored to your hardware or application.\n- **Define Project-Specific Constants**: Easily add constants that are relevant to your project.\n- **Select Modules**: Include only the Lua modules you need, optimizing for size and performance.\n\n## 📚 Documentation\n\nFor detailed API reference and customization guides, visit our [Wiki](https://github.com/luc-github/EspLuaEngine/wiki).\n\n## 🤝 Contributing\n\nWe welcome contributions! Whether it's adding new features, improving documentation, or reporting issues, your input is valuable.\n\n## 💖Supporters\n\n### 💎Become a sponsor or a supporter\n * A sponsor is a recurent donator    \n   As my sponsorship is not displayed by github your logo / avatar will be added to the readme page with eventually with a link to your site.    \n * A supporter is per time donator \n   To thank you for your support, your logo / avatar will be added to the readme page with eventually with a link to your site.  \n\n Every support is welcome, indeed helping users / developing new features need time and devices, donations contribute a lot to make things happen, thank you.\n\n* liberapay \u003ca href=\"https://liberapay.com/ESP3D/donate\"\u003e\u003cimg alt=\"Donate using Liberapay\" src=\"https://liberapay.com/assets/widgets/donate.svg\"\u003e\u003c/a\u003e \n* Paypal [\u003cimg src=\"https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG_global.gif\" border=\"0\" alt=\"PayPal – The safer, easier way to pay online.\"\u003e](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=FQL59C749A78L)\n* ko-fi [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/G2G0C0QT7)   \n\n## 📜 License\n\nThis project is licensed under the LGPL-3.0 License - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- Inspired by [ESP8266-Arduino-Lua](https://github.com/fdu/ESP8266-Arduino-Lua)\n- Built on the robust foundation of [Lua 5.4.7](https://www.lua.org/)\n\n---\n\nElevate your ESP32 projects with the flexibility of EspLuaEngine! 🚀✨\n","funding_links":["https://ko-fi.com/ESP3D","https://liberapay.com/ESP3D","https://www.paypal.com/donate/?hosted_button_id=FQL59C749A78L","https://liberapay.com/ESP3D/donate","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=FQL59C749A78L","https://ko-fi.com/G2G0C0QT7"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluc-github%2Fespluaengine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluc-github%2Fespluaengine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluc-github%2Fespluaengine/lists"}