{"id":21894321,"url":"https://github.com/thacuber2a03/playdate-luals","last_synced_at":"2025-04-15T15:40:20.710Z","repository":{"id":227089441,"uuid":"770426922","full_name":"thacuber2a03/playdate-luals","owner":"thacuber2a03","description":"A LuaLS addon for the Playdate API","archived":false,"fork":false,"pushed_at":"2024-06-27T20:54:59.000Z","size":2398,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T08:37:29.615Z","etag":null,"topics":["lua","luals","playdate","playdate-sdk"],"latest_commit_sha":null,"homepage":"","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/thacuber2a03.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":"2024-03-11T14:32:43.000Z","updated_at":"2024-06-27T20:55:02.000Z","dependencies_parsed_at":"2024-03-11T16:05:42.552Z","dependency_job_id":"5c841e66-76a4-4ba1-9499-8e254ca51b68","html_url":"https://github.com/thacuber2a03/playdate-luals","commit_stats":null,"previous_names":["thacuber2a03/playdate-luals"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thacuber2a03%2Fplaydate-luals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thacuber2a03%2Fplaydate-luals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thacuber2a03%2Fplaydate-luals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thacuber2a03%2Fplaydate-luals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thacuber2a03","download_url":"https://codeload.github.com/thacuber2a03/playdate-luals/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249100345,"owners_count":21212825,"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":["lua","luals","playdate","playdate-sdk"],"created_at":"2024-11-28T13:21:58.744Z","updated_at":"2025-04-15T15:40:20.691Z","avatar_url":"https://github.com/thacuber2a03.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playdate Lua API Definitions\n\nThis is an addon for LuaLS that helps with autocompletion for Playdate's Lua API.\n\n\u003e **Warning**:\n\u003e\n\u003e Currently, this addon is handwritten, so there might be errors in the implementation\n\u003e of certain features. Inside Playdate also doesn't explain some of its contents, such\n\u003e as the `class` function, which means that only approximations to the behavior of said\n\u003e elements are able to be supplied.\n\u003e\n\u003e The addon is still in development and there are no stable releases yet, so annotations\n\u003e and other things will change at any time. It's not totally good for use yet, so PRs\n\u003e would be appreciated.\n\n[showcase.webm](https://github.com/thacuber2a03/playdate-luals/assets/70547062/8125a249-492e-4a54-91a3-c22b88721109)\n\n## Installation\n\nCurrently this addon is not available in the Lua Addon Manager, so manual\ninstallation is required. To install manually, clone this repository under\nyour addons folder. Then add the location of the `library/` subfolder to\nyour workspace settings, inside the `Lua.workspace.library` field, and add\nall the settings in the [config.json](config.json) file:\n\n```json\n{\n    \"Lua.workspace.library\": [\n        \"/path/to/playdate\",\n    ],\n\n    \"Lua.runtime.special\": {\n        \"import\": \"require\"\n    },\n\n    \"Lua.completion.requireSeparator\": \"/\",\n\n    \"Lua.runtime.nonstandardSymbol\": [\n        \"+=\", \"-=\", \"*=\", \"/=\", \"//=\", \"%=\",\n        \"\u003c\u003c=\", \"\u003e\u003e=\", \"\u0026=\", \"|=\", \"^=\"\n    ],\n\n    \"Lua.runtime.version\": \"Lua 5.4\",\n\n    \"Lua.runtime.builtin\": {\n        \"io\": \"disable\",\n        \"os\": \"disable\",\n        \"package\": \"disable\"\n    },\n\n    \"Lua.workspace.library\": [\n        \"$PLAYDATE_SDK_PATH/CoreLibs\"\n    ],\n\n\t\"Lua.hover.expandAlias\": false\n}\n```\n\n## Currently implemented\n\n- Table extensions\n- Main callbacks\n- Some graphics objects and functions\n- Some global variables and `class`\n- Some display functions\n- Some timing objects and functions\n\n### Disclaimer\n\nThis addon is not affiliated with or endorsed by Panic. Playdate, sdk.play.date and the Playdate console are copyright of Panic.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthacuber2a03%2Fplaydate-luals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthacuber2a03%2Fplaydate-luals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthacuber2a03%2Fplaydate-luals/lists"}