{"id":13571135,"url":"https://github.com/peabnuts123/pico8-emmylua-definitions","last_synced_at":"2026-01-21T17:08:17.146Z","repository":{"id":153050551,"uuid":"348852615","full_name":"peabnuts123/pico8-emmylua-definitions","owner":"peabnuts123","description":"EmmyLua intellisense definitions for PICO-8","archived":false,"fork":false,"pushed_at":"2021-03-23T04:01:39.000Z","size":18,"stargazers_count":32,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-02T14:08:38.854Z","etag":null,"topics":["autocomplete","emmylua","pico-8"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/peabnuts123.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}},"created_at":"2021-03-17T21:08:27.000Z","updated_at":"2024-06-05T04:58:03.000Z","dependencies_parsed_at":"2024-01-14T03:49:19.314Z","dependency_job_id":"ef6be31b-b5dd-4495-99f2-48ef2627474e","html_url":"https://github.com/peabnuts123/pico8-emmylua-definitions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peabnuts123/pico8-emmylua-definitions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peabnuts123%2Fpico8-emmylua-definitions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peabnuts123%2Fpico8-emmylua-definitions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peabnuts123%2Fpico8-emmylua-definitions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peabnuts123%2Fpico8-emmylua-definitions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peabnuts123","download_url":"https://codeload.github.com/peabnuts123/pico8-emmylua-definitions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peabnuts123%2Fpico8-emmylua-definitions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28636793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T15:01:31.228Z","status":"ssl_error","status_checked_at":"2026-01-21T14:42:58.942Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["autocomplete","emmylua","pico-8"],"created_at":"2024-08-01T14:00:59.023Z","updated_at":"2026-01-21T17:08:17.132Z","avatar_url":"https://github.com/peabnuts123.png","language":"Lua","funding_links":[],"categories":["Lua"],"sub_categories":[],"readme":"# PICO-8 EmmyLua autocomplete definitions\n\n[EmmyLua](https://emmylua.github.io/) definitions for the PICO-8 API, for autocomplete/intellisense support in code editors where integration with the [EmmyLua Language Server](https://github.com/EmmyLua/EmmyLua-LanguageServer) is supported ([IntelliJ ](https://github.com/EmmyLua/IntelliJ-EmmyLua), [VSCode](https://github.com/EmmyLua/VSCode-EmmyLua)).\n\n![Recording showing multiple examples of autocomplete in action](https://peabnuts123-public-files.s3.amazonaws.com/pico8-api-demo.gif)\n\n## Using\n\n### Prerequisites\n\nYou must have an integration with the EmmyLua Language Server set up in your editor. EmmyLua has first-class support for IntelliJ and VSCode, with other setups supported through some configuration. See the [section below](#visual-studio-code) for suggestions if you are using VSCode.\n\n### Installation\n\nSimply place the file `pico8.lua` somewhere in your workspace, I would recommend a folder called `_pico8` or `_api` or something. You may have to change some settings to reference these definitions as a library, but in my experience simply having them in your workspace is enough.\n\nOne approach that also makes it easy to update would be to simply clone this repo into your project's directory:\n\n```sh\ngit clone git@github.com:peabnuts123/pico8-emmylua-definitions.git _pico8\n```\n\nThat way you can run `git pull` if you need to update the definitions. You will have to copy the files manually if you intend to commit them to your project, however.\n\n## Visual Studio Code\n\nIf you are using VSCode, I would recommend [this extension](https://github.com/sumneko/lua-language-server), which integrates with the EmmyLua language server as well as providing many Lua code editing features such as Go To Definition, linting and more.\n\n## Contributing\n\nPlease let me know if there are any incorrect or missing definitions by opening an [issue](https://github.com/peabnuts123/pico8-emmylua-definitions/issues) or submitting a [pull request](https://github.com/peabnuts123/pico8-emmylua-definitionvs/pulls).\n\n## Future work\n\nSome future work I am considering:\n  - Automating the generation of these definitions from the [PICO-8 Fandom Wiki](https://pico-8.fandom.com/wiki/Pico-8_Wikia) (where most of these definitions came from)\n  - Changing the variable names and documentation to be more clear (i.e. author my own documentation)\n  - Creating a version for each version of PICO-8, managed through git tags","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeabnuts123%2Fpico8-emmylua-definitions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeabnuts123%2Fpico8-emmylua-definitions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeabnuts123%2Fpico8-emmylua-definitions/lists"}