{"id":16034935,"url":"https://github.com/denpamusic/lua-lcdproc","last_synced_at":"2025-08-03T21:34:19.027Z","repository":{"id":80728228,"uuid":"243499940","full_name":"denpamusic/lua-lcdproc","owner":"denpamusic","description":"LCDproc client for Lua","archived":false,"fork":false,"pushed_at":"2020-05-09T10:47:30.000Z","size":149,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T05:13:09.792Z","etag":null,"topics":["client","lcd-display","lcdproc","lcdproc-client","lua","lua-lcdproc","lua-library","luasocket"],"latest_commit_sha":null,"homepage":"https://lua-lcdproc.denpa.pro/","language":"Lua","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/denpamusic.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}},"created_at":"2020-02-27T11:10:09.000Z","updated_at":"2025-03-28T06:41:33.000Z","dependencies_parsed_at":"2023-06-29T21:15:52.443Z","dependency_job_id":null,"html_url":"https://github.com/denpamusic/lua-lcdproc","commit_stats":{"total_commits":38,"total_committers":2,"mean_commits":19.0,"dds":0.1578947368421053,"last_synced_commit":"636d2e08661e5edad655767f67b912ce4fc7cf9b"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/denpamusic/lua-lcdproc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denpamusic%2Flua-lcdproc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denpamusic%2Flua-lcdproc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denpamusic%2Flua-lcdproc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denpamusic%2Flua-lcdproc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denpamusic","download_url":"https://codeload.github.com/denpamusic/lua-lcdproc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denpamusic%2Flua-lcdproc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268617365,"owners_count":24279230,"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-08-03T02:00:12.545Z","response_time":2577,"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":["client","lcd-display","lcdproc","lcdproc-client","lua","lua-lcdproc","lua-library","luasocket"],"created_at":"2024-10-08T22:01:20.084Z","updated_at":"2025-08-03T21:34:18.944Z","avatar_url":"https://github.com/denpamusic.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lua-lcdproc - LCDproc client for Lua\n## About\nlua-lcdproc is a client for [LCDproc](https://github.com/lcdproc/lcdproc) server\nwritten in Lua language using LuaSocket.\n\n## Installation\nThis project is available on [luarocks](https://luarocks.org/modules/denpamusic/lua-lcdproc).\n```\n$ luarocks install lua-lcdproc\n```\n\n## OpenWrt\nYou can get OpenWRT package from [my feed](https://github.com/denpamusic/openwrt-feed):\n```\n$ wget -P /etc/opkg/keys/ http://openwrt.denpa.pro/keys/4b148d164b058d87\n$ echo src/gz denpamusic http://openwrt.denpa.pro/packages \u003e\u003e /etc/opkg/customfeeds.conf\n$ opkg update \u0026\u0026 opkg install lua-lcdproc\n```\n\n## Usage\n```lua\nlocal LCDproc = require \"lcdproc\"\n\n-- firstly create client instance\nlocal lcd = LCDproc(\"localhost\", 13666)\n\n-- then create some screens...\nlocal screen = lcd:add_screen(\"my_screen\")\n\n-- ...and add some widgets to it\nscreen:add_title(\"one\", \"Title Text\")\nscreen:add_string(\"two\", 1, 2, \"First Line Text\")\nscreen:add_string(\"three\", 1, 3, \"Second Line Text\")\nscreen:add_string(\"four\", 1, 4, \"Third Line Text\")\n\nlcd:on_listen(function (screen)\n  -- text will be updated once screen is visible\n  screen.widgets.two:set_text(\"First Line Now Has New Text\")\n  screen.widgets.three:set_text(\"Second Line Also Does\")\nend)\n\nlcd:on_ignore(function (screen)\n  -- do something on screen hide\nend)\n\nwhile true do\n  local line = lcd:poll()\nend\n\nlcd:close()\n```\n\n## Documentation\nFull documentation is available at [here](https://lua-lcdproc.denpa.pro).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenpamusic%2Flua-lcdproc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenpamusic%2Flua-lcdproc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenpamusic%2Flua-lcdproc/lists"}