{"id":13394531,"url":"https://github.com/leafo/lapis","last_synced_at":"2026-04-24T02:01:00.661Z","repository":{"id":4906594,"uuid":"6062770","full_name":"leafo/lapis","owner":"leafo","description":"A web framework for Lua and OpenResty written in MoonScript","archived":false,"fork":false,"pushed_at":"2026-04-24T00:02:54.000Z","size":3913,"stargazers_count":3310,"open_issues_count":174,"forks_count":244,"subscribers_count":103,"default_branch":"master","last_synced_at":"2026-04-24T01:21:32.600Z","etag":null,"topics":["lapis","lua","moonscript","openresty"],"latest_commit_sha":null,"homepage":"http://leafo.net/lapis/","language":"MoonScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"danwrong/ar-openid-store","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leafo.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"leafo"}},"created_at":"2012-10-03T16:13:02.000Z","updated_at":"2026-04-24T00:36:05.000Z","dependencies_parsed_at":"2023-07-09T09:46:57.688Z","dependency_job_id":"aa5e6130-b186-4043-9e28-e189b47ecbf0","html_url":"https://github.com/leafo/lapis","commit_stats":{"total_commits":2038,"total_committers":55,"mean_commits":"37.054545454545455","dds":0.07752698724239449,"last_synced_commit":"f31c79550cf6e145f8cfe9b112450cd9df406c58"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/leafo/lapis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Flapis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Flapis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Flapis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Flapis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leafo","download_url":"https://codeload.github.com/leafo/lapis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Flapis/sbom","scorecard":{"id":499784,"data":{"date":"2025-08-11","repo":{"name":"github.com/leafo/lapis","commit":"1daa39e851fa5429607ec3782842e1642f7155a8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Maintained","score":7,"reason":"9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/spec.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/spec.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/leafo/lapis/spec.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/spec.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/leafo/lapis/spec.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/spec.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/leafo/lapis/spec.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/spec.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/leafo/lapis/spec.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating ghcr.io/leafo/lapis-archlinux:2023-7-20 to ghcr.io/leafo/lapis-archlinux:2023-7-20@sha256:5b6b1bc61496b006d293dab9fb3da45b835a907440a1e3c85b805944b4f9a2e5","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T21:30:40.162Z","repository_id":4906594,"created_at":"2025-08-19T21:30:40.163Z","updated_at":"2025-08-19T21:30:40.163Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32205942,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T01:12:49.758Z","status":"online","status_checked_at":"2026-04-24T02:00:07.115Z","response_time":64,"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":["lapis","lua","moonscript","openresty"],"created_at":"2024-07-30T17:01:22.802Z","updated_at":"2026-04-24T02:01:00.642Z","avatar_url":"https://github.com/leafo.png","language":"MoonScript","funding_links":["https://github.com/sponsors/leafo"],"categories":["MoonScript","Lua Tools, Libraries, and Frameworks","Tools","Web Frameworks"],"sub_categories":["viii. Linear Regression","Mesh networks"],"readme":"# Lapis\n\nA web framework for Lua/[MoonScript][1] supporting [OpenResty](https://openresty.org/en/) or [http.server](https://github.com/daurnimator/lua-http)\n\n![spec](https://github.com/leafo/lapis/workflows/spec/badge.svg)\n\nLapis is production ready, use it on your next huge project.\n\nLearn more on the homepage: \u003chttp://leafo.net/lapis/\u003e\n\n* [Getting Started Tutorial](http://leafo.net/lapis/reference/getting_started.html)\n* [Documentation](http://leafo.net/lapis/reference.html)\n* [Changelog](http://leafo.net/lapis/changelog.html)\n\n## Join Our Community\n\nWe just created a Discord for Lapis users and those interested in it to communicate. You can join us here: \u003chttps://discord.gg/Y75ZXrD\u003e\n\n## Lapis Powered\n\n  * \u003chttps://luarocks.org\u003e - [source](https://github.com/leafo/moonrocks-site)\n  * \u003chttps://itch.io\u003e\n  * \u003chttps://streak.club\u003e - [source](https://github.com/leafo/streak.club)\n  * \u003chttps://sightreading.training\u003e - [source](https://github.com/leafo/sightreading.training)\n  * [Ludum Dare game browser](http://ludumdare.itch.io) - [source](https://github.com/leafo/ludum-dare-browser)\n  * \u003chttp://lapchan.moe/\u003e - [source](https://github.com/karai17/lapis-chan/)\n\nMade a website in Lapis? [Tell us](https://github.com/leafo/lapis/discussions/749)\n\n## Supplemental Libraries\n\n\n* [lapis-eswidget](https://github.com/leafo/lapis-eswidget) - A widget base class designed for organizing front-end code bundling\n* [lapis-annotate](https://github.com/leafo/lapis-annotate) - Autogenerate comments on models with their database schema\n* [lapis-console](https://github.com/leafo/lapis-console) - Interactive MoonScript console for Lapis that runs inside of your browser\n* [lapis-exceptions](https://github.com/leafo/lapis-exceptions) - Exception tracking and reporting\n* [lapis-bayes](https://github.com/leafo/lapis-bayes) - General purpose Bayes classification for Spam, Fraud, etc.\n\n\n## Running Tests\n\nIf you need to run tests outside of our CI. The test suites require\n[Busted][2] and [MoonScript][1]. There are three separate test suites:\n\n* `busted` -- test Lua implementations\n* `busted spec_postgres` -- integration tests with PostgreSQL. Requires a running PostgreSQL server\n* `busted spec_mysql` -- integration tests with MySQL. Requires a running MySQL server\n* `busted spec_openresty/` -- integration tests with OpenResty as a server. Requires installation of OpenResty \u0026 Databases\n* `busted spec_cqueues/` -- integration tests with [lua-http](https://github.com/daurnimator/lua-http) and cqueues as a server.\n\nTest suites that require databases need to have the initial database created. A `lapis_test` database is created on each.\nYou can run each command respectively.\n\n```bash\nmake test_db # postgres test db\nmake mysql_test_db\n```\n\n* **PostgreSQL**: Ensure the `postgres` user can be logged in with no password.\n* **MySQL**: Ensure the `root` user can be logged in with no password.\n\n### Using the Docker image\n\nThis repository contains a\n[Dockerfile](https://github.com/leafo/lapis/blob/master/Dockerfile) for running\nthe entire test suite. You can run it with the following commands:\n\n```bash\ndocker build -t lapis-test .\ndocker run lapis-test\n```\n\n`docker build` will pull in the files in the current directory, including any\nchanges. To test modified code, build again before running the test suite. It\nshould be a quick operation since dependency installation is cached.\n\n [1]: http://moonscript.org\n [2]: http://olivinelabs.com/busted/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Flapis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleafo%2Flapis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Flapis/lists"}